diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-04-23 13:43:23 -0700 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-11-24 08:02:51 +0100 |
commit | 55ad9724322739a862745a71806af8d9a870601b (patch) | |
tree | 25f1943cf8e639f363b4d475e38c25e34a5f651a /src/device/pci_device.c | |
parent | 0edc22490a643c4b4c6181c42eed375485f9e0e4 (diff) |
lynxpoint: Rework LP GPIO handling
This adds some macros for the common GPIO defines and drops
the gpio number definition from each entry. The end result
is much easier to read. The wtm2 mainboard gpio list is modified
to use this.
Also fix a bug in the LP version of get_gpio() that was always
returning zero due to a miscompare.
Change-Id: I143e5aee412af1eda84e35f8026f31cf13df508e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48946
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4138
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/device/pci_device.c')
0 files changed, 0 insertions, 0 deletions