mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
arm: at91: wdt: Convert watchdog driver to dm/dt
Convert the Watchdog driver for AT91SAM9x processors to support the driver model and device tree. Changes "CONFIG_AT91SAM9_WATCHDOG" to new "CONFIG_WDT_AT91" Kconfig option. Signed-off-by: Prasanthi Chellakumar <prasanthi.chellakumar@microchip.com>
This commit is contained in:

committed by
Tom Rini

parent
eb13dddd2c
commit
1473f6ac88
@ -91,7 +91,7 @@ static int init_func_watchdog_init(void)
|
||||
{
|
||||
# if defined(CONFIG_HW_WATCHDOG) && \
|
||||
(defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \
|
||||
defined(CONFIG_SH) || defined(CONFIG_AT91SAM9_WATCHDOG) || \
|
||||
defined(CONFIG_SH) || \
|
||||
defined(CONFIG_DESIGNWARE_WATCHDOG) || \
|
||||
defined(CONFIG_IMX_WATCHDOG))
|
||||
hw_watchdog_init();
|
||||
|
Reference in New Issue
Block a user