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 13:46:23 +0800
commit6fe7a97c7acca38fe67af5bd934d13488fc99182 (patch)
treeeabc78aea0a040799d99a856252aaa166dc4e0e2
parent84f81337ff012ba40b8fb69746745673d7f8b4ff (diff)
downloadu-boot-imx-6fe7a97c7acca38fe67af5bd934d13488fc99182.zip
u-boot-imx-6fe7a97c7acca38fe67af5bd934d13488fc99182.tar.gz
u-boot-imx-6fe7a97c7acca38fe67af5bd934d13488fc99182.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> (cherry picked from commit d6ac8b7c03d66bc9b978d5d8a35410abda35e646)
-rw-r--r--include/configs/mx6sx_arm2.h1
-rw-r--r--include/configs/mx6sxsabresd.h1
2 files changed, 2 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/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 97c5a5b..e5cc515 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