diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-08 19:05:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-13 22:22:11 -0700 |
commit | 91bd09c856cda8393c45c25e3f8b04082b6f3b74 (patch) | |
tree | 7fed3e9a6644cc1a5a73dd4578a226bb2090d5c2 /cts | |
parent | 8229bdf775cd8d85af88c6e221930c83c10f37f3 (diff) | |
download | chrome-ec-91bd09c856cda8393c45c25e3f8b04082b6f3b74.tar.gz |
Cr50: Add clean functions to hold EC/AP in reset
This moves the various GPIO/PINMUX reconfigurations needed to
occasionally drive a common-pulldown signal into a set of clean
functions. There's no new functionality, it's just abstracting
the control of SYS_RST_L and EC_RST_L into specific functions.
BUG=none
CQ-DEPEND=CL:380484
BRANCH=none
TEST=make buildall; test on relevant hardware
I tested this on Gru, Kevin, and Reef, and it works correctly in
all cases. I used flashrom over CCD to update both AP and EC
firmware on each of those systems.
If you just want a quick check, you can run this instead:
sudo flashrom -p raiden_debug_spi:target=AP --flash-name
sudo flashrom -p raiden_debug_spi:target=EC --flash-name
Change-Id: I15fa3b2089d10649bfd17f442e3b261f3b62b92e
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/382665
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'cts')
0 files changed, 0 insertions, 0 deletions