diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2024-05-28 13:13:25 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-06-16 12:14:18 +0200 |
commit | 85c476759a42dfedb2d66e9734f8c05b7cfb62d5 (patch) | |
tree | 06a40af498cd57c3cc2a4d50ae08fe84de0c5bea /include/watchdog.h | |
parent | e7dbc25c3071dca023a3ac1009af4815dede8e9a (diff) | |
download | u-boot-85c476759a42dfedb2d66e9734f8c05b7cfb62d5.zip u-boot-85c476759a42dfedb2d66e9734f8c05b7cfb62d5.tar.gz u-boot-85c476759a42dfedb2d66e9734f8c05b7cfb62d5.tar.bz2 |
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>
Diffstat (limited to 'include/watchdog.h')
-rw-r--r-- | include/watchdog.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/watchdog.h b/include/watchdog.h index ac5f11e..d1956fa 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -40,7 +40,4 @@ int init_func_watchdog_reset(void); void hw_watchdog_init(void); #endif -#if defined(CONFIG_MPC85xx) - void init_85xx_watchdog(void); -#endif #endif /* _WATCHDOG_H_ */ |