summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-10-23 15:14:34 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-24 03:02:45 +0000
commit0dd653292c37f75e6b6c56f50af524fea7700b7b (patch)
tree9382407cdcc779c8d13f1f888148dc8039a36211 /board
parentc72c86b9b18d0ca609ede492f910bc2fc98b468c (diff)
downloadchrome-ec-0dd653292c37f75e6b6c56f50af524fea7700b7b.tar.gz
ryu: Enable watchdog helper for P2 boards
We have several unused timer. Let's use TIM19 for watchdog helper. BRANCH=None BUG=chrome-os-partner:32660 TEST='waitms 3000' and see debug message. Change-Id: I638a4de7d2729ffb10cb5cf2b3fb9c458dd588a5 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/225254 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/ryu_p2/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ryu_p2/board.h b/board/ryu_p2/board.h
index 764e48db15..21118df836 100644
--- a/board/ryu_p2/board.h
+++ b/board/ryu_p2/board.h
@@ -31,7 +31,7 @@
#define CONFIG_I2C
#define CONFIG_LID_SWITCH
#define CONFIG_VBOOT_HASH
-#undef CONFIG_WATCHDOG_HELP
+#define CONFIG_WATCHDOG_HELP
#undef CONFIG_TASK_PROFILING
#define CONFIG_INDUCTIVE_CHARGING
#undef CONFIG_HIBERNATE
@@ -84,6 +84,7 @@
/* Timer selection */
#define TIM_CLOCK32 5
+#define TIM_WATCHDOG 19
#include "gpio_signal.h"