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 /include | |
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 'include')
-rw-r--r-- | include/configs/mx31pdk.h | 1 | ||||
-rw-r--r-- | include/configs/qong.h | 1 | ||||
-rw-r--r-- | include/watchdog.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 138a941..34e4295 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -61,6 +61,7 @@ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_HW_WATCHDOG +#define CONFIG_IMX_WATCHDOG #define CONFIG_MXC_GPIO #define CONFIG_HARD_SPI diff --git a/include/configs/qong.h b/include/configs/qong.h index d9bf201..685c618 100644 --- a/include/configs/qong.h +++ b/include/configs/qong.h @@ -52,6 +52,7 @@ #define CONFIG_MXC_GPIO #define CONFIG_HW_WATCHDOG +#define CONFIG_IMX_WATCHDOG #define CONFIG_MXC_SPI #define CONFIG_DEFAULT_SPI_BUS 1 diff --git a/include/watchdog.h b/include/watchdog.h index b959914..328a30b 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -35,6 +35,7 @@ * Hardware watchdog */ #ifdef CONFIG_HW_WATCHDOG + void hw_watchdog_init(void); #if defined(__ASSEMBLY__) #define WATCHDOG_RESET bl hw_watchdog_reset #else |