armv8: ls1043a: disable IFC in SPL only when QSPI is used
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 15 Sep 2017 01:51:58 +0000 (09:51 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 22 Sep 2017 19:49:30 +0000 (12:49 -0700)
Current u-boot disables IFC support for SD boot on all ls1043a
boards. Actually IFC only conflicts with QSPI on ls1043a hardware.
Only when QSPI is used, IFC should be disabled. Otherwise,
the u-boot with ls1043aqds_sdcard_ifc_defconfig would not work.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1043a_common.h

index 002830c..1f9efff 100644 (file)
@@ -22,7 +22,7 @@
 #if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_NAND_BOOT))
 #define SPL_NO_MMC
 #endif
-#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SD_BOOT))
+#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SD_BOOT_QSPI))
 #define SPL_NO_IFC
 #endif