mbox series

[edk2,0/4] ArmPkg, ArmPlatformPkg: watchdog driver cleanup

Message ID 20181218131015.20062-1-ard.biesheuvel@linaro.org
Headers show
Series ArmPkg, ArmPlatformPkg: watchdog driver cleanup | expand

Message

Ard Biesheuvel Dec. 18, 2018, 1:10 p.m. UTC
This series cleans up the code of the two watchdog drivers we have for
ARM systems, and brings them in compliance with the PI spec, which
specifies that the default action of the watchdog can be overridden
by registering a handler.

Note that the TC2 code in edk2-platforms will have to be brought up to
date. The SP805 on the FVP model seems terminally broken (it is 'wired'
to the 24 MHz APB clock instead of the 32 kHz WDOG clock, so I'll switch
that one over to use the SBSA watchdog instead)

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Thomas Panakamattam Abraham <thomas.abraham@arm.com>
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Cc: Udit Kumar <udit.kumar@nxp.com>
Cc: Matteo Carlini <Matteo.Carlini@arm.com>
Cc: Nariman Poushin <nariman.poushin@linaro.org>

Ard Biesheuvel (4):
  ArmPlatformPkg/SP805WatchdogDxe: cosmetic cleanup
  ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode
  ArmPkg/GenericWatchdogDxe: clean up the code
  ArmPkg/GenericWatchdogDxe: implement RegisterHandler() method

 .../GenericWatchdogDxe/GenericWatchdogDxe.c   | 145 ++++++++------
 .../GenericWatchdogDxe/GenericWatchdogDxe.inf |  11 +-
 ArmPlatformPkg/ArmPlatformPkg.dec             |   1 +
 .../Drivers/SP805WatchdogDxe/SP805Watchdog.c  | 182 +++++++++++-------
 .../SP805WatchdogDxe/SP805WatchdogDxe.inf     |  17 +-
 5 files changed, 211 insertions(+), 145 deletions(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel