Browse Source

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>
tags/2020-06-01
Bin Meng 2 years ago
parent
commit
0102023966
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      arch/x86/cpu/efi/app.c

+ 1
- 1
arch/x86/cpu/efi/app.c View File

@@ -9,7 +9,7 @@

int arch_cpu_init(void)
{
return 0;
return x86_cpu_init_f();
}

int checkcpu(void)


Loading…
Cancel
Save