mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
12f22933e30f169c214520324dc1570143744d38
We need to ignore sys_rst_l right now when we use the usb spi endpoint to update the AP or EC. We hold the EC and AP in reset and this causes sys_rst_l to be asserted at the start of updating the AP and when the EC comes out of reset. Using the USB SPI endpoint may require doing a bunch of transactions back to back. Cr50 should not reset itself between each one. This change postpones the reset until we're done using the usb spi endpoint. Once sys_rst_l just resets the TPM we can remove all of this. BUG=chrome-os-partner:52366 BUG=chrome-os-partner:54982 BRANCH=none TEST=manual verify 'util/flash_ec --board=kevin --raiden' updates the EC 'sudo flashrom -p raiden_debug_spi:target=AP -w $IMG' updates the AP The AP and cr50 reset after usb_spi is disabled. Change-Id: I68a76012bc7bf6d3abd073a70f0b90e440d72c49 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/364051 Reviewed-by: Bill Richardson <wfrichar@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%