diff options
author | Maximilian Schander <maxschander@googlemail.com> | 2017-10-28 20:19:02 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-11-03 23:58:41 +0000 |
commit | 17034d6f63e214056f90e2d2001deca2f9753316 (patch) | |
tree | 23fe18b2250b56dd62a1f78df6cf853b222bb0f1 /util | |
parent | df5b83fe2bd5752ed895fccd40c665a22525dfaf (diff) | |
download | coreboot-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.c | 2 |
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 */ |