aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng2018-06-12 08:36:25 -0700
committerBin Meng2018-06-17 21:16:04 +0800
commit0102023966558075e52758bd22ffd8f96b093a7e (patch)
treee9227bf8c6580de02efcb710291e42a33a7bde6b
parent3ebd892fda2d07f153a14cb30e60ae707e9e4208 (diff)
x86: efi: app: Display correct CPU info during boot
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>
-rw-r--r--arch/x86/cpu/efi/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/efi/app.c b/arch/x86/cpu/efi/app.c
index cda4fabe15a..ba7c02bd7e8 100644
--- a/arch/x86/cpu/efi/app.c
+++ b/arch/x86/cpu/efi/app.c
@@ -9,7 +9,7 @@
int arch_cpu_init(void)
{
- return 0;
+ return x86_cpu_init_f();
}
int checkcpu(void)