summaryrefslogtreecommitdiff
path: root/examples/test_burst_lib.S
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test_burst_lib.S')
-rw-r--r--examples/test_burst_lib.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test_burst_lib.S b/examples/test_burst_lib.S
index 5bb4981..aef4e32 100644
--- a/examples/test_burst_lib.S
+++ b/examples/test_burst_lib.S
@@ -70,7 +70,7 @@ mmu_init:
* we can load the instruction and data TLB registers with the
* same values.
*/
- lwz r9,20(r29) /* gd->ram_size */
+ lwz r9,20(r2) /* gd->ram_size */
addis r9,r9,-0x80
mr r8, r9 /* Higher 8 Meg in SDRAM */