diff options
author | Scott Collyer <scollyer@google.com> | 2020-03-06 13:49:16 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-09 16:23:33 +0000 |
commit | 1a1b1e9704db2a2639a5c6857327c95a01f5f079 (patch) | |
tree | 398fa3cc886e89e043a09efb65daa07f083f4866 /common/cbi.c | |
parent | e28e9252c24e30c1cde19b1d968deae36eefa20e (diff) | |
download | chrome-ec-firmware-hatch-12672.117.B.tar.gz |
bq25710: Do not soft reset when running out of RW imagefirmware-hatch-12672.117.B
The bq25710 does not have a reset pin and therefore it's only
following a power on reset that its registers are reset. The
driver's init function executes a soft reset of the bq25710
to ensure that register settings following either an EC reboot
or power on reset are the same.
However, this is happening when the EC is in RO or RW, and there is
no need to do this in RW. This CL adds a check around the soft reset
so that it's only done in R0.
BUG=b:148189096
BRANCH=firmware-hatch-12672.B
TEST=Verified that low power mode no longer gets reenabled following
the jump to RW.
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I78a7484d3e44147cf350b785889f0f913b03bd06
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2092213
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2094836
Tested-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'common/cbi.c')
0 files changed, 0 insertions, 0 deletions