]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx31pdk/mx31pdk.c
mx31/mx35/mx51/mx53/mx6: add watchdog
[karo-tx-uboot.git] / board / freescale / mx31pdk / mx31pdk.c
index bc60632aa0b34662a10243f30c9f6a42f856bbb0..895396cd6231ce037493629f8742c70598ba7ef0 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifdef CONFIG_HW_WATCHDOG
-void hw_watchdog_reset(void)
-{
-       mxc_hw_watchdog_reset();
-}
-#endif
-
 int dram_init(void)
 {
        /* dram_init must store complete ramsize in gd->ram_size */
@@ -98,7 +91,7 @@ int board_late_init(void)
        pmic_reg_write(p, REG_POWER_CTL0, val | COINCHEN);
        pmic_reg_write(p, REG_INT_STATUS1, RTCRSTI);
 #ifdef CONFIG_HW_WATCHDOG
-       mxc_hw_watchdog_enable();
+       hw_watchdog_init();
 #endif
        return 0;
 }