]> 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 c92b16278267200d208cc649fa1d7722628d92da..fde2944a0dd46eeffe2f9c0c86eb9462991ab325 100644 (file)
@@ -240,14 +240,6 @@ reset:
 1:
        lw      gp, 0(ra)
 
-#ifdef CONFIG_INCA_IP
-       /* Disable INCA-IP Watchdog.
-        */
-       la      t9, disable_incaip_wdt
-       jalr    t9
-       nop
-#endif
-
        /* Initialize any external memory.
         */
        la      t9, lowlevel_init
@@ -267,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)