From: Haikun Wang Date: Fri, 3 Jul 2015 08:51:35 +0000 (+0800) Subject: armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB X-Git-Tag: v2015.10-rc1~183^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c42a8de85f15e2f212d2f281406f8a3e68a29e2;p=oweals%2Fu-boot.git armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB Enable DSPI flash related configurations for LS2085ARDB. Signed-off-by: Haikun Wang Reviewed-by: York Sun --- 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 */