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>
This commit is contained in:
@@ -157,7 +157,7 @@ int fsl_board_late_init(void)
|
|||||||
* If the watchdog isn't enabled at reset (which is a configuration
|
* If the watchdog isn't enabled at reset (which is a configuration
|
||||||
* option) disabling it doesn't hurt either.
|
* option) disabling it doesn't hurt either.
|
||||||
*/
|
*/
|
||||||
if (!CONFIG_IS_ENABLED(WATCHDOG_AUTOSTART))
|
if (!IS_ENABLED(CONFIG_WATCHDOG_AUTOSTART))
|
||||||
stop_recovery_watchdog();
|
stop_recovery_watchdog();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user