summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-13 22:50:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-13 22:50:24 +0000
commit76e5fe8ad3a27ec70250ce910fac3672b5e0f86a (patch)
treefa7936dcd84b0f0f306bfad17dfbc683d61ff634 /c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff)
downloadrtems-76e5fe8ad3a27ec70250ce910fac3672b5e0f86a.tar.bz2
Bug fix from Brendan Simon <brendan@dgs.monash.edu.au> with fix confirmed
by Andrew Bray <andy@madhouse.demon.co.uk>.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S b/c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S
index 857caa729d..43693ebbf3 100644
--- a/c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S
+++ b/c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S
@@ -279,7 +279,7 @@ move_data:
xor r6,r6,r6 /* r6 = 0 */
clear_bss:
stswi r6,r2,0x4 /* store r6 */
- addi r3,r2,0x4 /* update r2 */
+ addi r2,r2,0x4 /* update r2 */
bdnz clear_bss /* decrement counter and loop */
blr /* return */
.L_text_e: