mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 20:24:27 +01:00
x86: qemu: Hide arch_cpu_init() and print_cpuinfo() for U-Boot proper
arch_cpu_init() and print_cpuinfo() should be only available in SPL build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d8f25c2a5a
commit
e760feb19f
1 changed files with 4 additions and 1 deletions
|
|
@ -137,14 +137,17 @@ static void qemu_chipset_init(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if !CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT)
|
||||
int arch_cpu_init(void)
|
||||
{
|
||||
post_code(POST_CPU_INIT);
|
||||
|
||||
return x86_cpu_init_f();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_EFI_STUB
|
||||
#if !CONFIG_IS_ENABLED(EFI_STUB) && \
|
||||
!CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT)
|
||||
int print_cpuinfo(void)
|
||||
{
|
||||
post_code(POST_CPU_INFO);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue