]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: am437x: cm-t43: support all available SPI flash chips
authorNikita Kiryanov <nikita@compulab.co.il>
Fri, 19 Feb 2016 17:19:43 +0000 (19:19 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2016 23:44:05 +0000 (18:44 -0500)
Add full support for SPI flash chips to future-proof U-Boot for cm-t43.

Cc: Tom Rini <trini@konsulko.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/cm_t43_defconfig
include/configs/cm_t43.h

index 98e21cfa820f9db003e93a3e2009381de31ae8f0..672117a33cda08a7d0508254aafce48b196f11ed 100644 (file)
@@ -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
index 6abc085b982d559e3e6d62f6ba001b0c523bb78a..3bc3336518ae7b3a93e991c0caa6012d02ded6fa 100644 (file)
@@ -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