From 678e649240ed950b08bffa254e994e1f867673d0 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 10 Oct 2012 14:29:28 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/35187 Reviewed-by: Bill Richardson --- common/console_output.c | 1 + include/console.h | 1 + 2 files changed, 2 insertions(+) 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 */