]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7f58cf7e1b3b95aa658ccb4429294e2f5f210194
tree1e7f2304f469a27534b06a560441b3bdd971aedd
parentfbf631445b9bf94fff2852ae0764c4a30bf9433c
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