diff options
author | Pablo Stebler <pablo@stebler.xyz> | 2020-09-18 10:32:22 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-09-23 20:58:28 +0000 |
commit | 9ac91d220f18377825aac8889e99b2cf078e4afc (patch) | |
tree | f8449ee6a4bbaaabba80577ab682046b320367f6 /util/intelmetool/me.c | |
parent | ca128a0eb42dfc41c80aef9659dae06274dd65b3 (diff) |
util/intelmetool: Fix the BootGuard dump feature
Read the correct bits for measured and verified boot, print information
about some other bits.
Signed-off-by: Pablo Stebler <pablo@stebler.xyz>
Change-Id: Ie79d6da33032aee94d716bf0698b5501bbc424fa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45516
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/intelmetool/me.c')
-rw-r--r-- | util/intelmetool/me.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/intelmetool/me.c b/util/intelmetool/me.c index 694d733464..72430afc90 100644 --- a/util/intelmetool/me.c +++ b/util/intelmetool/me.c @@ -413,6 +413,12 @@ int mkhi_get_fw_version(int *major, int *minor) return 0; } +static void print_cap(const char *name, int state) +{ + printf("ME Capability: %-30s : %s\n", + name, state ? CRED "ON" RESET : CGRN "OFF" RESET); +} + /* Get ME Firmware Capabilities */ int mkhi_get_fwcaps(void) { |