From: Simon Glass Date: Sun, 5 Feb 2023 22:44:31 +0000 (-0700) Subject: Correct SPL use of WATCHDOG_AUTOSTART X-Git-Tag: baikal/mips/sdk5.8.2~5^2~53^2~14 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=764d5eda56e17b2af49790655cbada332bb84f7b;p=uboot.git Correct SPL use of WATCHDOG_AUTOSTART 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 --- diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c index e78a0d5dd3..89948e087f 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;