From: Nikita Kiryanov Date: Fri, 19 Feb 2016 17:19:43 +0000 (+0200) Subject: arm: am437x: cm-t43: support all available SPI flash chips X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=49a934401a572acb2cb5ec3a9d570a12e3a6ba87;p=project%2Fbcm63xx%2Fu-boot.git arm: am437x: cm-t43: support all available SPI flash chips Add full support for SPI flash chips to future-proof U-Boot for cm-t43. Cc: Tom Rini Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov Reviewed-by: Tom Rini --- diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig index 98e21cfa82..672117a33c 100644 --- a/configs/cm_t43_defconfig +++ b/configs/cm_t43_defconfig @@ -11,3 +11,14 @@ CONFIG_CMD_GPIO=y CONFIG_DM=y CONFIG_SYS_NS16550=y CONFIG_DM_SERIAL=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_BAR=y +CONFIG_SPI_FLASH_WINBOND=y +CONFIG_SPI_FLASH_SST=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_SPI_FLASH_SPANSION=y +CONFIG_SPI_FLASH_MACRONIX=y +CONFIG_SPI_FLASH_ISSI=y +CONFIG_SPI_FLASH_GIGADEVICE=y +CONFIG_SPI_FLASH_EON=y +CONFIG_SPI_FLASH_ATMEL=y diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h index 6abc085b98..3bc3336518 100644 --- a/include/configs/cm_t43.h +++ b/include/configs/cm_t43.h @@ -70,9 +70,7 @@ #define CONFIG_AM437X_USB2PHY2_HOST /* SPI Flash support */ -#define CONFIG_SPI_FLASH #define CONFIG_TI_SPI_MMAP -#define CONFIG_SPI_FLASH_BAR #define CONFIG_SF_DEFAULT_SPEED 48000000 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3