]> git.sur5r.net Git - u-boot/commitdiff
armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB
authorHaikun Wang <Haikun.Wang@freescale.com>
Fri, 3 Jul 2015 08:51:35 +0000 (16:51 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:39 +0000 (11:44 -0700)
Enable DSPI flash related configurations for LS2085ARDB.

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls2085ardb.h

index 24d5880d34e28745d0207d22223d8a8ba4962cc5..41eb55b4bfd136762fcfe84f6199803df7c9d20c 100644 (file)
@@ -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
  */