aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaikun Wang2015-07-03 16:51:35 +0800
committerYork Sun2015-07-20 11:44:39 -0700
commit0c42a8de85f15e2f212d2f281406f8a3e68a29e2 (patch)
treec2cc7ee19843590b0e2b05dfebb30956cbd7ff39
parentb7774b05222961c88598661c19d92c70d52d6949 (diff)
armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB
Enable DSPI flash related configurations for LS2085ARDB. Signed-off-by: Haikun Wang <haikun.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--include/configs/ls2085ardb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index 24d5880d34e..41eb55b4bfd 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
*/