broadwell: Clean up ME device and add new ME10 flow

Hardware / Coreboot - Duncan Laurie [chromium.org] - 15 April 2015 14:45 UTC

In order to avoid a 300ms timeout waiting for mbp_cleared flag to be set there is a new flow for the ME10 1.5MB firwmare that we can follow which will save significant boot time.

This requires sending new commands that do not generate an ACK message, and ensuring an HMRFPO LOCK message is sent.

In addition now that the delay is removed clean up the ME path to do the work in init() step and add a final() step that does the disabling of the PCI device.

BUG=chrome-os-partner:30637,chrome-os-partner:34134 BRANCH=samus,auron TEST=build and boot on samus, measure ~300ms speedup in boot time

Original-Change-Id: I753087ecd65f6ebed9f812318a359f893e01da9f

c99681f broadwell: Clean up ME device and add new ME10 flow
src/soc/intel/broadwell/Kconfig | 9 -
src/soc/intel/broadwell/finalize.c | 3 -
src/soc/intel/broadwell/include/soc/me.h | 21 +-
src/soc/intel/broadwell/me.c | 330 +++++++++++++++++++-----------
4 files changed, 215 insertions(+), 148 deletions(-)

Upstream: review.coreboot.org


  • Share