From 18a5aed7892260d1652b38ea48d3a0c111e0b186 Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Fri, 6 Apr 2018 14:54:05 +0530 Subject: [PATCH] Revert "ipq806x: Enabled HW Watchdog" This reverts commit a87141b204cb6c69ed3ad0c6f9e570e71319315d. Signed-off-by: Antony Arun T --- board/qca/arm/ipq806x/ipq806x.c | 8 -------- include/configs/ipq806x.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/board/qca/arm/ipq806x/ipq806x.c b/board/qca/arm/ipq806x/ipq806x.c index bd90cf7635..4939551cfd 100644 --- a/board/qca/arm/ipq806x/ipq806x.c +++ b/board/qca/arm/ipq806x/ipq806x.c @@ -30,7 +30,6 @@ #include "ipq806x.h" #include "qca_common.h" #include -#include #define DLOAD_MAGIC_COOKIE_1 0xE47B337D #define DLOAD_MAGIC_COOKIE_2 0x0501CAB0 @@ -186,13 +185,6 @@ void reset_cpu(unsigned long a) while(1); } -#ifdef CONFIG_HW_WATCHDOG -void hw_watchdog_reset(void) -{ - writel(1, APCS_WDT0_RST); -} -#endif - int board_mmc_init(bd_t *bis) { int node, gpio_node; diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h index 52129cf025..340053e7c2 100644 --- a/include/configs/ipq806x.h +++ b/include/configs/ipq806x.h @@ -85,7 +85,7 @@ #undef CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_HW_WATCHDOG +#undef CONFIG_HW_WATCHDOG #define CONFIG_SYS_DEVICE_NULLDEV