diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2014-10-22 11:29:51 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-23 10:02:16 +0200 |
commit | 2e3a1f4d1d38eeb641b7f2e40b234372c45a44b5 (patch) | |
tree | 6675575e5f08aa39e9d638cf636f6762274e2650 /include/configs | |
parent | 04451ba347385ee598e485c3406712819a847459 (diff) | |
download | u-boot-imx-2e3a1f4d1d38eeb641b7f2e40b234372c45a44b5.zip u-boot-imx-2e3a1f4d1d38eeb641b7f2e40b234372c45a44b5.tar.gz u-boot-imx-2e3a1f4d1d38eeb641b7f2e40b234372c45a44b5.tar.bz2 |
ot1200: fix sf detection
Commit 155fa9af95ac5be857a7327e7a968a296e60d4c8 changed the way
to define a GPIO line, which can be used to force CS high
across multiple transactions. In order to fix sf detection
change board code to make use of board_spi_cs_gpio(..).
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ot1200.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index 071880f..d7696bd 100644 --- a/include/configs/ot1200.h +++ b/include/configs/ot1200.h @@ -47,7 +47,7 @@ #define CONFIG_SPI_FLASH_SST #define CONFIG_MXC_SPI #define CONFIG_SF_DEFAULT_BUS 2 -#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(1, 3)<<8)) +#define CONFIG_SF_DEFAULT_CS 0 #define CONFIG_SF_DEFAULT_SPEED 25000000 #define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0) |