]> git.sur5r.net Git - u-boot/commitdiff
armv8/ls2085aqds: Enable DSPI flash support for LS2085AQDS
authorHaikun Wang <Haikun.Wang@freescale.com>
Fri, 3 Jul 2015 08:51:34 +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.

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

index 5a421641965b8cb9ac191579e5def6eaa0005f56..a6ef356ad888a9c07c6ba3291738e4775736528f 100644 (file)
@@ -272,6 +272,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
  */