diff options
author | Jason Liu <r64343@freescale.com> | 2011-05-16 17:12:32 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-05 14:57:43 -0400 |
commit | b5ac85590770b4da7e150bcd9456ffa41ddd1db6 (patch) | |
tree | 3d5b98abc892e2bddb9daf64df0f392a1ce189a3 /board/freescale/mx53_ard | |
parent | 851acd4197a59ccaf43c480afc5d7e83851bb0de (diff) |
ENGR00143457: Don't let ROM copy .bss section
Don't need let ROM copy the .bss section since it
will all be zeroed by u-boot at start up, thus it
can speed up the boot up time.
Need add CONFIG_FLASH_HEADER_OFFSET to the size since
ROM will copy from the beginning of the MMC card.
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board/freescale/mx53_ard')
-rw-r--r-- | board/freescale/mx53_ard/flash_header.S | 2 | ||||
-rw-r--r-- | board/freescale/mx53_ard/u-boot.lds | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx53_ard/flash_header.S b/board/freescale/mx53_ard/flash_header.S index 4db120dcb9..d7130c131c 100644 --- a/board/freescale/mx53_ard/flash_header.S +++ b/board/freescale/mx53_ard/flash_header.S @@ -49,7 +49,7 @@ app_code_csf: .word 0x0 reserv2: .word 0x0 boot_data: .word 0x77800000 -image_len: .word _end - TEXT_BASE +image_len: .word _end_of_copy - TEXT_BASE + CONFIG_FLASH_HEADER_OFFSET plugin: .word 0x0 /* TO1.0/TO2.0 DDR2 scripts for EVK, ARD and ARM2 CPU2 board */ diff --git a/board/freescale/mx53_ard/u-boot.lds b/board/freescale/mx53_ard/u-boot.lds index acb2e28d32..2615a9df7b 100644 --- a/board/freescale/mx53_ard/u-boot.lds +++ b/board/freescale/mx53_ard/u-boot.lds @@ -67,6 +67,7 @@ SECTIONS __u_boot_cmd_end = .; . = ALIGN(4); + _end_of_copy = .; /* end_of ROM copy code here */ __bss_start = .; .bss : { *(.bss) } _end = .; |