u-boot/arch/powerpc/cpu
Christophe Leroy 26e8ebcd7c watchdog: mpc8xxx: Make it generic
mpc8xx, mpc83xx and mpc86xx have similar watchdog with almost same
memory registers.

Refactor the driver to get the register addresses from the
device tree and use the compatible to know the prescale factor.

Calculate the watchdog setup value from the provided timeout.

Don't declare it anymore as an HW_WATCHDOG, u-boot will start
servicing the watchdog early enough.

On mpc8xx the watchdog configuration register is also used for
configuring the bus monitor. So add it as an option to the watchdog
when it is mpc8xx. When watchdog is not selected, leave the
configuration of the initial SYPCR from Kconfig.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
2023-04-06 14:47:47 +02:00
..
mpc8xx watchdog: mpc8xxx: Make it generic 2023-04-06 14:47:47 +02:00
mpc8xxx global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mpc83xx mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related 2023-03-29 13:30:29 -04:00
mpc85xx global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00