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. BUG=chrome-os-partner:16862 BRANCH=none TEST=manual: build and boot on wtm2 mainboard 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> |
||
|---|---|---|
| .. | ||
| a-trend | ||
| aaeon | ||
| abit | ||
| advansus | ||
| advantech | ||
| amd | ||
| aopen | ||
| arima | ||
| artecgroup | ||
| asi | ||
| asrock | ||
| asus | ||
| avalue | ||
| axus | ||
| azza | ||
| bachmann | ||
| bcom | ||
| bifferos | ||
| biostar | ||
| broadcom | ||
| compaq | ||
| digitallogic | ||
| eaglelion | ||
| ecs | ||
| emulation | ||
| getac | ||
| gigabyte | ||
| hp | ||
| ibase | ||
| ibm | ||
| iei | ||
| intel | ||
| iwave | ||
| iwill | ||
| jetway | ||
| kontron | ||
| lanner | ||
| lenovo | ||
| lippert | ||
| mitac | ||
| msi | ||
| nec | ||
| newisys | ||
| nokia | ||
| nvidia | ||
| pcengines | ||
| rca | ||
| roda | ||
| samsung | ||
| siemens | ||
| soyo | ||
| sunw | ||
| supermicro | ||
| technexion | ||
| technologic | ||
| televideo | ||
| thomson | ||
| traverse | ||
| tyan | ||
| via | ||
| winent | ||
| wyse | ||
| Kconfig | ||