From: Simon Glass Date: Mon, 10 Aug 2015 13:05:12 +0000 (-0600) Subject: x86: baytrail: Support running as an EFI payload X-Git-Tag: v2015.10-rc2~10^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9;p=u-boot x86: baytrail: Support running as an EFI payload We should not fiddle with interrupts or the FSP when running as an EFI payload. Detect this and skip this code. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/cpu/baytrail/valleyview.c b/arch/x86/cpu/baytrail/valleyview.c index 2d5a0eb35e..6c3dfe894f 100644 --- a/arch/x86/cpu/baytrail/valleyview.c +++ b/arch/x86/cpu/baytrail/valleyview.c @@ -43,6 +43,8 @@ int arch_misc_init(void) { int ret; + if (!ll_boot_init()) + return 0; ret = pirq_init(); if (ret) return ret;