diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-10 21:14:28 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 14:27:54 -0400 |
commit | 078111b9c04764114c04f70969e84a01ffb487c0 (patch) | |
tree | 2e42667e41c9857bf9f0f14fe8a711fffdbc113b /common | |
parent | 89ddb0bfeb6c3ce1b1cd8014a111abac3fb5ad39 (diff) | |
download | u-boot-078111b9c04764114c04f70969e84a01ffb487c0.tar.gz |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 2 | ||||
-rw-r--r-- | common/spl/spl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 016eeac982..c0e99ba893 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -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 diff --git a/common/spl/spl.c b/common/spl/spl.c index d1b072d82c..f6375b06a1 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -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 |