Extend the watchdog initialization logic in board_f.c to include
support for the Qualcomm (QCOM) watchdog driver. This ensures that
the hardware watchdog is properly initialized during early boot
when CONFIG_QCOM_WATCHDOG is enabled.

Signed-off-by: Balaji Selvanathan <balaji.selvanat...@oss.qualcomm.com>
---
 common/board_f.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/board_f.c b/common/board_f.c
index bff465d9cb2..b03e3bc8e7c 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -93,7 +93,7 @@ static int init_func_watchdog_init(void)
        (defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \
        defined(CONFIG_SH) || \
        defined(CONFIG_DESIGNWARE_WATCHDOG) || \
-       defined(CONFIG_IMX_WATCHDOG))
+       defined(CONFIG_IMX_WATCHDOG) || defined(CONFIG_QCOM_WATCHDOG))
        hw_watchdog_init();
        puts("       Watchdog enabled\n");
 # endif
-- 
2.34.1

Reply via email to