diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/hatch_fp/board_rw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/hatch_fp/board_rw.c b/board/hatch_fp/board_rw.c index 35709860e3..4c83c8723c 100644 --- a/board/hatch_fp/board_rw.c +++ b/board/hatch_fp/board_rw.c @@ -46,6 +46,15 @@ static void configure_fp_sensor_spi(void) void board_init_rw(void) { + /* + * FP_RST_ODL pin is defined in gpio_rw.inc (with GPIO_OUT_HIGH + * flag) but not in gpio.inc, so RO leaves this pin set to 0 (reset + * default), but RW doesn't initialize this pin to 1 because sysjump + * to RW is a warm reset (see gpio_pre_init() in chip/stm32/gpio.c). + * Explicitly reset FP_RST_ODL pin to default value. + */ + gpio_reset(GPIO_FP_RST_ODL); + /* Configure and enable SPI as master for FP sensor */ configure_fp_sensor_spi(); } |