]> git.sur5r.net Git - u-boot/commitdiff
configs: imx: Use CONFIG_SF_DEFAULT_CS
authorFabio Estevam <festevam@gmail.com>
Thu, 22 Mar 2012 14:29:04 +0000 (14:29 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:17 +0000 (09:41 +0200)
CONFIG_SPI_FLASH_CS is not used anywhere.

Use CONFIG_SF_DEFAULT_CS instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
include/configs/efikamx.h
include/configs/m28evk.h
include/configs/vision2.h

index af542fadcec7b9cdb62ea9e14cce219fb74058a8..120055f1d757e9984701bd0a89a17107e87e00ba 100644 (file)
 
 #define CONFIG_SPI_FLASH
 #define CONFIG_SPI_FLASH_SST
-#define CONFIG_SPI_FLASH_CS            (1 | 121 << 8)
+#define CONFIG_SF_DEFAULT_CS           (1 | 121 << 8)
 #define CONFIG_SF_DEFAULT_MODE         (SPI_MODE_0)
 #define CONFIG_SF_DEFAULT_SPEED                25000000
 
index 4d59153706eafb45ff9d652f226b7ce093cbf229..4b97c7140d061dccb7668417447f6aa63235ac24 100644 (file)
 #ifdef CONFIG_CMD_SF
 #define        CONFIG_SPI_FLASH
 #define        CONFIG_SPI_FLASH_STMICRO
-#define        CONFIG_SPI_FLASH_CS             2
+#define        CONFIG_SF_DEFAULT_CS            2
 #define        CONFIG_SF_DEFAULT_MODE          SPI_MODE_0
 #define        CONFIG_SF_DEFAULT_SPEED         24000000
 
index 35b71f79e6320aaaa3588b0c9e57cb0422b8798b..f6904f3f6ab11e29f575896d38cdbcdfa654e331 100644 (file)
@@ -72,7 +72,7 @@
  * Use gpio 4 pin 25 as chip select for SPI flash
  * This corresponds to gpio 121
  */
-#define CONFIG_SPI_FLASH_CS    (1 | (121 << 8))
+#define CONFIG_SF_DEFAULT_CS   (1 | (121 << 8))
 #define CONFIG_SF_DEFAULT_MODE   SPI_MODE_0
 #define CONFIG_SF_DEFAULT_SPEED  25000000