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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user