diff options
author | Varadarajan Narayanan <varada@codeaurora.org> | 2015-09-08 15:12:46 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-05-10 22:53:13 +0200 |
commit | c3f16a96b963ac077f375649d769805bcd4374d1 (patch) | |
tree | 244bbd29bcede9f6442291d46c969472d2cf0609 /src | |
parent | 9541ba828f63eb63d91b09bb1ee29b46b9f26d6c (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/gale/reset.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |