summaryrefslogtreecommitdiff
path: root/board/nucleo-dartmonkey
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-10-29 16:31:10 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-30 20:27:32 +0000
commit7428f14d3db1d8c70c826f5adad25a4f6fbf7766 (patch)
treebd798ba37c8da4844acca0c04e4514c33b169344 /board/nucleo-dartmonkey
parent8dcad3805d366c4044ede8aaec18c03544a19e4e (diff)
downloadchrome-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/nucleo-dartmonkey')
-rw-r--r--board/nucleo-dartmonkey/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/nucleo-dartmonkey/board.h b/board/nucleo-dartmonkey/board.h
index 00ef075129..6466b6280e 100644
--- a/board/nucleo-dartmonkey/board.h
+++ b/board/nucleo-dartmonkey/board.h
@@ -35,6 +35,8 @@
#define CONFIG_SPI_MASTER
#define CONFIG_SPI_FP_PORT 2 /* SPI4: third master config */
+#define CONFIG_FINGERPRINT_MCU
+
#ifdef SECTION_IS_RW
/* Select fingerprint sensor */
# define CONFIG_FP_SENSOR_FPC1145