summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-04-22 15:55:39 +0800
committerNitin Garg <nitin.garg@freescale.com>2014-04-28 09:47:50 -0500
commit26d594174ef4195211f2207c453f016b6c8bd00e (patch)
tree3981bba107f2dfca89287d0114958aacc8401b71
parent78f4c8d4c198d8567a624fcf447eb28a89f96d0b (diff)
downloadu-boot-imx-26d594174ef4195211f2207c453f016b6c8bd00e.zip
u-boot-imx-26d594174ef4195211f2207c453f016b6c8bd00e.tar.gz
u-boot-imx-26d594174ef4195211f2207c453f016b6c8bd00e.tar.bz2
ENGR00309789 iMX6SX Fix QSPI detect problem in updating and booting m4 image
Since the M4 image position is changed to 0x78000000 the QSPI2_B1 flash. The "sf probe" command used in M4 updating and booting script should be changed to "sf probe 1:0". Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 31d984a7984b996160c8438de6d87e1f316473f3)
-rwxr-xr-xinclude/configs/mx6sx_arm2.h4
-rw-r--r--include/configs/mx6sxsabresd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/mx6sx_arm2.h b/include/configs/mx6sx_arm2.h
index f0cc9df..138deaf 100755
--- a/include/configs/mx6sx_arm2.h
+++ b/include/configs/mx6sx_arm2.h
@@ -137,7 +137,7 @@
"m4image=m4_qspi.bin\0" \
"loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image}\0" \
"update_m4_from_sd=" \
- "if sf probe; then " \
+ "if sf probe 1:0; then " \
"if run loadm4image; then " \
"setexpr fw_sz ${filesize} + 0xffff; " \
"setexpr fw_sz ${fw_sz} / 0x10000; " \
@@ -146,7 +146,7 @@
"sf write ${loadaddr} 0x0 ${filesize}; " \
"fi; " \
"fi\0" \
- "m4boot=sf probe; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
+ "m4boot=sf probe 1:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
#else
#define UPDATE_M4_ENV ""
#endif
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index ab67694..5b58dc4 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -145,7 +145,7 @@
"m4image=m4_qspi.bin\0" \
"loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image}\0" \
"update_m4_from_sd=" \
- "if sf probe; then " \
+ "if sf probe 1:0; then " \
"if run loadm4image; then " \
"setexpr fw_sz ${filesize} + 0xffff; " \
"setexpr fw_sz ${fw_sz} / 0x10000; " \
@@ -154,7 +154,7 @@
"sf write ${loadaddr} 0x0 ${filesize}; " \
"fi; " \
"fi\0" \
- "m4boot=sf probe; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
+ "m4boot=sf probe 1:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
#else
#define UPDATE_M4_ENV ""
#endif