Rename SPL_WATCHDOG_SUPPORT to SPL_WATCHDOG

Rename this option so that CONFIG_IS_ENABLED can be used with it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-07-10 21:14:28 -06:00
committed by Tom Rini
parent 89ddb0bfeb
commit 078111b9c0
110 changed files with 111 additions and 111 deletions

View File

@@ -1275,7 +1275,7 @@ config SPL_SDP_USB_DEV
so it can be used in compiled environment.
endif
config SPL_WATCHDOG_SUPPORT
config SPL_WATCHDOG
bool "Support watchdog drivers"
imply SPL_WDT if !HW_WATCHDOG
help

View File

@@ -707,7 +707,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
spl_board_init();
#endif
#if defined(CONFIG_SPL_WATCHDOG_SUPPORT) && CONFIG_IS_ENABLED(WDT)
#if defined(CONFIG_SPL_WATCHDOG) && CONFIG_IS_ENABLED(WDT)
initr_watchdog();
#endif