From c3f16a96b963ac077f375649d769805bcd4374d1 Mon Sep 17 00:00:00 2001 From: Varadarajan Narayanan Date: Tue, 8 Sep 2015 15:12:46 +0530 Subject: google/gale: Implement reset Implement reset using PSHOLD and remove watchdog based reset not needed for ipx40xx. BUG=chrome-os-partner:49249 TEST=None. Initial code not sure if it will even compile BRANCH=none Change-Id: Ic2fa0e7676604f36a99750b4bda53195199ebc69 Signed-off-by: Patrick Georgi Original-Commit-Id: 65c8b9dd633f0d402cad7d609563c8aac9bf5115 Original-Change-Id: I8f0ea3c1b71e86a7ca733965ecbec6954a52f6e3 Original-Signed-off-by: Varadarajan Narayanan Original-Reviewed-on: https://chromium-review.googlesource.com/333298 Original-Commit-Ready: David Hendricks Original-Reviewed-by: David Hendricks Reviewed-on: https://review.coreboot.org/14750 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/gale/reset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/gale/reset.c b/src/mainboard/google/gale/reset.c index 468902a617..47a46d42e9 100644 --- a/src/mainboard/google/gale/reset.c +++ b/src/mainboard/google/gale/reset.c @@ -21,4 +21,5 @@ void hard_reset(void) { + write32(GCNT_PSHOLD, 0); } -- cgit v1.2.3