[coreboot-gerrit] Change in coreboot[master]: intelmetool: Print colored capabilities

Maximilian Schander (Code Review) gerrit at coreboot.org
Sat Oct 28 20:33:39 CEST 2017


Maximilian Schander has uploaded this change for review. ( https://review.coreboot.org/22217


Change subject: intelmetool: Print colored capabilities
......................................................................

intelmetool: Print colored capabilities

Taken from https://review.coreboot.org/#/c/16328/

Change-Id: Ia911cc935d512174399aaf93bba982e071942212
Signed-off-by: Maximilian Schander <maxschander at googlemail.com>
---
M util/intelmetool/me.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/22217/1

diff --git a/util/intelmetool/me.c b/util/intelmetool/me.c
index a0b56b4..223bfa4 100644
--- a/util/intelmetool/me.c
+++ b/util/intelmetool/me.c
@@ -426,7 +426,7 @@
 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 */

-- 
To view, visit https://review.coreboot.org/22217
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia911cc935d512174399aaf93bba982e071942212
Gerrit-Change-Number: 22217
Gerrit-PatchSet: 1
Gerrit-Owner: Maximilian Schander <maxschander at googlemail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171028/8556c77f/attachment-0001.html>


More information about the coreboot-gerrit mailing list