]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog: ulp_wdog: guard reset_cpu with condition check
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:26 +0000 (12:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 14:54:40 +0000 (16:54 +0200)
commitfee8cf214af0807823865cfa4cc3d5e39eb8da3c
tree6b20eb55e2451457ceab9557075e2b1978d46ee1
parent33866e94098819c828927dc0f31c3b8c4e22b8cb
watchdog: ulp_wdog: guard reset_cpu with condition check

There will be build error if CONFIG_SYSRESET is enabled, so guard
the reset_cpu with condition check here

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/ulp_wdog.c