coreboot-kgpe-d16/src
Tim Wawrzynczak 3d121ae1a1 device: Add pciexp_find_next_extended_cap function
Some PCIe devices have extended capability lists that contain
multiples instances of the same capability. This patch provides a
function similar to pciexp_find_extended_cap that can be used to
search through multiple instances of the same capability by returning
the offset of the next extended capability of the given type following
the passed-in offset. The base functionality of searching for a given
capability from an offset is extracted to a local helper function and
both pciexp_find_extended_cap and pciexp_find_next_extended_cap use
this helper.

Change-Id: Ie68dc26012ba57650484c4f2ff53cc694a5347aa
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57784
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
2022-02-10 12:48:00 +00:00
..
acpi treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
arch treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
commonlib src/lib: Add CBMEM tag id to parse ddr information 2022-02-09 00:47:49 +00:00
console console: Add missing va_end() in wrap_interactive_printf() 2022-02-09 17:38:54 +00:00
cpu Revert "cpu/x86/lapic: Unconditionally use CPUID leaf 0xb if available" 2022-02-10 10:23:22 +00:00
device device: Add pciexp_find_next_extended_cap function 2022-02-10 12:48:00 +00:00
drivers drivers/pcie/generic: Add new pcie generic chip driver 2022-02-09 22:46:03 +00:00
ec treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
include device: Add pciexp_find_next_extended_cap function 2022-02-10 12:48:00 +00:00
lib treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
mainboard mb/google/var/volmar: Add gpios to lock 2022-02-09 23:31:13 +00:00
northbridge treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
security treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
soc vendorcode/intel/fsp: Add FSP header file for Alder Lake N FSP v2503_00 2022-02-09 23:37:44 +00:00
southbridge treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
superio treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
vendorcode vendorcode/intel/fsp: Add FSP header file for Alder Lake N FSP v2503_00 2022-02-09 23:37:44 +00:00
Kconfig Kconfig: Show console DEBUG_FUNC if OVERRIDE_LOGLEVEL is set 2021-11-13 00:20:11 +00:00