[U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS

Haikun Wang haikun.wang at freescale.com
Fri Jul 3 10:51:34 CEST 2015


From: Haikun Wang <Haikun.Wang at freescale.com>

Enable DSPI flash related configurations.

Signed-off-by: Haikun Wang <haikun.wang at freescale.com>
---
 include/configs/ls2085aqds.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h
index e488ac8..bf5ea51 100644
--- a/include/configs/ls2085aqds.h
+++ b/include/configs/ls2085aqds.h
@@ -273,6 +273,15 @@ unsigned long get_board_ddr_clk(void);
 /* I2C bus multiplexer */
 #define I2C_MUX_CH_DEFAULT      0x8
 
+/* SPI */
+#ifdef CONFIG_FSL_DSPI
+#define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_EON
+#endif
+
 /*
  * MMC
  */
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list