summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2020-07-09 16:00:19 -0600
committerAaron Durbin <adurbin@chromium.org>2020-07-10 15:39:02 +0000
commit812efb1fc21c1b54bc5b0657481a8f6616f663e1 (patch)
treeed669f289454fab7e4e4a70384a698aeec354bec
parent853c6237cbdf7c2642fc51af204f1666a57add3d (diff)
mb/google/zork: enable i2c devices in verstage
Zork devices shut down the i2c controllers in S3 to save power. On resume, they need to be enabled in verstage before being accessed or the system hangs. BUG=b:160834101 TEST=Resume works with psp_verstage. Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: I7b8c7e12847876dab4ca74d67d3c41e63d7727cf Reviewed-on: https://review.coreboot.org/c/coreboot/+/43334 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/zork/verstage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/verstage.c b/src/mainboard/google/zork/verstage.c
index 8401196037..bcbf396bcc 100644
--- a/src/mainboard/google/zork/verstage.c
+++ b/src/mainboard/google/zork/verstage.c
@@ -31,5 +31,6 @@ void verstage_mainboard_early_init(void)
void verstage_mainboard_init(void)
{
+ enable_aoac_devices();
setup_i2c();
}