Julius Werner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/57819 )
Change subject: arch/arm64: Remove unnecessary interfaces ......................................................................
arch/arm64: Remove unnecessary interfaces
<clocks.h> and smp_processor_id() aren't used anywhere anymore. Get rid of them.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: I1a8c892b066e6ac0e7cec5316633d44165344e78 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57819 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Furquan Shaikh furquan@google.com --- M src/arch/arm64/include/armv8/arch/cpu.h D src/arch/arm64/include/clocks.h 2 files changed, 0 insertions(+), 26 deletions(-)
Approvals: build bot (Jenkins): Verified Furquan Shaikh: Looks good to me, approved
diff --git a/src/arch/arm64/include/armv8/arch/cpu.h b/src/arch/arm64/include/armv8/arch/cpu.h index 919456b..15b2065 100644 --- a/src/arch/arm64/include/armv8/arch/cpu.h +++ b/src/arch/arm64/include/armv8/arch/cpu.h @@ -5,8 +5,6 @@
#define asmlinkage
-static inline unsigned int smp_processor_id(void) { return 0; } - struct cpu_driver { };
#endif /* __ARCH_CPU_H__ */ diff --git a/src/arch/arm64/include/clocks.h b/src/arch/arm64/include/clocks.h deleted file mode 100644 index dc3080c..0000000 --- a/src/arch/arm64/include/clocks.h +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -/* Standard clock speeds */ - -/* - * We define some commonly-used clock speeds to avoid error since long - * numbers are hard to read. - * - * The format of the label is - * CLK_x_yU where: - * x is the integer speed - * y is the fractional part which can be omitted if 0 - * U is the units (blank for Hz, K or M for KHz and MHz) - * - * Please order the items by increasing Hz - */ -enum { - CLK_32768 = 32768, - CLK_20M = 20000000, - CLK_24M = 24000000, - CLK_144M = 144000000, - CLK_216M = 216000000, - CLK_300M = 300000000, -};