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 /board/nocturne_fp | |
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 'board/nocturne_fp')
-rw-r--r-- | board/nocturne_fp/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/nocturne_fp/board.h b/board/nocturne_fp/board.h index 1774e8483f..3f4bda0b41 100644 --- a/board/nocturne_fp/board.h +++ b/board/nocturne_fp/board.h @@ -115,6 +115,8 @@ /* SPI configuration for the fingerprint sensor */ #define CONFIG_SPI_MASTER #define CONFIG_SPI_FP_PORT 2 /* SPI4: third master config */ + +#define CONFIG_FINGERPRINT_MCU #ifdef SECTION_IS_RW #define CONFIG_FP_SENSOR_FPC1145 #define CONFIG_CMD_FPSENSOR_DEBUG |