From 17034d6f63e214056f90e2d2001deca2f9753316 Mon Sep 17 00:00:00 2001 From: Maximilian Schander Date: Sat, 28 Oct 2017 20:19:02 +0200 Subject: intelmetool: Print colored capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/22217 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer --- util/intelmetool/me.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/intelmetool') 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 */ -- cgit v1.2.3