soc/intel/skylake: Do a heci_reset before reading ME firmware version
commitbe045833316c7fe71621366ed2934e6cf6385a44
authorFurquan Shaikh <furquan@google.com>
Mon, 26 Mar 2018 05:19:47 +0000 (25 22:19 -0700)
committerFurquan Shaikh <furquan@google.com>
Tue, 27 Mar 2018 06:10:14 +0000 (27 06:10 +0000)
tree4358db7d7e241892743b854aa4d65981fd877c74
parentb7b49b00de46f8ff2816554ed939260be8a646d5
soc/intel/skylake: Do a heci_reset before reading ME firmware version

This change adds a call to heci_reset before attempting to read
ME firmware version. This is important to ensure that both ME and BIOS
are in sync.

BUG=b:76167737
BRANCH=poppy
TEST=Verfied that ME firmware version read does not fail on first boot
after power failure (i.e. removing battery and AC power).

Change-Id: Ib6b39c398d2e1177b087352a4acb8bcf5a9897d6
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/25362
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/intel/skylake/me.c