summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2015-04-21 16:04:38 +0800
committerYork Sun <yorksun@freescale.com>2015-05-20 10:33:52 -0700
commit1c69a51cc35b6ade8df7c0309f2a2f2f5d493e9d (patch)
tree09f81486c9f63027a00b3c5e41d2dcc09bf8f9d0
parent0e6b7a28243175ae0874d53b6e6e4eff8548d71f (diff)
downloadu-boot-imx-1c69a51cc35b6ade8df7c0309f2a2f2f5d493e9d.zip
u-boot-imx-1c69a51cc35b6ade8df7c0309f2a2f2f5d493e9d.tar.gz
u-boot-imx-1c69a51cc35b6ade8df7c0309f2a2f2f5d493e9d.tar.bz2
arm: ls102xa: Adjust the load address of U-Boot for NOR boot
The original load address of U-Boot is 0x67f80000. The address space of NOR flash is 0x60000000 to 0x67ffffff. It will cause the size of u-boot couldn't be larger than 512K. As more features are supported in u-boot, the size of u-boot is larger than 512K. To fix this issue, the load address of U-Boot for NOR boot is adjusted to 0x60100000. In RCW, the PBI command needs to change as follows: .pbi -write 0xee0200, 0x67f80000 +write 0xee0200, 0x60100000 .end Signed-off-by: Alison Wang <alison.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--include/configs/ls1021aqds.h2
-rw-r--r--include/configs/ls1021atwr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 9a8fd50..1a41a2f 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -124,7 +124,7 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE 0x67f80000
+#define CONFIG_SYS_TEXT_BASE 0x60100000
#endif
#define CONFIG_NR_DRAM_BANKS 1
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 729205f..9cad60c 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -73,7 +73,7 @@
#endif
#ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE 0x67f80000
+#define CONFIG_SYS_TEXT_BASE 0x60100000
#endif
#define CONFIG_NR_DRAM_BANKS 1