summaryrefslogtreecommitdiff
path: root/include/configs/mx6sx_arm2.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-26 13:38:49 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:18 +0100
commitd103b0591a033398e84a970e878897b8450b5a18 (patch)
treee52439e93f900b55cad0571a3867dcd687211cd9 /include/configs/mx6sx_arm2.h
parenta91afa0072ee96308b1b18eacb4f616c14585039 (diff)
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/mx6sx_arm2.h')
-rw-r--r--include/configs/mx6sx_arm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6sx_arm2.h b/include/configs/mx6sx_arm2.h
index 5aa34ae016..defa733fda 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