From 76e5fe8ad3a27ec70250ce910fac3672b5e0f86a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 13 Apr 1999 22:50:24 +0000 Subject: Bug fix from Brendan Simon with fix confirmed by Andrew Bray . --- c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/papyrus/flashentry/flashentry.S') 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: -- cgit v1.2.3