u-boot/arch/powerpc/cpu/mpc8xx
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
..
cache.c common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
config.mk ppc: mpc8xx: Drop -mstring from PLATFORM_CPPFLAGS 2021-11-09 14:50:22 +05:30
cpu.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
cpu_init.c watchdog: mpc8xxx: Make it generic 2023-04-06 14:47:47 +02:00
fdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
immap.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
interrupts.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
Kconfig watchdog: mpc8xxx: Make it generic 2023-04-06 14:47:47 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
speed.c powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ 2023-04-05 19:46:18 +02:00
start.S powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f() 2023-02-10 19:31:36 +01:00
traps.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00