Files
OpenCellular/util
Wai-Hong Tam 9102494be2 flash_ec: stm32/npcx_uut: Set ec_boot_mode to off on exit
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>
2018-05-30 01:02:48 -07:00
..
2016-06-02 17:02:51 -07:00
2018-03-29 19:51:40 -07:00
2018-05-28 07:30:36 -07:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-12-08 12:28:57 -08:00
2018-05-18 10:05:13 -07:00
2018-05-18 10:05:13 -07:00
2016-02-10 18:19:24 -08:00
2018-05-22 15:54:09 -07:00
2012-11-01 14:09:34 -07:00
2016-02-05 06:02:49 -08:00
2014-02-17 17:35:43 +00:00
2017-06-28 21:50:50 -07:00
2017-09-15 08:46:32 -07:00
2016-02-05 06:02:49 -08:00