David Hendricks 250ce6dfc9 stm32l: Update gpio_pre_init to operate with explicit types
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
2012-04-13 14:46:33 -07:00
2012-04-13 10:24:11 -07:00
2012-04-13 10:24:12 -07:00
2012-04-13 14:46:33 -07:00
2012-02-14 11:46:16 -08:00
2011-12-08 19:18:06 +00:00
2011-10-20 15:15:01 +08:00

- 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
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%