[PATCH v2 167/169] Correct SPL use of WATCHDOG_AUTOSTART

Simon Glass sjg at chromium.org
Sun Feb 5 23:44:31 CET 2023


This converts 1 usage of this option to the non-SPL form, since there is
no SPL_WATCHDOG_AUTOSTART defined in Kconfig

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 board/kontron/sl28/sl28.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c
index e78a0d5dd3c..89948e087f1 100644
--- a/board/kontron/sl28/sl28.c
+++ b/board/kontron/sl28/sl28.c
@@ -157,7 +157,7 @@ int fsl_board_late_init(void)
 	 * If the watchdog isn't enabled at reset (which is a configuration
 	 * option) disabling it doesn't hurt either.
 	 */
-	if (!CONFIG_IS_ENABLED(WATCHDOG_AUTOSTART))
+	if (!IS_ENABLED(CONFIG_WATCHDOG_AUTOSTART))
 		stop_recovery_watchdog();
 
 	return 0;
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list