[U-Boot] [PATCH 03/10] arm: am437x: cm-t43: support all available SPI flash chips

Nikita Kiryanov nikita at compulab.co.il
Fri Feb 19 18:19:43 CET 2016


Add full support for SPI flash chips to future-proof U-Boot for cm-t43.

Cc: Tom Rini <trini at konsulko.com>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Cc: Igor Grinberg <grinberg at compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
---
 configs/cm_t43_defconfig | 11 +++++++++++
 include/configs/cm_t43.h |  2 --
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig
index 98e21cf..672117a 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 6abc085..3bc3336 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
 
-- 
1.9.1



More information about the U-Boot mailing list