From cbb3063ae9de72e20c1e70820c1a215054065bf1 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Wed, 22 Jun 2016 17:57:28 -0700 Subject: g: write 0 to RBOX_WAKEUP_CLEAR to clear registers We need to write 0 to RBOX_WAKEUP_CLEAR after writing 1 to clear the rbox wakeup registers. BUG=none BRANCH=none TEST=after init verify 'rw .h 0x40550098' returns 0 Change-Id: Id7eda45f443300e77f293556eece72d52ca28f17 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/355283 Reviewed-by: Bill Richardson Reviewed-by: Hsiao-heng Lee --- chip/g/rbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/chip/g/rbox.c b/chip/g/rbox.c index 1a71f1d507..546003755a 100644 --- a/chip/g/rbox.c +++ b/chip/g/rbox.c @@ -65,6 +65,7 @@ void rbox_init(void) /* Clear existing interrupts */ GWRITE(RBOX, WAKEUP_CLEAR, 1); + GWRITE(RBOX, WAKEUP_CLEAR, 0); GWRITE(RBOX, INT_STATE, 1); #ifdef CONFIG_RBOX_DEBUG -- cgit v1.2.1