summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhanu Prakash Maiya <bhanumaiya@chromium.org>2021-03-17 15:59:10 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-18 16:32:37 +0000
commit467421d6302167ab5ac75d0b3ccf6466946d7c7c (patch)
tree0d720cce317be87dfd1e79af90df1828147c5c01
parentbcb0249efd09fa9fc844f047e87adad99d139149 (diff)
downloadchrome-ec-release-R89-13729.B-main.tar.gz
The dw-apb-uart node was changed to match UEFI naming convention. BRANCH=none BUG=b:181349369 TEST=1. Run flash_fp_mcu on Zork device with FW 13434.212 and TOT OS image. Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Change-Id: I33c313a8de3842c37611199a7ffd31be4cd50f3f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2770510 Commit-Queue: Raul E Rangel <rrangel@chromium.org> Reviewed-by: Raul E Rangel <rrangel@chromium.org>
-rw-r--r--util/flash_fp_mcu6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/flash_fp_mcu b/util/flash_fp_mcu
index 1d7f51da91..030817c138 100644
--- a/util/flash_fp_mcu
+++ b/util/flash_fp_mcu
@@ -219,9 +219,9 @@ flash_fp_mcu_stm32() {
sleep 0.001
if [[ "${transport}" == "UART" ]]; then
- # load AMD0020:01 ttyS1
- echo AMD0020:01 > /sys/bus/platform/drivers/dw-apb-uart/unbind;
- echo AMD0020:01 > /sys/bus/platform/drivers/dw-apb-uart/bind;
+ # load AMDI0020:01 ttyS1
+ echo AMDI0020:01 > /sys/bus/platform/drivers/dw-apb-uart/unbind;
+ echo AMDI0020:01 > /sys/bus/platform/drivers/dw-apb-uart/bind;
else
# load spidev (fail on cros-ec-spi first to change modalias)
echo "${deviceid}" > /sys/bus/spi/drivers/cros-ec-spi/bind 2>/dev/null