]> git.sur5r.net Git - u-boot/commitdiff
x86: efi: app: Display correct CPU info during boot
authorBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jun 2018 15:36:25 +0000 (08:36 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 17 Jun 2018 13:16:04 +0000 (21:16 +0800)
Currently when EFI application boots, it says:

  CPU: x86_64, vendor <invalid cpu vendor>, device 0h

Fix this by calling x86_cpu_init_f() in arch_cpu_init().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/efi/app.c

index cda4fabe15a11bc124d0b3fd9967460491d2a4a5..ba7c02bd7e874c23cb89691840f6ea17ec6c08bd 100644 (file)
@@ -9,7 +9,7 @@
 
 int arch_cpu_init(void)
 {
-       return 0;
+       return x86_cpu_init_f();
 }
 
 int checkcpu(void)