diff options
author | Tzung-Bi Shih <tzungbi@chromium.org> | 2019-05-17 11:20:46 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-17 14:56:56 +0000 |
commit | 6b74ac1f7bbda42d0e6715f350ab7bf1493d70b7 (patch) | |
tree | 91f9f67f151d3e8f19c190a811118584948552f3 /include/console_channel.inc | |
parent | 6a47d9e360b5f64a3ea0fa9bc32cbab3cd623fe0 (diff) | |
download | chrome-ec-6b74ac1f7bbda42d0e6715f350ab7bf1493d70b7.tar.gz |
audio_codec: add common abstract layer
Common utilities:
- register shared memory (SHM)
- console channel
Common host commands:
- get_capabilities
- get_shm_addr
- set_shm_addr
BRANCH=none
BUG=b:122027734, b:123268236
TEST=1. define CONFIG_AUDIO_CODEC in board.h
2. make BOARD=kukui_scp -j
Change-Id: I90e3e112bf8fdffc13eb486e0c608c264650768b
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1616882
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Sean Abraham <seanabraham@chromium.org>
Diffstat (limited to 'include/console_channel.inc')
-rw-r--r-- | include/console_channel.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc index 0f931e88f7..21059fc64e 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -7,6 +7,9 @@ CONSOLE_CHANNEL(CC_COMMAND, "command") CONSOLE_CHANNEL(CC_ACCEL, "accel") +#ifdef CONFIG_AUDIO_CODEC +CONSOLE_CHANNEL(CC_AUDIO_CODEC, "audio_codec") +#endif #ifdef CONFIG_BLUETOOTH_LE CONSOLE_CHANNEL(CC_BLUETOOTH_LE, "bluetooth_le") #ifdef CONFIG_BLUETOOTH_LL_DEBUG |