From: Simon Glass Date: Sun, 17 Jan 2016 23:11:28 +0000 (-0700) Subject: x86: Make x86_init_cpus() static X-Git-Tag: v2016.03-rc1~110 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=afd5d50c127da6457ce75b534717b954e07f606c;p=oweals%2Fu-boot.git x86: Make x86_init_cpus() static There are no other implementations of this function, and boards that need it can implement a CPU driver. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 381d83526f..3c812e97b4 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -688,7 +688,7 @@ static int x86_mp_init(void) } #endif -__weak int x86_init_cpus(void) +static int x86_init_cpus(void) { #ifdef CONFIG_SMP debug("Init additional CPUs\n"); diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h index dbf8e95c1b..9c143caf67 100644 --- a/arch/x86/include/asm/u-boot-x86.h +++ b/arch/x86/include/asm/u-boot-x86.h @@ -77,8 +77,6 @@ uint64_t timer_get_tsc(void); void quick_ram_check(void); -int x86_init_cpus(void); - #define PCI_VGA_RAM_IMAGE_START 0xc0000 #endif /* _U_BOOT_I386_H_ */