mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
8bb26a29b04c39a81c4094de9d7fba5f85123f54
Before sysjump we need to send a soft reset to any attached devices and then disable PD communication so that we don't re-negotiate again before the sysjump. This will guarantee expected message ID is cleared for after the sysjump. This also moves executing soft reset from before sending the soft reset command to after the port partner accepts a soft reset. BUG=none BRANCH=samus TEST=test on samus. without this change, when sysjumping the PD MCU has time to re-negotiate (at least partially) before the sysjump, which causes various problems. with this change, when sysjumping, the PD MCU sends soft reset, and then does not send anything else. Change-Id: Id7a60c62c8908ee4ab33dfbe995ef136b0aa83de Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/233751
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%