coreboot-kgpe-d16/src/soc/intel
Furquan Shaikh d64d426b4f soc/intel/common/pcie: Add helper function for getting mask of enabled ports
This change adds a helper function `pcie_rp_enable_mask()` that
returns a 32-bit mask indicating the status (enabled/disabled) of PCIe
root ports (in the groups table) as configured by the mainboard in the
device tree.

With this helper function, SoC chip config does not need to add
another `PcieRpEnable[]` config to identify what root ports are
enabled.

Change-Id: I7ce5fca1c662064fd21f0961dac13cda1fa2ca44
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48968
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-01-12 08:00:33 +00:00
..
alderlake soc/intel/alderlake: Add PCH ID 0x5182 2021-01-12 05:18:51 +00:00
apollolake soc/intel/uart: Drop SoC callback soc_uart_console_to_device 2021-01-11 07:41:22 +00:00
baytrail ACPI: Add missing include in nvs.h 2021-01-10 11:40:45 +00:00
braswell mb/google/cyan: Move board_id() to mainboard_fill_gnvs() 2021-01-10 11:41:32 +00:00
broadwell soc/intel/broadwell: Use mp_cpu_bus_init 2021-01-10 16:11:32 +00:00
cannonlake soc/intel/cnl: add SLP_S0 residency register and enable LPIT support 2021-01-11 20:49:30 +00:00
common soc/intel/common/pcie: Add helper function for getting mask of enabled ports 2021-01-12 08:00:33 +00:00
denverton_ns soc/intel: Replace acpi_init_gnvs() 2021-01-10 11:39:28 +00:00
elkhartlake soc/intel/{icl,tgl,jsl,ehl}: add LPIT support 2021-01-11 20:49:53 +00:00
icelake soc/intel/{icl,tgl,jsl,ehl}: add LPIT support 2021-01-11 20:49:53 +00:00
jasperlake soc/intel/{icl,tgl,jsl,ehl}: add LPIT support 2021-01-11 20:49:53 +00:00
quark ACPI: Drop redundant CBMEM_ID_ACPI_GNVS allocations 2021-01-10 11:15:10 +00:00
skylake soc/intel/skl: add SLP_S0 residency register and enable LPIT support 2021-01-11 20:49:43 +00:00
tigerlake soc/intel/{icl,tgl,jsl,ehl}: add LPIT support 2021-01-11 20:49:53 +00:00
xeon_sp soc/intel: Rename to soc_fill_gnvs() 2021-01-10 11:40:22 +00:00
Kconfig