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 <pgeorgi@chromium.org>
Original-Commit-Id: 65c8b9dd633f0d402cad7d609563c8aac9bf5115
Original-Change-Id: I8f0ea3c1b71e86a7ca733965ecbec6954a52f6e3
Original-Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/333298
Original-Commit-Ready: David Hendricks <dhendrix@chromium.org>
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://review.coreboot.org/14750
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Varadarajan Narayanan 2015-09-08 15:12:46 +05:30 committed by Patrick Georgi
parent 9541ba828f
commit c3f16a96b9
1 changed files with 1 additions and 0 deletions

View File

@ -21,4 +21,5 @@
void hard_reset(void) void hard_reset(void)
{ {
write32(GCNT_PSHOLD, 0);
} }