summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/flash_ec2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 723dfa0715..029ca780d4 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -208,7 +208,7 @@ function flash_stm32() {
# Reset the EC
ec_reset
# Unprotect flash, erase, and write
- ${STM32MON} -d ${EC_UART} -u -e -w ${IMG}
+ ${STM32MON} -d ${EC_UART} -u -e -w "${IMG}"
}
function flash_link() {