summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-10 14:27:36 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:02:00 +0800
commite790e3fce568d233458ed73b03ebba484229ccf2 (patch)
treee0f2aaa3830c2ddf6a9e5bfc247e9f3f07bac710
parent6af24d6b2166b1e43c5339e21f14c22309743dec (diff)
downloadu-boot-imx-e790e3fce568d233458ed73b03ebba484229ccf2.zip
u-boot-imx-e790e3fce568d233458ed73b03ebba484229ccf2.tar.gz
u-boot-imx-e790e3fce568d233458ed73b03ebba484229ccf2.tar.bz2
MLK-10391 imx: mx7dsabresd: Fix issues in QSPI support
Change QSPI FLASH vendor config from to MACRONIX, otherwise the flash device can't be recognized. Also change default sf probe parameter to 0:0 which means bus 0, cs 0. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit f250cf69571851eb092252275418daf8de11a68e) Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r--include/configs/mx7dsabresd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index f5f2f1c..014e86a 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -122,7 +122,7 @@
"m4image=m4_qspi.bin\0" \
"loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image}\0" \
"update_m4_from_sd=" \
- "if sf probe 1:0; then " \
+ "if sf probe 0:0; then " \
"if run loadm4image; then " \
"setexpr fw_sz ${filesize} + 0xffff; " \
"setexpr fw_sz ${fw_sz} / 0x10000; " \
@@ -131,7 +131,7 @@
"sf write ${loadaddr} 0x0 ${filesize}; " \
"fi; " \
"fi\0" \
- "m4boot=sf probe 1:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
+ "m4boot=sf probe 0:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
#else
#define UPDATE_M4_ENV ""
#endif
@@ -331,7 +331,7 @@
#define CONFIG_CMD_SF
#define CONFIG_SPI_FLASH
-#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_MACRONIX
#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0