summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-10 14:29:28 -0700
committerGerrit <chrome-bot@google.com>2012-10-10 16:28:40 -0700
commit678e649240ed950b08bffa254e994e1f867673d0 (patch)
treeabdac41224156995379f2e5205f83b788d2e66e6
parent3af7bc4335d7f6e8e16306603c54cf4fc2f502e3 (diff)
downloadchrome-ec-678e649240ed950b08bffa254e994e1f867673d0.tar.gz
Add console channel for thermal output
Needed for debugging upcoming TMP006 calibration changes BUG=none TEST=boot; EC console output should appear as before BRANCH=link Change-Id: I93a18949888533ecefd226fdc64e1fab7d52a8f1 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/35187 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 e3334ee20d..a6a1ec8cce 100644
--- a/common/console_output.c
+++ b/common/console_output.c
@@ -37,6 +37,7 @@ static const char *channel_names[CC_CHANNEL_COUNT] = {
"spi",
"system",
"task",
+ "thermal",
"usbcharge",
"vboot",
};
diff --git a/include/console.h b/include/console.h
index 66bc5ba8e3..0fb8b48771 100644
--- a/include/console.h
+++ b/include/console.h
@@ -48,6 +48,7 @@ enum console_channel {
CC_SPI,
CC_SYSTEM,
CC_TASK,
+ CC_THERMAL,
CC_USBCHARGE,
CC_VBOOT,
/* Channel count; not itself a channel */