mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
f5da4daf8cf0ea28a813e36f23a69612a100b55b
There's a small period between ec cleared EC_LPC_CMDR_BUSY status bit for sysjump and executed notify hook function to let lpc driver disable lpc's interrupts. If ec received a new host command in this period, EC_LPC_CMDR_BUSY status bit has chance not to be cleared since ec already jumped to the the other region. In case ec and host enter dead-lock loop, we need to clear it on lpc_init(). Since HIPMnST only can be reset by core domain reset, it's better to clear EC_LPC_CMDR_BUSY status bit when LRESET asserted. It makes host can reset host command mechanism if something wrong. BRANCH=none BUG=chrome-os-partner:60928 TEST=make BOARD=reef; pass the tests mentioned in issue #60928 Change-Id: I08ac0515cb2cfee277a7c7704d131574d928fb6b Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/419908 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%