summaryrefslogtreecommitdiff
path: root/common/throttle_ap.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-05-23 13:54:06 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-05-26 00:21:42 -0700
commitb5cebbaadb4966e9d1820b0dcabd690d3e5d762e (patch)
tree05d77943634db62fced95ea5c1ee09e7e21fb1cf /common/throttle_ap.c
parent920d4bc14b082f1cbd8635134f8d22a94c4afb28 (diff)
downloadchrome-ec-b5cebbaadb4966e9d1820b0dcabd690d3e5d762e.tar.gz
console_channel.inc: Add more ifdef to reduce number of channels
There are still more ifdef than can be added: this just takes out the low hanging fruits. BRANCH=poppy BUG=b:35647963 TEST=make buildall -j, see that we gain from 0 to 64 bytes on many boards. Change-Id: Ibe85b8bfa5d5c22c160e4a6656104256067beee9 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1070948 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/throttle_ap.c')
-rw-r--r--common/throttle_ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/throttle_ap.c b/common/throttle_ap.c
index ef11302881..209948a482 100644
--- a/common/throttle_ap.c
+++ b/common/throttle_ap.c
@@ -14,8 +14,8 @@
#include "util.h"
/* Console output macros */
-#define CPUTS(outstr) cputs(CC_CHIPSET, outstr)
-#define CPRINTS(format, args...) cprints(CC_CHIPSET, format, ## args)
+#define CPUTS(outstr) cputs(CC_THERMAL, outstr)
+#define CPRINTS(format, args...) cprints(CC_THERMAL, format, ## args)
/*****************************************************************************/
/* This enforces the virtual OR of all throttling sources. */