summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@nxp.com>2016-06-08 18:24:55 +0800
committerYork Sun <york.sun@nxp.com>2016-06-10 13:44:59 -0700
commitb718d371571c0440c21ba0a4241a23b13959800b (patch)
tree44dd1773e1e1ca1217b4fa1b8486d584a429a91d
parent8c77ef85405dd319f0469d007630b548afb2d401 (diff)
configs: ls2080aqds: Enable QSPI flash support
Enable QSPI flash related configure options. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--include/configs/ls2080aqds.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 532a71590d..b15acf3900 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -289,8 +289,21 @@ unsigned long get_board_ddr_clk(void);
#define I2C_MUX_CH_DEFAULT 0x8
/* SPI */
-#ifdef CONFIG_FSL_DSPI
+#if defined(CONFIG_FSL_QSPI) || defined(CONFIG_FSL_DSPI)
#define CONFIG_SPI_FLASH
+
+#ifdef CONFIG_FSL_DSPI
+#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_EON
+#endif
+
+#ifdef CONFIG_FSL_QSPI
+#define CONFIG_SPI_FLASH_SPANSION
+#define FSL_QSPI_FLASH_SIZE (1 << 26) /* 64MB */
+#define FSL_QSPI_FLASH_NUM 4
+#endif
+
#endif
/*