mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
97a49113d937774aacebd2a5c92e2e15d0e39464
GPIO mode and pull-up/down registers do not all get initialized to zero on reset. This patch ensures that all bits in the those registers are set explicitly. An intermediate variable is used so that changes are made atomically. Note: output speed registers are also not all initialized to zero, but we don't handle that in gpio_pre_init yet. BUG=none TEST=tested on newer daisy boards (which needed this patch to boot) Change-Id: Ice2795197135dcee8f8484e4908dbfcf90fec2c9 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%