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>
This commit is contained in:
Bin Meng 2018-06-12 08:36:25 -07:00
parent 3ebd892fda
commit 0102023966

View File

@ -9,7 +9,7 @@
int arch_cpu_init(void)
{
return 0;
return x86_cpu_init_f();
}
int checkcpu(void)