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>
This commit is contained in:
Martin Roth 2020-07-09 16:00:19 -06:00 committed by Aaron Durbin
parent 853c6237cb
commit 812efb1fc2
1 changed files with 1 additions and 0 deletions

View File

@ -31,5 +31,6 @@ void verstage_mainboard_early_init(void)
void verstage_mainboard_init(void)
{
enable_aoac_devices();
setup_i2c();
}