diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-22 17:53:43 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-26 21:18:12 +0100 |
commit | b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d (patch) | |
tree | b4bcab9f621f05187bde8a839613e2d6e34c1106 /board/armltd/integrator | |
parent | d0b5d9da5de280120b73e776663f6a3024f225f4 (diff) | |
download | u-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.zip u-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.tar.gz u-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.tar.bz2 |
arm: remove unneeded symbol offsets and _TEXT_BASE
Remove the last uses of symbol offsets in ARM U-Boot.
Remove some needless uses of _TEXT_BASE.
Remove all _TEXT_BASE definitions.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/armltd/integrator')
-rw-r--r-- | board/armltd/integrator/lowlevel_init.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/armltd/integrator/lowlevel_init.S b/board/armltd/integrator/lowlevel_init.S index 389d5e9..0fb42ad 100644 --- a/board/armltd/integrator/lowlevel_init.S +++ b/board/armltd/integrator/lowlevel_init.S @@ -183,7 +183,7 @@ cm_remap: /* Now 0x00000000 is writeable, replace the vectors */ ldr r0, =_start /* r0 <- start of vectors */ - ldr r2, =_TEXT_BASE /* r2 <- past vectors */ + add r2, r0, #64 /* r2 <- past vectors */ sub r1,r1,r1 /* destination 0x00000000 */ copy_vec: |