[PATCH 0/7] watchdog_reset cleanup

Rasmus Villemoes rasmus.villemoes at prevas.dk
Tue May 28 13:13:18 CEST 2024


watchdog_reset is no more. That is, it is no longer called from
anywhere, so any leftover definitions are just dead weight, and
references in comments need to be updated.

I don't have access to any m68k, sh or powerpc boards. Only lightly
compile-tested.

Apart from the two sh4 patches, these are independent of each other
and can be applied individually.

Cc: Angelo Dureghello <angelo at kernel-space.org>
Cc: Christophe Leroy <christophe.leroy at csgroup.eu>
Cc: Huan Wang <alison.wang at nxp.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>

Rasmus Villemoes (7):
  m68k: remove dead code
  wdt-uclass: watchdog_reset cleanup
  serial: ns16550: fix comment to mention schedule instead of
    watchdog_reset
  sh4: move reset_cpu() from watchdog.c to cpu.c
  sh4: remove watchdog.c file
  powerpc: mpc83xx: remove unused watchdog_reset() function
  powerpc: mpc85xx: remove dead watchdog-related code

 arch/m68k/cpu/mcf52x2/cpu.c    | 108 ---------------------------------
 arch/powerpc/cpu/mpc83xx/cpu.c |  15 -----
 arch/powerpc/cpu/mpc85xx/cpu.c |  31 ----------
 arch/sh/cpu/sh4/Makefile       |   2 +-
 arch/sh/cpu/sh4/cpu.c          |  10 +++
 arch/sh/cpu/sh4/watchdog.c     |  61 -------------------
 drivers/serial/ns16550.c       |   8 +--
 drivers/watchdog/wdt-uclass.c  |  19 +-----
 include/watchdog.h             |   3 -
 9 files changed, 17 insertions(+), 240 deletions(-)
 delete mode 100644 arch/sh/cpu/sh4/watchdog.c

-- 
2.40.1.1.g1c60b9335d



More information about the U-Boot mailing list