diff options
author | Tom Hughes <tomhughes@chromium.org> | 2019-04-12 16:21:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-26 04:19:09 -0700 |
commit | 696d45e6306c7cdb40024b94ec7a16327001a038 (patch) | |
tree | 0e2a155e6e8007c6d7e324ceacde7d469fe5060a /board/nami_fp | |
parent | 8c50dc29cb6f7cdb077fe9ba49425404ae98207b (diff) | |
download | chrome-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/nami_fp')
-rwxr-xr-x | board/nami_fp/flash_fp_mcu | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/nami_fp/flash_fp_mcu b/board/nami_fp/flash_fp_mcu index eeb65764d9..70e9824597 100755 --- a/board/nami_fp/flash_fp_mcu +++ b/board/nami_fp/flash_fp_mcu @@ -12,8 +12,6 @@ if [[ -e "/sys/class/gpio/${KBL_GPIOCHIP}" ]]; then # Ekko configuration echo "NOTE: For use with updating FP MCU on NAMI boards only" readonly SPIDEV="/dev/spidev32765.0" - # GSPI1 ACPI device for FP MCU - readonly SPIID="spi-PRP0001:02" # FPMCU RST_ODL is on GPP_C9 = 360 + 57 = 417 readonly GPIO_NRST=417 # FPMCU BOOT0 is on GPP_D5 = 360 + 77 = 437 @@ -27,7 +25,6 @@ fi flash_fp_mcu_stm32 \ "${SPIDEV}" \ - "${SPIID}" \ "${GPIO_NRST}" \ "${GPIO_BOOT0}" \ "${GPIO_PWREN}" \ |