summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-26 13:38:49 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:03:08 +0800
commit8c1bbc981820071a19ddde66633c35287952bfda (patch)
treed930832c801b87533e764d69a3fa46a583a7befd /include/configs
parent681e44167e6fa66170afb5bb4dfdca53d87592af (diff)
downloadu-boot-imx-8c1bbc981820071a19ddde66633c35287952bfda.zip
u-boot-imx-8c1bbc981820071a19ddde66633c35287952bfda.tar.gz
u-boot-imx-8c1bbc981820071a19ddde66633c35287952bfda.tar.bz2
MLK-10774-38 imx: fix ecspi code
This commit 155fa9af95ac5be857a7327e7a968a296e60d4c8 "spi: mxc: fix sf probe when using mxc_spi" introduces "board_spi_cs_gpio" function to discard gpio in CONFIG_SF_DEFAULT_CS for spi flash. Follow this rule to make imx boards work fine. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6qsabreauto.h2
-rw-r--r--include/configs/mx6sabresd.h2
-rw-r--r--include/configs/mx6sx_arm2.h2
-rw-r--r--include/configs/mx7d_12x12_lpddr3_arm2.h2
-rw-r--r--include/configs/mx7d_19x19_ddr3_arm2.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index b978821..e6445d7 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -76,7 +76,7 @@
#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
#ifdef CONFIG_SYS_USE_SPINOR
-#define CONFIG_SF_DEFAULT_CS (1|(IMX_GPIO_NR(3, 19)<<8))
+#define CONFIG_SF_DEFAULT_CS 1
#endif
/* I2C Configs */
#define CONFIG_CMD_I2C
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index d44a9cb..a37873e 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -40,7 +40,7 @@
#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
#ifdef CONFIG_SYS_USE_SPINOR
-#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 9)<<8))
+#define CONFIG_SF_DEFAULT_CS 0
#endif
/*
diff --git a/include/configs/mx6sx_arm2.h b/include/configs/mx6sx_arm2.h
index 5aa34ae..defa733 100644
--- a/include/configs/mx6sx_arm2.h
+++ b/include/configs/mx6sx_arm2.h
@@ -340,7 +340,7 @@
#define CONFIG_SF_DEFAULT_BUS 3
#define CONFIG_SF_DEFAULT_SPEED 20000000
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
-#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(6, 10)<<8))
+#define CONFIG_SF_DEFAULT_CS 0
#endif
#ifdef CONFIG_SYS_USE_EIMNOR
diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h
index c6cd1c1..f0fa30d 100644
--- a/include/configs/mx7d_12x12_lpddr3_arm2.h
+++ b/include/configs/mx7d_12x12_lpddr3_arm2.h
@@ -59,7 +59,7 @@
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_SPEED 20000000
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
-#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 19)<<8))
+#define CONFIG_SF_DEFAULT_CS 0
#endif
#define CONFIG_VIDEO
diff --git a/include/configs/mx7d_19x19_ddr3_arm2.h b/include/configs/mx7d_19x19_ddr3_arm2.h
index c096df6..dddc248 100644
--- a/include/configs/mx7d_19x19_ddr3_arm2.h
+++ b/include/configs/mx7d_19x19_ddr3_arm2.h
@@ -68,7 +68,7 @@
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_SPEED 20000000
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
-#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 19)<<8))
+#define CONFIG_SF_DEFAULT_CS 0
#endif
#define CONFIG_VIDEO