summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-03-22 14:29:04 +0000
committerStefano Babic <sbabic@denx.de>2012-03-27 09:41:17 +0200
commit94f0003f654fb490ee4be2e2aef1811835f1fb8d (patch)
treec322cefaba75e31021056b34f4d9ade176b68145 /include
parent1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c (diff)
downloadu-boot-imx-94f0003f654fb490ee4be2e2aef1811835f1fb8d.zip
u-boot-imx-94f0003f654fb490ee4be2e2aef1811835f1fb8d.tar.gz
u-boot-imx-94f0003f654fb490ee4be2e2aef1811835f1fb8d.tar.bz2
configs: imx: Use CONFIG_SF_DEFAULT_CS
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/efikamx.h2
-rw-r--r--include/configs/m28evk.h2
-rw-r--r--include/configs/vision2.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h
index af542fa..120055f 100644
--- a/include/configs/efikamx.h
+++ b/include/configs/efikamx.h
@@ -113,7 +113,7 @@
#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
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 4d59153..4b97c71 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -252,7 +252,7 @@
#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
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 35b71f7..f6904f3 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -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