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 <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/583540
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
This commit is contained in:
Aseda Aboagye
2017-07-24 12:44:28 -07:00
committed by chrome-bot
parent 43081fded2
commit 15c3bec8a5

View File

@@ -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