mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
x86: apl: Skip init code when chain loading
When U-Boot is not the first-stage bootloader the FSP-S init must be skipped. Update it to add a check. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
c793dbdb90
commit
52b9beb527
1 changed files with 2 additions and 0 deletions
|
@ -566,6 +566,8 @@ int arch_fsp_init_r(void)
|
|||
struct udevice *dev, *itss;
|
||||
int ret;
|
||||
|
||||
if (!ll_boot_init())
|
||||
return 0;
|
||||
/*
|
||||
* This must be called before any devices are probed. Put any probing
|
||||
* into arch_fsps_preinit() above.
|
||||
|
|
Loading…
Reference in a new issue