]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: watchdog: wdt-uclass: Use IS_ENABLED for WATCHDOG_AUTOSTART
authorTeresa Remmet <t.remmet@phytec.de>
Thu, 15 Jul 2021 11:26:32 +0000 (13:26 +0200)
committerStefan Roese <sr@denx.de>
Fri, 16 Jul 2021 08:28:35 +0000 (10:28 +0200)
commit5fc094351381c4254098a25404d8712324b6918e
tree3bbd32319719cc6d506d36ebd834a51c3d23c679
parentaed2ebaa1fa98f53c0078d49008aa56d2c984446
drivers: watchdog: wdt-uclass: Use IS_ENABLED for WATCHDOG_AUTOSTART

There is no separate SPL/TPL config for WATCHDOG_AUTOSTART.
So use IS_ENABLED instead of CONFIG_IS_ENABLED to make watchdog
working in SPL again.

Fixes: 830d29ac3721 ("watchdog: Allow to use CONFIG_WDT without starting watchdog")
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/wdt-uclass.c