diff options
author | Julius Werner <jwerner@chromium.org> | 2021-09-21 18:04:24 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-10-01 00:02:06 +0000 |
commit | e55d2e13e0761ba07ff4680d2d22f0df5f963770 (patch) | |
tree | 2b74645648f4da1d6eda8fca5dc69e1fccf6eef8 /src/arch | |
parent | b5e7bd2a58c0ae2c580eb53a3c154e40114f2db4 (diff) |
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>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm64/include/armv8/arch/cpu.h | 2 | ||||
-rw-r--r-- | src/arch/arm64/include/clocks.h | 24 |
2 files changed, 0 insertions, 26 deletions
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, -}; |