mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Stefano Babic
parent
17c5ef2007
commit
abbab70363
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user