diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-10-22 15:19:01 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-01-13 11:39:57 +0100 |
commit | abbab70363dcdb270cbf24d47849214dd3a3e010 (patch) | |
tree | 2eb6f30be46ddc350e5635179dabdd126be2b0cd /board/davedenx | |
parent | 17c5ef20073c49ae1a10150b4194b25b6f1154fe (diff) | |
download | u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.zip u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.tar.gz u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.tar.bz2 |
mx31/mx35/mx51/mx53/mx6: add watchdog
Use a common watchdog driver for all these cpus.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/davedenx')
-rw-r--r-- | board/davedenx/qong/qong.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c index a3079db..06ca17c 100644 --- a/board/davedenx/qong/qong.c +++ b/board/davedenx/qong/qong.c @@ -37,13 +37,6 @@ 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; |