]> git.baikalelectronics.ru Git - uboot.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)
commit4309e55ff4143f7850a0e9c5dccc2df4c9cdd0b0
tree6b20eb55e2451457ceab9557075e2b1978d46ee1
parent625ddc445a1b80199bec653174104aba21f121cd
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