diff options
author | Terry Lv <r65388@freescale.com> | 2010-09-17 13:25:29 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-09-20 13:25:43 +0800 |
commit | e71b1b9ced8b2478446d931a47a94296b72b833b (patch) | |
tree | 2d37cd7b8d23fbc1cf79686ba2dfa7471ede0992 /board/freescale/mx50_arm2 | |
parent | 71ba5d33991342c566b92961b5c98e99861e20c0 (diff) | |
download | u-boot-imx-e71b1b9ced8b2478446d931a47a94296b72b833b.zip u-boot-imx-e71b1b9ced8b2478446d931a47a94296b72b833b.tar.gz u-boot-imx-e71b1b9ced8b2478446d931a47a94296b72b833b.tar.bz2 |
ENGR00131662: Fix that iram boot don't work
iram boot don't work.
The reason is that ivt plugins copy too much data
than that iram can hold.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale/mx50_arm2')
-rw-r--r-- | board/freescale/mx50_arm2/flash_header.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mx50_arm2/flash_header.S b/board/freescale/mx50_arm2/flash_header.S index 8b0edca..94549bb 100644 --- a/board/freescale/mx50_arm2/flash_header.S +++ b/board/freescale/mx50_arm2/flash_header.S @@ -39,7 +39,7 @@ self_ptr: .long 0xF8006400 app_code_csf: .long 0x0 /* reserve 4K for csf */ reserv2: .long 0x0 boot_data: .long 0xF8006000 -image_len: .long 8*1024 /* Can copy upto 72K, OCRAM free space */ +image_len: .long 4*1024 /* Can copy upto 72K, OCRAM free space */ plugin: .long 0x1 /* Enable plugin flag */ /* Second IVT to give entry point into the bootloader copied to DDR */ @@ -1166,10 +1166,10 @@ after_calling_rom___pu_irom_hwcnfg_setup: mov r0, #1 bx lr /* return back to ROM code */ -DDR_DEST_ADDR: .word 0x77800000 -COPY_SIZE: .word 0x40000 -BOOT_DATA: .word 0x77800000 - .word 0x40000 /*data be copied by pu_irom_hwcnfg_setup()*/ +DDR_DEST_ADDR: .word TEXT_BASE +COPY_SIZE: .word _end - TEXT_BASE +BOOT_DATA: .word TEXT_BASE + .word _end - TEXT_BASE /*data be copied by pu_irom_hwcnfg_setup()*/ .word 0 #endif |