mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 08:31:28 +00:00
x86: apl: Check low-level init in FSP-S pre-init
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>
This commit is contained in:
parent
a30898f2a1
commit
96bf9be89e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue