From 5aac57dfd17ffd657709efb85dfab78c10863724 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Fri, 12 Nov 2021 14:30:25 -0600 Subject: Revert "npcx: Ensure the watchdog isn't stopped while it is invalid to do so" This reverts commit 9a22d8465107ee1a0b526e4caf70ca9b689b7f57. BUG=b:200823466 TEST=make buildall -j Change-Id: I85de04b998f5f884bcdb79defc1329ad8ab1904f Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285759 Reviewed-by: Vadim Sukhomlinov --- include/watchdog.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/watchdog.h b/include/watchdog.h index 036f722d97..bf12ad0593 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -38,13 +38,6 @@ void watchdog_trace(uint32_t excep_lr, uint32_t excep_sp); */ void watchdog_warning_irq(void); -/** - * We cannot unlock the watchdog timer within 3 watch dog ticks of - * touching it per the datasheet. This is around 100ms so we should - * protect against this. - */ -void watchdog_stop_and_unlock(void); - /* Reload the watchdog counter */ #ifdef CONFIG_WATCHDOG void watchdog_reload(void); -- cgit v1.2.1