diff options
Diffstat (limited to 'board/host')
-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) |