From 544eb013c83fbd2fcb3ea485cb6e271ece931083 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 28 Jan 2021 16:47:56 -0800 Subject: dartmonkey: Use SPI_SEL to configure fingerprint sensor SPI BRANCH=none BUG=b:177908650 TEST=Fingerprint sensor works on Icetower v0.1 TEST=Fingerprint sensor works on nocturne Signed-off-by: Tom Hughes Change-Id: Ie9a7acb9bf4de1295fd245eb55e12ff8e7d2524a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2645691 Reviewed-by: Craig Hesling --- board/hatch_fp/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/hatch_fp') diff --git a/board/hatch_fp/board.c b/board/hatch_fp/board.c index 51eeb4ce99..8bdc4cf190 100644 --- a/board/hatch_fp/board.c +++ b/board/hatch_fp/board.c @@ -67,7 +67,7 @@ void slp_event(enum gpio_signal signal) #include "gpio_list.h" /* SPI devices */ -const struct spi_device_t spi_devices[] = { +struct spi_device_t spi_devices[] = { /* Fingerprint sensor (SCLK at 4Mhz) */ { .port = CONFIG_SPI_FP_PORT, .div = 3, .gpio_cs = GPIO_SPI2_NSS } }; -- cgit v1.2.1