]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Correct SPL use of WATCHDOG_AUTOSTART
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:44:31 +0000 (15:44 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
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@chromium.org>
board/kontron/sl28/sl28.c

index e78a0d5dd3cc37b4fc17ffb1f16f72d0ad69fd55..89948e087f1024817ad2e15d3a12194e3e82faaf 100644 (file)
@@ -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;