[MIPS] INCA-IP: Move watchdog init code from start.S to lowlevel_init()
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 25 Mar 2008 12:30:07 +0000 (21:30 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 25 Mar 2008 12:30:07 +0000 (21:30 +0900)
Move things to appropriate place.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
board/incaip/lowlevel_init.S
cpu/mips/start.S

index 14d738aa1a772b596419028db3cb3b23d714bad0..b39f93d43f2593cf8fef56bdec221fb4e5721f22 100644 (file)
@@ -276,6 +276,12 @@ __sdram_init:
        .ent    lowlevel_init
 lowlevel_init:
 
+       /* Disable Watchdog.
+        */
+       la      t9, disable_incaip_wdt
+       jalr    t9
+       nop
+
        /* EBU, CGU and SDRAM Initialization.
         */
        li      a0, CPU_CLOCK_RATE
index 930f9b3fde1a902eb2bb631dae12a0ad854726ea..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