summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-16 11:25:35 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:24:33 +0800
commit41895cd598be6c4a64fc4fec521120e4962abc28 (patch)
tree53232007f8de5e6cffe40188774c7305c231b7dc /include
parenta4d958d120d29f6f79e9023715a42bac582f4c76 (diff)
downloadu-boot-imx-41895cd598be6c4a64fc4fec521120e4962abc28.zip
u-boot-imx-41895cd598be6c4a64fc4fec521120e4962abc28.tar.gz
u-boot-imx-41895cd598be6c4a64fc4fec521120e4962abc28.tar.bz2
MLK-14445-2 mx7ulp_evk: Add QSPI flash support
Porting the QSPI flash board support from v2016.03, and convert to use DM QSPI driver. Since we need to support QSPI at default in u-boot, change the default DTS file to qspi enabled DTS. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx7ulp_evk.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index cc3f0bb..d3cb257 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -195,6 +195,19 @@
#define CONFIG_CMD_CACHE
#endif
+/* QSPI configs */
+#ifdef CONFIG_FSL_QSPI
+#define CONFIG_SYS_FSL_QSPI_AHB
+#define CONFIG_SF_DEFAULT_BUS 0
+#define CONFIG_SF_DEFAULT_CS 0
+#define CONFIG_SF_DEFAULT_SPEED 40000000
+#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
+#define FSL_QSPI_FLASH_NUM 1
+#define FSL_QSPI_FLASH_SIZE SZ_8M
+#define QSPI0_BASE_ADDR 0x410A5000
+#define QSPI0_AMBA_BASE 0xC0000000
+#endif
+
#define CONFIG_OF_SYSTEM_SETUP
#endif /* __CONFIG_H */