diff options
author | Angelo Dureghello <angelo@kernel-space.org> | 2023-06-24 22:30:18 +0200 |
---|---|---|
committer | Angelo Dureghello <angelo@kernel-space.org> | 2023-07-25 23:21:42 +0200 |
commit | 9b8bc514a0a6c26459227ffa85e2a093bba56780 (patch) | |
tree | eb19edf13caf3edde76a70c442aafac47d6f2704 /drivers/watchdog/Makefile | |
parent | 74c521912acac98d09b221478cea156bf0c2013e (diff) | |
download | u-boot-9b8bc514a0a6c26459227ffa85e2a093bba56780.zip u-boot-9b8bc514a0a6c26459227ffa85e2a093bba56780.tar.gz u-boot-9b8bc514a0a6c26459227ffa85e2a093bba56780.tar.bz2 |
drivers: watchdog: add mcf watchdog support
This watchdog driver applies to the following
mcf families:
- mcf52x2 (5271 5275 5282)
- mcf532x (5329 5373)
- mcf523x (5235)
Cpu's not listed for each family does not have WDT module.
Note, after some attempts testing by qemu on 5208 i
finally abandoned, watchdog seems not implemented properly.
The driver has been tested in a real M5282EVM.
Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
---
Changes for v2:
- remove unnecessary hardcoded timeouts
- remove unnecessary hw_watchdog_xxx stuff
- rewrite wdog module reg calculation
- using IS_ENABLED() where possible
Changes for v3:
- remove hardcoded 4s test
Diffstat (limited to 'drivers/watchdog/Makefile')
-rw-r--r-- | drivers/watchdog/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index fd5d9c7..eef786f 100644 --- a/drivers/watchdog/Makefile +++ b/drivers/watchdog/Makefile @@ -31,6 +31,7 @@ obj-$(CONFIG_WDT_CDNS) += cdns_wdt.o obj-$(CONFIG_WDT_FTWDT010) += ftwdt010_wdt.o obj-$(CONFIG_WDT_GPIO) += gpio_wdt.o obj-$(CONFIG_WDT_MAX6370) += max6370_wdt.o +obj-$(CONFIG_WDT_MCF) += mcf_wdt.o obj-$(CONFIG_WDT_MESON_GXBB) += meson_gxbb_wdt.o obj-$(CONFIG_WDT_MPC8xxx) += mpc8xxx_wdt.o obj-$(CONFIG_WDT_MT7620) += mt7620_wdt.o |