summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7180/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/sc7180/watchdog.c')
-rw-r--r--src/soc/qualcomm/sc7180/watchdog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/qualcomm/sc7180/watchdog.c b/src/soc/qualcomm/sc7180/watchdog.c
index 0b7dd6dff8..680d70b2d3 100644
--- a/src/soc/qualcomm/sc7180/watchdog.c
+++ b/src/soc/qualcomm/sc7180/watchdog.c
@@ -1,10 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/watchdog.h>
#include <soc/clock.h>
+#include <soc/watchdog.h>
#include <device/mmio.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#define WDOG_RESET_BIT_MASK 1
+
void check_wdog(void)
{
uint32_t wdog_sta = read32(&aoss->aoss_cc_reset_status);