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)
commit0102023966558075e52758bd22ffd8f96b093a7e
treee9227bf8c6580de02efcb710291e42a33a7bde6b
parent3ebd892fda2d07f153a14cb30e60ae707e9e4208
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>
arch/x86/cpu/efi/app.c