diff options
author | Myles Watson <mylesgw@chromium.org> | 2016-07-21 17:00:32 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-22 15:36:12 -0700 |
commit | b42b1c5dc7c165a0d5b5f4f683a3b47d0f20c74f (patch) | |
tree | 0ddb2c6db9b4f87dc86ea0aecd058b85fbb6f69a | |
parent | 8957da7fdc0bb1434d0bb0481acef7ae5cd81afb (diff) | |
download | chrome-ec-b42b1c5dc7c165a0d5b5f4f683a3b47d0f20c74f.tar.gz |
console: Protect more consoles with CONFIGs
BUG=None
BRANCH=None
TEST=make buildall -j32
Space is limited, and having just the consoles which are active
makes debugging easier.
Change-Id: I0e519a54c12ba0b861ff4e75aa03b7483d4544c7
Signed-off-by: Myles Watson <mylesgw@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/362580
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Levi Oliver <levio@google.com>
-rw-r--r-- | include/console_channel.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc index 51c6df7c80..f6aefd7e6c 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -16,28 +16,38 @@ CONSOLE_CHANNEL(CC_EXTENSION, "extension") CONSOLE_CHANNEL(CC_CHARGER, "charger") CONSOLE_CHANNEL(CC_CHIPSET, "chipset") CONSOLE_CHANNEL(CC_CLOCK, "clock") +#ifdef CONFIG_DMA CONSOLE_CHANNEL(CC_DMA, "dma") +#endif CONSOLE_CHANNEL(CC_EVENTS, "events") #ifdef CONFIG_GESTURE_SW_DETECTION CONSOLE_CHANNEL(CC_GESTURE, "gesture") #endif CONSOLE_CHANNEL(CC_GPIO, "gpio") +#ifdef HAS_TASK_HOSTCMD CONSOLE_CHANNEL(CC_HOSTCMD, "hostcmd") +#endif +#ifdef CONFIG_I2C CONSOLE_CHANNEL(CC_I2C, "i2c") +#endif CONSOLE_CHANNEL(CC_KEYBOARD, "keyboard") CONSOLE_CHANNEL(CC_KEYSCAN, "keyscan") CONSOLE_CHANNEL(CC_LIDANGLE, "lidangle") #ifdef HAS_TASK_LIGHTBAR CONSOLE_CHANNEL(CC_LIGHTBAR, "lightbar") #endif +#ifdef CONFIG_LPC CONSOLE_CHANNEL(CC_LPC, "lpc") +#endif CONSOLE_CHANNEL(CC_MOTION_LID, "motionlid") CONSOLE_CHANNEL(CC_MOTION_SENSE, "motionsense") #ifdef HAS_TASK_PDCMD CONSOLE_CHANNEL(CC_PD_HOST_CMD, "pdhostcm") #endif CONSOLE_CHANNEL(CC_PORT80, "port80") +#if defined(CONFIG_PWM) || defined(CONFIG_FANS) CONSOLE_CHANNEL(CC_PWM, "pwm") +#endif CONSOLE_CHANNEL(CC_SPI, "spi") #ifdef CONFIG_RBOX CONSOLE_CHANNEL(CC_RBOX, "rbox") @@ -45,13 +55,17 @@ CONSOLE_CHANNEL(CC_RBOX, "rbox") #ifdef CONFIG_SPS CONSOLE_CHANNEL(CC_SPS, "sps") #endif +#if defined(CONFIG_SWITCH) || defined(CONFIG_LID_SWITCH) CONSOLE_CHANNEL(CC_SWITCH, "switch") +#endif CONSOLE_CHANNEL(CC_SYSTEM, "system") CONSOLE_CHANNEL(CC_TASK, "task") CONSOLE_CHANNEL(CC_THERMAL, "thermal") CONSOLE_CHANNEL(CC_TPM, "tpm") CONSOLE_CHANNEL(CC_USB, "usb") CONSOLE_CHANNEL(CC_USBCHARGE, "usbcharge") +#if defined(CONFIG_USB_POWER_DELIVERY) || defined(CONFIG_USB_PD_TCPC) CONSOLE_CHANNEL(CC_USBPD, "usbpd") +#endif CONSOLE_CHANNEL(CC_VBOOT, "vboot") CONSOLE_CHANNEL(CC_HOOK, "hook") |