]> git.sur5r.net Git - u-boot/commitdiff
x86: Make x86_init_cpus() static
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:28 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:08:17 +0000 (12:08 +0800)
There are no other implementations of this function, and boards that need it
can implement a CPU driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/include/asm/u-boot-x86.h

index 381d83526fbf63612f0fa8d27197a8e8af2fed6a..3c812e97b4517b059ab21c1cd44bf91acd32e109 100644 (file)
@@ -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");
index dbf8e95c1b3457fe8feb04d6915d05b04119fdd7..9c143caf670b84653d14eda57bf70b936b965c35 100644 (file)
@@ -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_ */