diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-05-22 15:52:10 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-30 01:02:48 -0700 |
commit | 9102494be2821ca3bce1662d8595e8c5e0addae5 (patch) | |
tree | 5a2ba0fa2bdb3867d8c995f822cafe8561466852 /util/host_command_check.sh | |
parent | 1e58d25a59cfcc407de56ff85e0a84a77a427d96 (diff) | |
download | chrome-ec-9102494be2821ca3bce1662d8595e8c5e0addae5.tar.gz |
flash_ec: stm32/npcx_uut: Set ec_boot_mode to off on exitstabilize-nocturne.10736.Bstabilize-atlas.10736.B
The ec_boot_mode is used for flashing EC on STM32 and NPCX chips.
The ec_boot_mode pin is an open-drain GPIO. Doing save/restore is
destructive. For example, if DUT is unpowered (ec_boot_mode is "on"),
doing save/restore will force it outputting to "on". We should not
put it to the save/restore list. Instead, set it back to "off" on
exit.
BRANCH=none
BUG=b:80305869
TEST=Ran flash_ec when DUT is unpowered -> failed as expected.
Reran again when powered. Checked EC UART showed-up afterward.
Change-Id: Iecf4b663fe9ae75a673a29a66505a4121d29888c
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1073646
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util/host_command_check.sh')
0 files changed, 0 insertions, 0 deletions