mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
68ce71d642e7c8fa612b03799a91e3982e8c9854
Since ec doesn't support old-style host command, this CL removes unsupported parts in npcx's lpc driver and lets the hand-shaking mechanism between host and ec as easy as possible. It makes sure only following conditions that ec can clear processing bit of host command. 1. Received LRESET signal. 2. In lpc_init() initialization function caused by sysjump. 3. If command is valid, it will be cleared in lpc_send_response_packet() called by host command task. 4. If command is invalid, it will be cleared in lpc_send_response() after the response package is ready. BRANCH=none BUG=chrome-os-partner:34346 TEST=make BOARD=wheatley; do stress test on wheatley. Change-Id: I53d17fd9e09b7fb080e4bf71437392bf43db6258 Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/422707 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Randall Spangler <rspangler@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%