diff options
author | Markus Niebel <Markus.Niebel@tq-group.com> | 2014-10-23 15:47:05 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-30 10:43:12 +0100 |
commit | 1719d49c347f2faee387aacbf643d171461820a9 (patch) | |
tree | 66d79e079f92cc7b10cdb0019ea37907b513e0e0 /include/configs/tqma6.h | |
parent | ca9d817ab54077d5b8a814a7af9c8342a0641051 (diff) | |
download | u-boot-imx-1719d49c347f2faee387aacbf643d171461820a9.zip u-boot-imx-1719d49c347f2faee387aacbf643d171461820a9.tar.gz u-boot-imx-1719d49c347f2faee387aacbf643d171461820a9.tar.bz2 |
tqma6: 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: Markus Niebel <Markus.Niebel@tq-group.com>
Diffstat (limited to 'include/configs/tqma6.h')
-rw-r--r-- | include/configs/tqma6.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 2705d2c..9ba0155 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -9,13 +9,26 @@ #ifndef __CONFIG_H #define __CONFIG_H +#define CONFIG_MX6 + +/* SPL */ +/* #if defined(CONFIG_SPL_BUILD) */ + +#define CONFIG_SPL_MMC_SUPPORT +#define CONFIG_SPL_SPI_SUPPORT +#define CONFIG_SPL_FAT_SUPPORT +#define CONFIG_SPL_EXT_SUPPORT + +/* common IMX6 SPL configuration */ +#include "imx6_spl.h" + +/* #endif */ + #include "mx6_common.h" #include <asm/arch/imx-regs.h> #include <asm/imx-common/gpio.h> #include <linux/sizes.h> -#define CONFIG_MX6 - #if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S) #define PHYS_SDRAM_SIZE (512u * SZ_1M) #elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D) @@ -57,7 +70,7 @@ #define CONFIG_CMD_SF #define CONFIG_SF_DEFAULT_BUS 0 -#define CONFIG_SF_DEFAULT_CS (0 | (IMX_GPIO_NR(3, 19) << 8)) +#define CONFIG_SF_DEFAULT_CS 0 #define CONFIG_SF_DEFAULT_SPEED 50000000 #define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0) |