[U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB

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


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

Enable DSPI flash related configurations for LS2085ARDB.

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

diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index 600261e..8cd3bf7 100644
--- a/include/configs/ls2085ardb.h
+++ b/include/configs/ls2085ardb.h
@@ -245,6 +245,14 @@ unsigned long get_board_sys_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_BAR
+#endif
+
 /*
  * RTC configuration
  */
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list