]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: mpc85xx: remove dead watchdog-related code
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 28 May 2024 11:13:25 +0000 (13:13 +0200)
committerStefan Roese <sr@denx.de>
Sun, 16 Jun 2024 10:14:18 +0000 (12:14 +0200)
commit85c476759a42dfedb2d66e9734f8c05b7cfb62d5
tree06a40af498cd57c3cc2a4d50ae08fe84de0c5bea
parente7dbc25c3071dca023a3ac1009af4815dede8e9a
powerpc: mpc85xx: remove dead watchdog-related code

Nothing in-tree calls watchdog_reset() anymore (that stopped two years
ago with the removal of the WATCHDOG_RESET macro). So that function is
dead code.

That was the only caller of reset_85xx_watchdog(), so that
can obviously also be removed.

Finally, init_85xx_watchdog() is/was also not called from anywhere, so
that can go away as well, which nicely also removes a bit of
arch-specific code from the generic watchdog.h header.

Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/mpc85xx/cpu.c
include/watchdog.h