From 8c1bbc981820071a19ddde66633c35287952bfda Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 26 Mar 2015 13:38:49 +0800 Subject: 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 --- include/configs/mx6sx_arm2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/mx6sx_arm2.h') 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 -- cgit v1.1