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>
lime2-spi
Bin Meng 7 years ago
parent 3ebd892fda
commit 0102023966
  1. 2
      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)

Loading…
Cancel
Save