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
@@ -76,7 +76,7 @@ void __weak spl_board_init(void)
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
lowlevel_clock_init();
|
||||
#if !defined(CONFIG_AT91SAM9_WATCHDOG)
|
||||
#if !defined(CONFIG_WDT_AT91)
|
||||
at91_disable_wdt();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user