From 812efb1fc21c1b54bc5b0657481a8f6616f663e1 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 9 Jul 2020 16:00:19 -0600 Subject: 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 Change-Id: I7b8c7e12847876dab4ca74d67d3c41e63d7727cf Reviewed-on: https://review.coreboot.org/c/coreboot/+/43334 Reviewed-by: Aaron Durbin Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/mainboard/google/zork/verstage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard') 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(); } -- cgit v1.2.3