x86: apl: Skip init code when chain loading
[oweals/u-boot.git] / arch / x86 / cpu / apollolake / fsp_s.c
index 17cf1682ad03d089f3867da0bb01b984f956ad53..7ef169b147f97970518d108a260b9c988c96ca44 100644 (file)
@@ -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.