]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/mips/start.S
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / cpu / mips / start.S
index 86a8407f61afc4e2d82324aa26f053671166c162..b5043937293c634cf60c89f5b0662302e0e6a766 100644 (file)
@@ -302,7 +302,8 @@ relocate_code:
        sub     t6, gp, t6              /* t6 <-- relocation offset     */
        
        li      t0, CFG_MONITOR_BASE
-       add     t2, t0, CFG_MONITOR_LEN
+       la      t3, in_ram
+       lw      t2, -12(t3)     /* t2 <-- uboot_end_data        */
        move    t1, a2
 
        /*