projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f8efe
)
x86: baytrail: Support running as an EFI payload
author
Simon Glass
<sjg@chromium.org>
Mon, 10 Aug 2015 13:05:12 +0000
(07:05 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 14 Aug 2015 09:24:21 +0000
(
03:24
-0600)
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>
arch/x86/cpu/baytrail/valleyview.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/baytrail/valleyview.c
b/arch/x86/cpu/baytrail/valleyview.c
index 2d5a0eb35e1f0d4deb5c0d70d546ffad9b4f583f..6c3dfe894f171da584c9efd4b1c092335346538c 100644
(file)
--- 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;