diff options
author | Patryk Duda <pdk@semihalf.com> | 2021-12-27 14:36:46 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-29 21:49:41 +0000 |
commit | 7215d6e0e402dfcb7ad707388871a69dea2ce3b2 (patch) | |
tree | 73236e1d1a4e4b5f32cb67c9fe17802b0ea1deec | |
parent | a37797b99b45effaefc9e4a3e1b7ceccaf80c739 (diff) | |
download | chrome-ec-stabilize-14388.61.B-main.tar.gz |
flash_fp_mcu: Fix FPMCU flashing on Nami (14375.0.0 and later)stabilize-14388.62.B-mainstabilize-14388.61.B-mainstabilize-14388.52.B-mainrelease-R98-14388.B-main
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>
(cherry picked from commit b1e74a6d16d5b9fd39c3b3646c50b90eebd5efa7)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3358580
Commit-Queue: Patryk Duda <patrykd@google.com>
Tested-by: Patryk Duda <patrykd@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 902f3697dd..41f48583d2 100644 --- a/util/flash_fp_mcu +++ b/util/flash_fp_mcu @@ -491,7 +491,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 |