From e55d2e13e0761ba07ff4680d2d22f0df5f963770 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 21 Sep 2021 18:04:24 -0700 Subject: arch/arm64: Remove unnecessary interfaces and smp_processor_id() aren't used anywhere anymore. Get rid of them. Signed-off-by: Julius Werner Change-Id: I1a8c892b066e6ac0e7cec5316633d44165344e78 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57819 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/arch/arm64/include/armv8/arch/cpu.h | 2 -- src/arch/arm64/include/clocks.h | 24 ------------------------ 2 files changed, 26 deletions(-) delete mode 100644 src/arch/arm64/include/clocks.h (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/include/armv8/arch/cpu.h b/src/arch/arm64/include/armv8/arch/cpu.h index 919456b530..15b2065443 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 dc3080cc9a..0000000000 --- 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, -}; -- cgit v1.2.3