summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMaximilian Schander <maxschander@googlemail.com>2017-10-28 20:19:02 +0200
committerMartin Roth <martinroth@google.com>2017-11-03 23:58:41 +0000
commit17034d6f63e214056f90e2d2001deca2f9753316 (patch)
tree23fe18b2250b56dd62a1f78df6cf853b222bb0f1 /util
parentdf5b83fe2bd5752ed895fccd40c665a22525dfaf (diff)
downloadcoreboot-17034d6f63e214056f90e2d2001deca2f9753316.tar.xz
intelmetool: Print colored capabilities
In general more ME capabilities are considered harmfull, useless or unwanted. Therefore an easy overview can be obtained by coloring in red and green. Taken from Change with id: Ifeec8e20fa8efc35d7db4c6a84be1f118dccfc4a Add bootguard information dump support https://review.coreboot.org/#/c/16328/ Change-Id: Ia911cc935d512174399aaf93bba982e071942212 Signed-off-by: Maximilian Schander <maxschander@googlemail.com> Reviewed-on: https://review.coreboot.org/22217 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'util')
-rw-r--r--util/intelmetool/me.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/intelmetool/me.c b/util/intelmetool/me.c
index ecdba6df36..ff73aee2d6 100644
--- a/util/intelmetool/me.c
+++ b/util/intelmetool/me.c
@@ -426,7 +426,7 @@ int mkhi_get_fw_version(void)
static inline void print_cap(const char *name, int state)
{
printf("ME Capability: %-30s : %s\n",
- name, state ? "ON" : "OFF");
+ name, state ? CRED "ON" RESET : CGRN "OFF" RESET);
}
/* Get ME Firmware Capabilities */