mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
391925a1cbc1d8087e2087781ee01cc2862461fc
Rework to call functions in flash_common.c. Also fixed a bug in parsing size of parse_offset_size(). Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> BUG=chrome-os-partner:8448 TEST=on link (CONSOLE) flashwp set 0x3d000 0x1000 (CONSOLE) flashwp lock (HOST) flashrom -p internal:bus=lpc --wp-status WP: write protect is enabled WP: write protect range: start=0x0003d000, len=0x00001000 Change-Id: I4a53735c851ebf4bb0c01a55a1d301d5b706ee0c
- 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%