]> git.sur5r.net Git - u-boot/blobdiff - cpu/mips/start.S
[MIPS] INCA-IP: Move watchdog init code from start.S to lowlevel_init()
[u-boot] / cpu / mips / start.S
index 5a278b6c846647b1db51afa69f43250994637bdb..fde2944a0dd46eeffe2f9c0c86eb9462991ab325 100644 (file)
@@ -238,17 +238,7 @@ reset:
        nop
        .word   _gp
 1:
-       move    gp, ra
-       lw      t1, 0(ra)
-       move    gp, t1
-
-#ifdef CONFIG_INCA_IP
-       /* Disable INCA-IP Watchdog.
-        */
-       la      t9, disable_incaip_wdt
-       jalr    t9
-       nop
-#endif
+       lw      gp, 0(ra)
 
        /* Initialize any external memory.
         */
@@ -269,10 +259,12 @@ reset:
 
        /* Set up temporary stack.
         */
+#ifdef CFG_INIT_RAM_LOCK_MIPS
        li      a0, CFG_INIT_SP_OFFSET
        la      t9, mips_cache_lock
        jalr    t9
        nop
+#endif
 
        li      t0, CFG_SDRAM_BASE + CFG_INIT_SP_OFFSET
        la      sp, 0(t0)