Switch from archive libraries to partial linking
[oweals/u-boot.git] / arch / powerpc / cpu / 74xx_7xx / start.S
index b4121df612240a731ac84fbf6e46c4ac738ad7a6..985e1ce70f0896176c58196e490b594aa77cb884 100644 (file)
@@ -32,6 +32,7 @@
  *  board_init lies at a quite high address and when the cpu has
  *  jumped there, everything is ok.
  */
+#include <asm-offsets.h>
 #include <config.h>
 #include <74xx_7xx.h>
 #include <timestamp.h>
@@ -711,7 +712,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