summaryrefslogtreecommitdiffstats
path: root/util/intelmetool/me.c
diff options
context:
space:
mode:
authorPablo Stebler <pablo@stebler.xyz>2020-09-18 10:32:22 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-09-23 20:58:28 +0000
commit9ac91d220f18377825aac8889e99b2cf078e4afc (patch)
treef8449ee6a4bbaaabba80577ab682046b320367f6 /util/intelmetool/me.c
parentca128a0eb42dfc41c80aef9659dae06274dd65b3 (diff)
downloadcoreboot-9ac91d220f18377825aac8889e99b2cf078e4afc.tar.gz
coreboot-9ac91d220f18377825aac8889e99b2cf078e4afc.tar.bz2
coreboot-9ac91d220f18377825aac8889e99b2cf078e4afc.zip
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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/intelmetool/me.c b/util/intelmetool/me.c
index 694d7334646a..72430afc907a 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)
{