watchdog: Get rid of ASSEMBLY hacks
authorStefan Roese <sr@denx.de>
Fri, 2 Sep 2022 12:10:47 +0000 (14:10 +0200)
committerStefan Roese <sr@denx.de>
Sun, 18 Sep 2022 08:26:39 +0000 (10:26 +0200)
commitff3fdfe89b29a4561afe4756b9c7df886e70e0d7
tree1e7f2304f469a27534b06a560441b3bdd971aedd
parent29caf9305b6fafe8f6d6b18fa1f825dff8686e61
watchdog: Get rid of ASSEMBLY hacks

Only one occurance of WATCHDOG_RESET is left in one assembler file.
This patch changes this occurance to a direct call to watchdog_reset
and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as it's not
needed any more to clean this mess a bit up.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Tom Rini <trini@konsulko.com> [am335x_evm, mx6cuboxi, rpi_3,dra7xx_evm, pine64_plus, am65x_evm, j721e_evm]
arch/powerpc/lib/ticks.S
include/watchdog.h