summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1043a_common.h
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-01-25 15:16:07 +0800
committerYork Sun <york.sun@nxp.com>2016-01-27 08:29:09 -0800
commitb0f20caf6570fbc4d19c41dcedf9679784042860 (patch)
tree4755649268207fd9736abb7f1f2cc519e20a9b45 /include/configs/ls1043a_common.h
parent166ef1e90ce404a6470a1c4910a1e84404379b86 (diff)
downloadtalos-obmc-uboot-b0f20caf6570fbc4d19c41dcedf9679784042860.tar.gz
talos-obmc-uboot-b0f20caf6570fbc4d19c41dcedf9679784042860.zip
armv8/ls1043aqds: add QSPI boot support
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1043a_common.h')
-rw-r--r--include/configs/ls1043a_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 8900daee95..6150bc1a74 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -121,7 +121,7 @@
#endif
/* IFC */
-#ifndef CONFIG_SD_BOOT_QSPI
+#if !defined(CONFIG_QSPI_BOOT) && !defined(CONFIG_SD_BOOT_QSPI)
#define CONFIG_FSL_IFC
/*
* CONFIG_SYS_FLASH_BASE has the final address (core view)
@@ -207,7 +207,7 @@
#define CONFIG_SPI_FLASH_STMICRO /* cs0 */
#define CONFIG_SPI_FLASH_SST /* cs1 */
#define CONFIG_SPI_FLASH_EON /* cs2 */
-#ifndef CONFIG_SD_BOOT_QSPI
+#if !defined(CONFIG_QSPI_BOOT) && !defined(CONFIG_SD_BOOT_QSPI)
#define CONFIG_SF_DEFAULT_BUS 1
#define CONFIG_SF_DEFAULT_CS 0
#endif
@@ -220,7 +220,7 @@
#ifdef CONFIG_SYS_DPAA_FMAN
#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
-#ifdef CONFIG_SD_BOOT_QSPI
+#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
#define CONFIG_SYS_QE_FW_IN_SPIFLASH
#define CONFIG_SYS_FMAN_FW_ADDR 0x400d0000
#define CONFIG_ENV_SPI_BUS 0
OpenPOWER on IntegriCloud