mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
250ce6dfc968b6b5aebc942be9054a73ad147902
This re-works the gpio_pre_init() function to do the following: - Works on explicit types introduced in the previous CL. This will allow more flexibility so that we can remove GPIO initialization done outside of board.c. - Separates handling of direction (in/out) and other port config options such as pull-up/down, open-drain/push-pull, etc. - Moves setting port as input/output and setting level (if required) to the very end to avoid driving certain outputs high before they've been properly configured. Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=none TEST=Tested on daisy (using subsequent patches in this series). Change-Id: I7ed030b5cb52c201a0b3aa07f515f5f954430083
- 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%