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>
This commit is contained in:
parent
b5e7bd2a58
commit
e55d2e13e0
|
@ -5,8 +5,6 @@
|
|||
|
||||
#define asmlinkage
|
||||
|
||||
static inline unsigned int smp_processor_id(void) { return 0; }
|
||||
|
||||
struct cpu_driver { };
|
||||
|
||||
#endif /* __ARCH_CPU_H__ */
|
||||
|
|
|
@ -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,
|
||||
};
|
Loading…
Reference in New Issue