diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 13:48:58 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-06 21:56:57 +0000 |
commit | 8c0e2f3c9164c95b9262d558aa6a667d310e3bf9 (patch) | |
tree | 4375ac8cf217855f7ce8921d0d528237744e2115 /board | |
parent | 7103bc89ed2a4460a606b62b63df02e7f0ecb3df (diff) | |
download | chrome-ec-8c0e2f3c9164c95b9262d558aa6a667d310e3bf9.tar.gz |
coil: remove fingerprint support
This code uses coil terms we're removing, but we don't use it in
platform/cr50. Remove the code instead of replacing the terms.
BUG=b:175244613
TEST=make buildall -j
Change-Id: I909e21693d839cb3769e680c58d9d34017802aa1
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613136
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/host/board.c | 6 | ||||
-rw-r--r-- | board/host/board.h | 1 | ||||
-rw-r--r-- | board/host/gpio.inc | 5 |
3 files changed, 0 insertions, 12 deletions
diff --git a/board/host/board.c b/board/host/board.c index cccb6f15ec..cc13414597 100644 --- a/board/host/board.c +++ b/board/host/board.c @@ -47,10 +47,6 @@ test_mockable void button_interrupt(enum gpio_signal signal) { } -test_mockable void fps_event(enum gpio_signal signal) -{ -} - #ifdef CONFIG_I2C /* I2C ports */ const struct i2c_port_t i2c_ports[] = { @@ -67,8 +63,6 @@ const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); #ifdef CONFIG_SPI_MASTER /* SPI devices */ const struct spi_device_t spi_devices[] = { - /* Fingerprint sensor (SCLK at 4Mhz) */ - { CONFIG_SPI_FP_PORT, 3, GPIO_SPI1_NSS }, }; const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); diff --git a/board/host/board.h b/board/host/board.h index 8ccdd40b80..e104872a14 100644 --- a/board/host/board.h +++ b/board/host/board.h @@ -89,7 +89,6 @@ enum { }; #define CONFIG_RNG -void fps_event(enum gpio_signal signal); /* Let the tests always check the other NVMEM slot. */ static inline int board_nvmem_legacy_check_needed(void){ return 1; } diff --git a/board/host/gpio.inc b/board/host/gpio.inc index bf2f974bd3..21b95e4c3e 100644 --- a/board/host/gpio.inc +++ b/board/host/gpio.inc @@ -14,8 +14,6 @@ GPIO_INT(AC_PRESENT, PIN(0, 2), GPIO_INT_BOTH, extpower_interrupt) GPIO_INT(VOLUME_DOWN_L, PIN(0, 3), GPIO_INT_BOTH, button_interrupt) GPIO_INT(VOLUME_UP_L, PIN(0, 4), GPIO_INT_BOTH, button_interrupt) GPIO_INT(CHARGE_DONE, PIN(0, 5), GPIO_INT_BOTH, inductive_charging_interrupt) -/* Fingerprint */ -GPIO_INT(FPS_INT, PIN(0, 14), GPIO_INT_RISING, fps_event) /* GPIOs for EC-CR50 communication */ GPIO_INT(EC_PACKET_MODE_EN, PIN(0, 16), GPIO_INT_RISING, ec_comm_packet_mode_en) @@ -32,7 +30,4 @@ GPIO(ENABLE_BACKLIGHT, PIN(0, 10), 0) GPIO(CHARGE_EN, PIN(0, 11), 0) GPIO(BASE_CHG_VDD_EN, PIN(0, 12), 0) -/* Fingerprint */ -GPIO(SPI1_NSS, PIN(0, 13), GPIO_OUT_HIGH) - GPIO(USB_C0_DISCHARGE, PIN(0, 15), 0) |