From 0c42a8de85f15e2f212d2f281406f8a3e68a29e2 Mon Sep 17 00:00:00 2001 From: Haikun Wang Date: Fri, 3 Jul 2015 16:51:35 +0800 Subject: armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB Enable DSPI flash related configurations for LS2085ARDB. Signed-off-by: Haikun Wang Reviewed-by: York Sun --- include/configs/ls2085ardb.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h index 24d5880d34..41eb55b4bf 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 */ -- cgit