aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-06-12 08:36:25 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-06-17 21:16:04 +0800
commit0102023966558075e52758bd22ffd8f96b093a7e (patch)
treee9227bf8c6580de02efcb710291e42a33a7bde6b /arch
parent3ebd892fda2d07f153a14cb30e60ae707e9e4208 (diff)
downloadu-boot-0102023966558075e52758bd22ffd8f96b093a7e.zip
u-boot-0102023966558075e52758bd22ffd8f96b093a7e.tar.gz
u-boot-0102023966558075e52758bd22ffd8f96b093a7e.tar.bz2
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>
Diffstat (limited to 'arch')
-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 cda4fab..ba7c02b 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)