From 15c3bec8a52fae390cb759c6eba7f52216319b54 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Mon, 24 Jul 2017 12:44:28 -0700 Subject: [PATCH] flash_ec: Fix common_stm32_VARS definition. In the recent change to flash_ec, there was a problem with they way that common_stm32_VARS was defined. This commit fixes the issue. BUG=chromium:740026 BRANCH=potentially some FW branches. TEST=Using servo_v2, flash elm. Change-Id: I2e14f1f45525f494d9912b420d36d02d89b9dc5a Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/583540 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Nicolas Boichat --- util/flash_ec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/flash_ec b/util/flash_ec index ecf3611b71..6ec1b20953 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -434,8 +434,8 @@ servo_v4_with_ccd_cr50_VARS= # Flashing an STM32 over the UART requires modifying the UART properties along # with the boot mode pin. if [ "${CHIP}" = "stm32" ] ; then - common_stm32_VARS=" ${MCU}_uart_en ${MCU}_uart_parity " \ - "${MCU}_uart_baudrate" + common_stm32_VARS=" ${MCU}_uart_en ${MCU}_uart_parity" + common_stm32_VARS+=" ${MCU}_uart_baudrate" servo_v2_VARS+=$common_stm32_VARS servo_v2_VARS+=" ${MCU}_boot_mode" servo_micro_VARS+=$common_stm32_VARS