summaryrefslogtreecommitdiff
path: root/board/hatch_fp
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-04-12 16:21:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-26 04:19:09 -0700
commit696d45e6306c7cdb40024b94ec7a16327001a038 (patch)
tree0e2a155e6e8007c6d7e324ceacde7d469fe5060a /board/hatch_fp
parent8c50dc29cb6f7cdb077fe9ba49425404ae98207b (diff)
downloadchrome-ec-696d45e6306c7cdb40024b94ec7a16327001a038.tar.gz
flash_fp_mcu: use modalias to detect FP spiid
During bringup there was a point where the spiid for the fingerprint sensor changed between devices (apparently due to broken TPM firmware since the TPM is usually the first SPI device)). This resulted in non-obvious failures when running flash_fp_mcu since many other things were also not working. BRANCH=none BUG=chromium:955117 TEST=emerge-nocturne ec-utils-test && cros deploy nocturne ec-utils-test flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin Change-Id: I9161361e2c66de200f618c00074eeb42a9ecb29b Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1566653 Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to 'board/hatch_fp')
-rw-r--r--board/hatch_fp/flash_fp_mcu3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/hatch_fp/flash_fp_mcu b/board/hatch_fp/flash_fp_mcu
index 7b014961bf..2a3c11564f 100644
--- a/board/hatch_fp/flash_fp_mcu
+++ b/board/hatch_fp/flash_fp_mcu
@@ -12,8 +12,6 @@ if [[ -e "/sys/class/gpio/${KBL_GPIOCHIP}" ]]; then
# Hatch configuration
echo "NOTE: For use with updating FP MCU on HATCH boards only"
readonly SPIDEV="/dev/spidev1.1"
- # GSPI1 ACPI device for FP MCU
- readonly SPIID="spi-PRP0001:01"
# FPMCU RST_ODL is on GPP_A12 = 200 + 12 = 212
readonly GPIO_NRST=212
# FPMCU BOOT0 is on GPP_A22 = 200 + 22 = 222
@@ -27,7 +25,6 @@ fi
flash_fp_mcu_stm32 \
"${SPIDEV}" \
- "${SPIID}" \
"${GPIO_NRST}" \
"${GPIO_BOOT0}" \
"${GPIO_PWREN}" \