diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:44:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | a6c38a280c073fb1311bfa1845b6cad7279c9f6c (patch) | |
tree | 3f03d43a7e6864459876a3f36773b9b52be10dde /board/kontron/sl28/sl28.c | |
parent | b671359069ff804ebb16bd3961b3a73c4076ad77 (diff) | |
download | u-boot-a6c38a280c073fb1311bfa1845b6cad7279c9f6c.tar.xz |
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 <sjg@chromium.org>
Diffstat (limited to 'board/kontron/sl28/sl28.c')
-rw-r--r-- | board/kontron/sl28/sl28.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |