diff options
author | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
commit | 42dfe7a1844cbad7114038aaf03828acb7a84414 (patch) | |
tree | d33893d34d2a97aa23257703733dbc9d86d48278 /cpu/s3c44b0 | |
parent | 855a496fe9ba431772f1ff1aef21a5c001288bb0 (diff) | |
download | u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.zip u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.gz u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.bz2 |
Code cleanup; make several boards compile & link.
Diffstat (limited to 'cpu/s3c44b0')
-rw-r--r-- | cpu/s3c44b0/start.S | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/cpu/s3c44b0/start.S b/cpu/s3c44b0/start.S index ce31ec9..b4b7c3f 100644 --- a/cpu/s3c44b0/start.S +++ b/cpu/s3c44b0/start.S @@ -71,16 +71,15 @@ _armboot_start: .word _start /* - * Note: _armboot_end_data and _armboot_end are defined - * by the (board-dependent) linker script. - * _armboot_end_data is the first usable FLASH address after armboot + * These are defined in the board-specific linker script. */ -.globl _armboot_end_data -_armboot_end_data: - .word armboot_end_data -.globl _armboot_end -_armboot_end: - .word armboot_end +.globl _bss_start +_bss_start: + .word __bss_start + +.globl _bss_end +_bss_end: + .word _end #ifdef CONFIG_USE_IRQ /* IRQ stack memory (calculated at run-time) */ @@ -130,7 +129,7 @@ relocate: /* relocate U-Boot to RAM */ beq stack_setup ldr r2, _armboot_start - ldr r3, _armboot_end + ldr r3, _bss_start sub r2, r3, r2 /* r2 <- size of armboot */ add r2, r0, r2 /* r2 <- source end address */ |