diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2010-11-04 19:02:00 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-14 23:25:33 +0100 |
commit | 34bbf618600fb6961d8359e42fb87e59fbd788d9 (patch) | |
tree | e6bee6861458650e6f0bd3c1d81830db04f5a800 /arch/powerpc/cpu/mpc85xx/start.S | |
parent | 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5 (diff) | |
download | u-boot-imx-34bbf618600fb6961d8359e42fb87e59fbd788d9.zip u-boot-imx-34bbf618600fb6961d8359e42fb87e59fbd788d9.tar.gz u-boot-imx-34bbf618600fb6961d8359e42fb87e59fbd788d9.tar.bz2 |
PowerPC: Don't destroy fixup table while doing fixups
The fixup procedure just stored a constant value in the
fixup table rather than just adjusting the table.
Although that doesn't seem to do any harm, it prevents
relocation more that once.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/start.S')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/start.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S index af7e39b..945c1b8 100644 --- a/arch/powerpc/cpu/mpc85xx/start.S +++ b/arch/powerpc/cpu/mpc85xx/start.S @@ -1040,7 +1040,7 @@ in_ram: lwzux r0,r4,r11 cmpwi r0,0 add r0,r0,r11 - stw r10,0(r3) + stw r4,0(r3) beq- 5f stw r0,0(r4) 5: bdnz 3b |