diff options
author | Patryk Duda <pdk@semihalf.com> | 2021-12-27 14:36:46 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-28 19:04:10 +0000 |
commit | b1e74a6d16d5b9fd39c3b3646c50b90eebd5efa7 (patch) | |
tree | 2c6508619a21b0568282bc06442a0ce6183b9e06 | |
parent | 4405e6cdefadb54739ddb26598420a97bee525df (diff) | |
download | chrome-ec-b1e74a6d16d5b9fd39c3b3646c50b90eebd5efa7.tar.gz |
flash_fp_mcu: Fix FPMCU flashing on Nami (14375.0.0 and later)
Starting from R98-14375.0.0 the default overlay for Nami switched
from 4.4 kernel to 5.4 kernel
(https://chrome-internal-review.googlesource.com/c/4237358).
Update DEVICE constant in nami config script to /dev/spidev1.0 which is
correct value for 5.4 kernel.
BUG=b:208680160 b:210526861
BRANCH=none
TEST=Run 'flash_fp_mcu --noservices' on board from Nami family
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I3f819c4a6fb291fd4308a9895590446e9de1ab31
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3358575
Reviewed-by: Josie Nordrum <josienordrum@google.com>
Commit-Queue: Josie Nordrum <josienordrum@google.com>
-rw-r--r-- | util/flash_fp_mcu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_fp_mcu b/util/flash_fp_mcu index dded273313..d39feedeec 100644 --- a/util/flash_fp_mcu +++ b/util/flash_fp_mcu @@ -509,7 +509,7 @@ config_herobrine() { config_nami() { readonly TRANSPORT="SPI" - readonly DEVICE="/dev/spidev32765.0" + readonly DEVICE="/dev/spidev1.0" readonly GPIO_CHIP="gpiochip360" # FPMCU RST_ODL is on GPP_C9 = 360 + 57 = 417 |