]> git.sur5r.net Git - u-boot/commitdiff
arm: ls102xa: Adjust the load address of U-Boot for NOR boot
authorAlison Wang <b18965@freescale.com>
Tue, 21 Apr 2015 08:04:38 +0000 (16:04 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 20 May 2015 17:33:52 +0000 (10:33 -0700)
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>
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h

index 9a8fd5007ee4fe40cb6fcadb95f5b5f4f68d22ec..1a41a2fdba1e4db6208a8cad0b74fdde5b38ff48 100644 (file)
@@ -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
index 729205f7129573198f8ff259d36b40f83866465b..9cad60c0eb729b5edf97735fd1c06dc5a41cec95 100644 (file)
@@ -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