mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
e89695416525f416d3856791f2b024d8343cceec
This is a hack to avoid issues caused by incompatible messaging protocol updates. During protocol development, the length of a packet changed which could cause the system to hang (or other issues) if the host requested the wrong number of bytes from the EC. This avoids the issue with development versions of the protocol, by simply making the EC unresponsive on the old port. BUG=none TEST=Tested on Daisy 1.02 and EVT1 Change-Id: I96495d4c2bd14b377bef862801934d5168cb6cc7 Signed-off-by: David Hendricks <dhendrix@chromium.org>
- EC Lib
This wraps Blizzard driverlib and implements the EC chip interface defined
by Google. See below diagram for architecture.
+--------------------+
| Host BIOS/OS |
+--------------------+
---- host interface ----
+--------------------+
| Google EC features |
+--------------------+
---- chip interface ---- The interface is defined in
src/platform/ec/chip_interface/*.
+--------------------+ But the real implementation is in EC Lib.
| EC Lib |
+--------------------+
| Blizzard low level |
| driver, the |
| driverlib. |
+--------------------+
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%