Message ID | 1528817785-20208-14-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Accepted |
Delegated to: | Bin Meng |
Headers | show |
Series | x86: efi: Fixes and enhancements to application and payload support | expand |
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng <bmeng.cn@gmail.com> wrote: > 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> > > --- > > Changes in v2: > - drop patches that were already applied to u-boot-x86 > > arch/x86/cpu/efi/app.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > applied to u-boot-x86, thanks!
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)