summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-11 06:14:28 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:27:54 +0300
commit078111b9c04764114c04f70969e84a01ffb487c0 (patch)
tree2e42667e41c9857bf9f0f14fe8a711fffdbc113b /common
parent89ddb0bfeb6c3ce1b1cd8014a111abac3fb5ad39 (diff)
downloadu-boot-078111b9c04764114c04f70969e84a01ffb487c0.tar.xz
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/Kconfig2
-rw-r--r--common/spl/spl.c2
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