diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-13 06:12:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-27 16:41:38 +0300 |
commit | 3847ba94f0207cca171d728aca1637b16e1210a9 (patch) | |
tree | f58a825131948d2760aae11c88dea378f8c27a12 /board/liebherr | |
parent | 954a2f81775096fc5066632c979b0d8d83683b87 (diff) | |
download | u-boot-3847ba94f0207cca171d728aca1637b16e1210a9.tar.xz |
Finish converting CONFIG_WATCHDOG, HW_WATCHDOG and WDT to Kconfig
Because of how these symbols work, and the remaining board config.h file
uses, we need to do these at the same time. In some cases we just get
to move rather directly to the defconfigs. A few cases require manual
intervention.
For the case of the eb_cpu5282 we need to select HW_WATCHDOG for the
target, given how it's implemented.
For the cases of m53menlo, dh_imx6, display5, and display5_factory we
disable SPL watchdog support as the particular combination of options
they want would require either more symbols or enabling SPL_DM.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/liebherr')
-rw-r--r-- | board/liebherr/display5/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/liebherr/display5/spl.c b/board/liebherr/display5/spl.c index d5fe336d22..5c1af1a772 100644 --- a/board/liebherr/display5/spl.c +++ b/board/liebherr/display5/spl.c @@ -327,8 +327,10 @@ void board_init_f(ulong dummy) displ5_set_iomux_misc_spl(); /* Initialize and reset WDT in SPL */ +#ifdef CONFIG_SPL_WATCHDOG hw_watchdog_init(); WATCHDOG_RESET(); +#endif /* load/boot image from boot device */ board_init_r(NULL, 0); |