]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/davedenx/qong/qong.c
mx31/mx35/mx51/mx53/mx6: add watchdog
[karo-tx-uboot.git] / board / davedenx / qong / qong.c
index a3079dbca367e2b7cb60b5c25a5c50ac8f22bc14..06ca17c3cdec4acdc93621f9a2dabaffe4f61bec 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 */
@@ -188,7 +181,7 @@ int board_late_init(void)
        pmic_reg_write(p, REG_INT_STATUS1, RTCRSTI);
 
 #ifdef CONFIG_HW_WATCHDOG
-       mxc_hw_watchdog_enable();
+       hw_watchdog_init();
 #endif
 
        return 0;