diff options
-rw-r--r-- | common/ec_features.c | 3 | ||||
-rw-r--r-- | include/config.h | 4 | ||||
-rw-r--r-- | include/console_channel.inc | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/common/ec_features.c b/common/ec_features.c index ff97df44cf..28ed2a1364 100644 --- a/common/ec_features.c +++ b/common/ec_features.c @@ -122,6 +122,9 @@ uint32_t get_feature_flags1(void) #ifdef CONFIG_EXTERNAL_STORAGE | EC_FEATURE_MASK_1(EC_FEATURE_EXEC_IN_RAM) #endif +#ifdef CONFIG_CEC + | EC_FEATURE_MASK_1(EC_FEATURE_CEC) +#endif ; #ifdef CONFIG_EC_FEATURE_BOARD_OVERRIDE result = board_override_feature_flags1(result); diff --git a/include/config.h b/include/config.h index 360e8ccc7e..83a9dbf7df 100644 --- a/include/config.h +++ b/include/config.h @@ -484,6 +484,10 @@ #undef CONFIG_CAPSENSE /*****************************************************************************/ +/* Support CEC */ +#undef CONFIG_CEC + +/*****************************************************************************/ /* Compile charge manager */ #undef CONFIG_CHARGE_MANAGER diff --git a/include/console_channel.inc b/include/console_channel.inc index b8412cf335..080da34821 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -16,6 +16,9 @@ CONSOLE_CHANNEL(CC_BLUETOOTH_LL, "bluetooth_ll") CONSOLE_CHANNEL(CC_BLUETOOTH_HCI,"bluetooth_hci") #endif #endif /* CONFIG_BLUETOOTH_LE */ +#ifdef CONFIG_CEC +CONSOLE_CHANNEL(CC_CEC, "cec") +#endif #ifdef CONFIG_EXTENSION_COMMAND CONSOLE_CHANNEL(CC_EXTENSION, "extension") #endif |