summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/baytrail
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-10 07:05:12 -0600
committerSimon Glass <sjg@chromium.org>2015-08-14 03:24:21 -0600
commitc8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9 (patch)
tree370a526f45bef3a43d527b280ecf0f9a75fbd085 /arch/x86/cpu/baytrail
parent46f8efee70313a4f8fb3831dadbc0530fcbfa9b6 (diff)
downloadu-boot-imx-c8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9.zip
u-boot-imx-c8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9.tar.gz
u-boot-imx-c8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9.tar.bz2
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/baytrail')
-rw-r--r--arch/x86/cpu/baytrail/valleyview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/baytrail/valleyview.c b/arch/x86/cpu/baytrail/valleyview.c
index 2d5a0eb..6c3dfe8 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;