coreboot/src
Arthur Heymans 58bf6ac2ab UPSTREAM: 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
Original-Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-on: https://review.coreboot.org/17639
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/425981
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-01-09 23:46:48 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/x86: fix cmos post logging in non romcc bootblock 2017-01-09 23:46:44 -08:00
commonlib UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
device UPSTREAM: Kconfig: Document what ASPM means 2017-01-05 11:00:40 -08:00
drivers UPSTREAM: drivers/uart/oxpcie_early.c: remove uart_fill_lb() 2017-01-05 11:00:42 -08:00
ec UPSTREAM: ec/ene932: correct ACPI battery data fed into ToString() 2016-12-16 07:51:42 -08:00
include UPSTREAM: arch/x86: fix cmos post logging in non romcc bootblock 2017-01-09 23:46:44 -08:00
lib UPSTREAM: arch/x86: fix cmos post logging in non romcc bootblock 2017-01-09 23:46:44 -08:00
mainboard UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
northbridge UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
soc UPSTREAM: soc/intel/quark: Add monotonic timer support 2017-01-05 11:01:35 -08:00
southbridge UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
superio UPSTREAM: sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-16 04:50:43 -08:00
vboot UPSTREAM: vboot: Remove rmu.bin from FW_MAIN_A and FW_MAIN_B 2017-01-05 11:01:43 -08:00
vendorcode UPSTREAM: AMD binaryPI: Promote rules.h to default include 2016-12-19 12:24:00 -08:00
Kconfig UPSTREAM: Hook up libhwbase in ramstage 2016-12-21 03:12:47 -08:00