diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-10-29 16:31:10 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-30 20:27:32 +0000 |
commit | 7428f14d3db1d8c70c826f5adad25a4f6fbf7766 (patch) | |
tree | bd798ba37c8da4844acca0c04e4514c33b169344 /include/console_channel.inc | |
parent | 8dcad3805d366c4044ede8aaec18c03544a19e4e (diff) | |
download | chrome-ec-7428f14d3db1d8c70c826f5adad25a4f6fbf7766.tar.gz |
include/config.h: Replace CONFIG_FP_SENSOR with CONFIG_FINGERPRINT_MCU
CONFIG_FP_SENSOR was only enabled for RW, but we need a way to know
whether the board is a fingerprint MCU when in RO as well.
"FINGERPRINT_MCU" is a bit more generic than FP_SENSOR. We still only
build the matching-related code for RW.
BRANCH=none
BUG=b:171370392
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I808faa7a16522791cfb4eb9cc2e163d9eb994804
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2508860
Reviewed-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Diffstat (limited to 'include/console_channel.inc')
-rw-r--r-- | include/console_channel.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc index e240bf4546..8d7cd66a01 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -33,7 +33,7 @@ CONSOLE_CHANNEL(CC_DMA, "dma") #if defined(CONFIG_DEVICE_EVENT) || defined(CONFIG_HOSTCMD_EVENTS) CONSOLE_CHANNEL(CC_EVENTS, "events") #endif -#if defined(HAS_TASK_FPSENSOR) || defined(CONFIG_FP_SENSOR) +#if defined(HAS_TASK_FPSENSOR) || defined(CONFIG_FINGERPRINT_MCU) CONSOLE_CHANNEL(CC_FP, "fingerprint") #endif #ifdef CONFIG_GESTURE_SW_DETECTION |