coreboot-kgpe-d16/src/mainboard
Duncan Laurie 55ad972432 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>
2013-11-24 08:02:51 +01:00
..
a-trend x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
aaeon AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
abit x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
adlink FrontRunner/Toucan-AF: boards will be renamed to fit ADLINK scheme 2013-04-09 23:56:14 +02:00
advansus AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
advantech x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
amd amd/olivehill: Fix the double spaces in copyright header 2013-11-24 06:07:15 +01:00
aopen usbdebug: Quirk for board aopen/dxplplusu 2013-06-12 05:22:46 +02:00
arima AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
artecgroup AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
asi x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
asrock AMD f15tn, f16kb: Remove CDIT table and DMI table 2013-11-22 20:29:06 +01:00
asus AMD f15tn, f16kb: Remove CDIT table and DMI table 2013-11-22 20:29:06 +01:00
avalue AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
axus x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
azza x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
bachmann OT200: bring LEDs into a defined state 2013-06-10 08:45:50 +02:00
bcom x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
bifferos x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
biostar x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
broadcom get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
compaq x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
digitallogic AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
dmp dmp/vortex86ex: Move DMP specific POST code defines into one file 2013-11-24 05:36:36 +01:00
eaglelion x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
ecs GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
emulation qemu: set smbios entries from fw_cfg 2013-11-18 12:50:42 +01:00
getac smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
gigabyte get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
google smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
hp Include boot_cpu.c for romstage builds 2013-08-15 20:49:03 +02:00
ibase CBMEM: Drop parameter from cbmem_reinit() 2013-09-11 07:20:25 +02:00
ibm AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
iei Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
intel lynxpoint: Rework LP GPIO handling 2013-11-24 08:02:51 +01:00
iwave Move select MMCONF_SUPPORT under northbridge 2013-07-03 19:34:11 +02:00
iwill get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
jetway Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
kontron smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
lanner x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
lenovo smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
lippert AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
mitac GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
msi get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
nec GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
newisys AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
nokia x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
nvidia Include boot_cpu.c for romstage builds 2013-08-15 20:49:03 +02:00
pcengines PC Engines ALIX.1C: Add CMOS defaults. 2013-06-04 21:31:57 +02:00
rca x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
roda smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
samsung smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
siemens Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
soyo x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
sunw get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
supermicro get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
technexion Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
technologic x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
televideo x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
thomson Drop llshell 2013-05-20 08:42:28 +02:00
ti beaglebone: Stop reinitializing the console in bootblock.c. 2013-09-17 01:00:39 +02:00
traverse AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
tyan get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
via Revert "CBMEM: Always have early initialisation" 2013-10-14 17:16:22 +02:00
winent winent-mb6047: initial WIN Enterprises MB-60470 board port 2013-10-19 16:10:56 +02:00
wyse GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Kconfig SMBIOS: Clarify prompts and help texts for Serial and Version Numbers 2013-07-18 10:23:18 +02:00