diff options
author | Bill XIE <persmule@gmail.com> | 2017-09-07 18:34:50 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-14 16:05:25 +0000 |
commit | b3e15a2895c43f52b12506f4f9a6de678c753dea (patch) | |
tree | f25f37bb90c6e8589ff32206c6650c0aabcd2154 /util/intelmetool/mmap.c | |
parent | cea31ea5eb9b634019afb3d9531aeef38dd226ba (diff) |
ifdtool: port the feature to set AltMeDisable/HAP bit here
Port the newest feature of me_cleaner to ifdtool
(https://github.com/corna/me_cleaner/ , Discussed in
https://github.com/corna/me_cleaner/issues/53 ) to
set AltMeDisable (or HAP for skylake/ME11) bit to the
IFD to disable ME.
In this commit I use (ifd_version >= IFD_VERSION_2) to
judge whether HAP instead AltMeDisable should be set,
since this condition is only fulfilled on skylake
or newer platforms.
This feature needs to guess ich revision, which needs
guess_ich_chipset() from flashrom to be ported here.
Routines to dump those bits are also added.
Change-Id: I9a2ecc60cfbb9ee9d96f15be3d53226cb428729a
Signed-off-by: Bill XIE <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/21437
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/intelmetool/mmap.c')
0 files changed, 0 insertions, 0 deletions