coreboot-kgpe-d16/src
Aaron Durbin ac8e4db246 soc/intel/common/gpio: fix gpi_status_get()
A pad number is passed into gpi_status_get() to determine if its
associated bit is set from a generated event. However, the
implementation wasn't taking into account the gpi_status_offset
which dictates the starting offset for each community. Additionally,
the max_pads_per_group field is per community as well -- not global.
Fix the code to properly take into account the community's
gpi_status_offset as well as the max_pads_per_group.

Change-Id: Ia18ac6cbac31e3da3ae0ce3764ac33aa9286ac63
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/20652
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hannah Williams <hannah.williams@intel.com>
2017-07-20 17:06:48 +00:00
..
acpi
arch arch/x86: select RELOCATABLE_MODULES when POSTCAR is selected 2017-07-18 21:29:18 +00:00
commonlib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
console src: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:57:07 +00:00
cpu x86/lapic/secondary.S: Align stack for _secondary_start 2017-07-20 15:34:21 +00:00
device device/pciexp_device.c: Terminate CLK PM message with newline 2017-07-15 21:54:23 +00:00
drivers intel/fsp: Add and use new post codes for FSP phase indication 2017-07-17 15:16:37 +00:00
ec ec/lenovo/h8/h8: Always enable tp-smapi and thermal 2017-07-18 19:23:26 +00:00
include vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
lib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
mainboard siemens/mc_apl1: Activate ECC for DRAM 2017-07-20 04:44:58 +00:00
northbridge binaryPI: Switch to agesa/def_callouts.c 2017-07-17 19:30:46 +00:00
soc soc/intel/common/gpio: fix gpi_status_get() 2017-07-20 17:06:48 +00:00
southbridge sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
superio superio/ite/it8716f: Update init_ec 2017-07-08 19:02:13 +00:00
vboot vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
vendorcode KBL: Update FSP headers - upgrade to FSP 2.5.0 2017-07-18 19:21:24 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00