coreboot-kgpe-d16/src/mainboard/apple/macbook21
Arthur Heymans 62902ca45d sb/ich7: Use common/gpio.h to set up GPIOs
This is more consistent with newer Intel targets.

This a static struct so it is initialized to 0 by default.
To make it more readable:
* only setting to GPIO mode is made explicit;
* only pins in GPIO mode are either set to input or output since this
  is ignored in native mode;
* only output pins are set high or low, since this is read-only on
  input;
* blink is only operational on output pins, non-blink is not set
  explicitly;
* invert is only operational on input pins, non-invert is not set
  explicitly.

Change-Id: I05f9c52dee78b7120b225982c040e3dcc8ee3e4e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/17639
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2017-01-06 18:14:00 +01:00
..
acpi mainboard/apple: add license headers 2016-04-21 00:07:45 +02:00
acpi_tables.c
board_info.txt
cmos.default i945: Enable changing VRAM size 2016-08-31 20:01:05 +02:00
cmos.layout i945: Enable changing VRAM size 2016-08-31 20:01:05 +02:00
devicetree.cb nb/intel/i945: Make pci_mmio_size a devicetree parameter 2016-12-11 14:17:06 +01:00
dsdt.asl
gpio.c sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
hda_verb.c apple/imac52: add mainboard 2016-10-02 19:06:55 +02:00
Kconfig intel cache-as-ram: Move DCACHE_RAM_BASE 2016-12-18 20:52:01 +01:00
Kconfig.name
mainboard.c
Makefile.inc sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
mptable.c mainboard/*/*/mptable.c: Improve code formatting 2016-09-26 13:32:21 +02:00
romstage.c sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
smihandler.c