the following patch was just integrated into master: commit 55ad9724322739a862745a71806af8d9a870601b Author: Duncan Laurie dlaurie@chromium.org Date: Tue Apr 23 13:43:23 2013 -0700
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
See http://review.coreboot.org/4138 for details.
-gerrit