diff options
author | Caveh Jalali <caveh@google.com> | 2017-08-24 02:15:36 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-29 22:08:20 -0700 |
commit | c1e5671e561c82c9532cb29b17fc7cf4061ab20a (patch) | |
tree | 22348963ba0441bf7c4f93e1c88d481438c78b3e /util | |
parent | c191bf9f4d5b4c2e45583820307d95592d2221ba (diff) | |
download | chrome-ec-c1e5671e561c82c9532cb29b17fc7cf4061ab20a.tar.gz |
anx3429: force chip reset on PD_RESUME
we need to properly restart the anx3429 after a firmware update.
simply initializing the chip doesn't seem to get it to reload its
firmware - at least not the portion of the chip that implements the
firmware version register. so, we explicitly power down and reset the
chip before reinitializing it to force it to run the new firmware.
the chip also needs a 10ms "off" time so the reset is properly seen by
the chip, so i did a light refactoring of the code paths that reset
the anx3429.
TEST=used 2 different firmware blobs and verified it switches between
them during software sync.
BRANCH=none
BUG=b:35586895
Change-Id: I967898dd906f21bdc5bc4ce9c1dff9f873d198c1
Signed-off-by: Caveh Jalali <caveh@google.com>
Reviewed-on: https://chromium-review.googlesource.com/631976
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions