INCA-IP: Move watchdog init code from start.S to lowlevel_init()
Move things to reasonable place.
Signed-off-by Shinya Kuribayashi <[email protected]>
---
board/incaip/lowlevel_init.S | 6 ++++++ cpu/mips/start.S | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-)
board/incaip/lowlevel_init.S +6 -0
@@ -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
cpu/mips/start.S +0 -8
@@ -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