summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-10-09 10:54:51 +0800
committerPeng Fan <Peng.Fan@freescale.com>2014-10-09 11:02:45 +0800
commitd6ac8b7c03d66bc9b978d5d8a35410abda35e646 (patch)
tree67c34b520701b5771e46cc95f484228fa0a3cf08
parent2100a53919eec7f9a76bc67204cd89e20afa2924 (diff)
downloadu-boot-imx-d6ac8b7c03d66bc9b978d5d8a35410abda35e646.zip
u-boot-imx-d6ac8b7c03d66bc9b978d5d8a35410abda35e646.tar.gz
u-boot-imx-d6ac8b7c03d66bc9b978d5d8a35410abda35e646.tar.bz2
MLK-9665-2 mx6sx: define CONFIG_SPI_FLASH_BAR
define CONFIG_SPI_FLASH_BAR in mx6sx_arm2.h mx6sxsabreauto.h to enable access to flash array higher than 16MB. CONFIG_SPI_FLASH_BAR is also set in mx6sxsabresd.h for RevB board. Actually, if QSPI flash size <= 16MB, setting CONFIG_SPI_FLASH_BAR has not effect. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r--include/configs/mx6sx_arm2.h1
-rw-r--r--include/configs/mx6sxsabreauto.h1
-rw-r--r--include/configs/mx6sxsabresd.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6sx_arm2.h b/include/configs/mx6sx_arm2.h
index fe0f15d..014f65b 100644
--- a/include/configs/mx6sx_arm2.h
+++ b/include/configs/mx6sx_arm2.h
@@ -327,6 +327,7 @@
#define CONFIG_CMD_SF
#define CONFIG_SPI_FLASH
#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#define CONFIG_SF_DEFAULT_SPEED 40000000
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index 6e00799..d4f1fc2 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -305,6 +305,7 @@
#define CONFIG_CMD_SF
#define CONFIG_SPI_FLASH
#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#define CONFIG_SF_DEFAULT_SPEED 40000000
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 96a81c0..0414c25 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -308,6 +308,7 @@
#define CONFIG_CMD_SF
#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SPI_FLASH_SPANSION
#define CONFIG_SPI_FLASH_STMICRO
#define CONFIG_SF_DEFAULT_BUS 0