projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a30898f
)
x86: apl: Check low-level init in FSP-S pre-init
author
Simon Glass
<sjg@chromium.org>
Tue, 22 Sep 2020 18:45:36 +0000
(12:45 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:24 +0000
(11:27 +0800)
If U-Boot is not running FSP-S it should not do the pre-init either. Add a
condition to handle this.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/apollolake/fsp_s.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/apollolake/fsp_s.c
b/arch/x86/cpu/apollolake/fsp_s.c
index
e54b0ac
..
715ceab
100644
(file)
--- a/
arch/x86/cpu/apollolake/fsp_s.c
+++ b/
arch/x86/cpu/apollolake/fsp_s.c
@@
-157,6
+157,8
@@
int arch_fsps_preinit(void)
struct udevice *itss;
int ret;
+ if (!ll_boot_init())
+ return 0;
ret = irq_first_device_type(X86_IRQT_ITSS, &itss);
if (ret)
return log_msg_ret("no itss", ret);