summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-07-21 12:28:56 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-25 08:47:31 +0000
commit3a77fd73327cf532eedbe92fafd3a61598d2dc53 (patch)
treedac3941cdcfcfcde6cba2eec42b5faa6e2880745
parente0d27dd603901e60ac107da504514f2ad4023140 (diff)
downloadchrome-ec-3a77fd73327cf532eedbe92fafd3a61598d2dc53.tar.gz
tpm: add a console channel for TPM subsystem
With conditional compilation in place more channels can be created. BRANCH=none BUG=chrome-os-partner:43025 TEST=none yet Change-Id: Ia5aa5dba054b53adeabf7bd49d1111f65e87e924 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/287129 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--common/console_output.c1
-rw-r--r--include/console.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/console_output.c b/common/console_output.c
index cecbd9fc41..d15971ebea 100644
--- a/common/console_output.c
+++ b/common/console_output.c
@@ -65,6 +65,7 @@ static const char * const channel_names[] = {
"system",
"task",
"thermal",
+ "tpm",
"usb",
"usbcharge",
"usbpd",
diff --git a/include/console.h b/include/console.h
index df95963e2b..81e5a8c3c2 100644
--- a/include/console.h
+++ b/include/console.h
@@ -60,6 +60,7 @@ enum console_channel {
CC_SYSTEM,
CC_TASK,
CC_THERMAL,
+ CC_TPM,
CC_USB,
CC_USBCHARGE,
CC_USBPD,