coreboot-kgpe-d16/src
MAULIK V VAGHELA 3e4f28f8c2 soc/intel/adl: Update devicetree based on remapping for TBT PCIe
ADL has 4 TBT root ports which are PCIe compliant. TBT uses PCIe
coalescing logic where in case root port 0 is disabled, other enabled
root port is remapped to port 0.

coreboot handles this remapping scenarios for PCH and CPU PCIe root
ports and not for TBT root ports.

This patch uses the same function used for PCIe remapping to update
devicetree based on coalescing and SoC needs to pass correct function
number and number of slots.

BUG=b:210933428
BRANCH=None
TEST=Check if TBT remapping happens correctly and ACPI tables are
generated correctly.

Change-Id: Ied16191d6af41f8e2b31baee80cb475e7d557010
Signed-off-by: MAULIK V VAGHELA <maulik.v.vaghela@intel.com>
Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61295
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2022-01-31 10:33:47 +00:00
..
acpi src: Remove unused <stdbool> 2022-01-19 15:15:50 +00:00
arch arch/riscv: Fix some SMP related headers 2022-01-19 19:29:42 +00:00
commonlib commonlib: Add new "CSME ROM started execution" TS 2022-01-21 22:43:30 +00:00
console lib/cbmem_console,console: Resurrect CONSOLE_CBMEM_DUMP_TO_UART 2022-01-25 16:13:39 +00:00
cpu cpu/intel/socket_p: Drop 'select SSE' 2022-01-27 14:51:35 +00:00
device src: Add missing 'void' in function definition 2022-01-26 23:57:12 +00:00
drivers src/{drivers,soc}: Fix some code indents 2022-01-28 15:10:46 +00:00
ec ec/google/chromeec: Consider custom_pld when checking USB port number 2022-01-28 03:05:59 +00:00
include soc/intel/alderlake: Add Alder Lake P IGD device IDs 2022-01-31 04:39:13 +00:00
lib lib/spd_cache.c: Drop comparison to {true, false} 2022-01-28 17:56:10 +00:00
mainboard mb/google/brya: Create crota variant 2022-01-31 10:33:04 +00:00
northbridge nb/intel/sandybridge/raminit_mrc.c: Use <device/dram/ddr3.h> macros 2022-01-27 14:48:56 +00:00
security console/cbmem_console: Rename cbmem_dump_console 2022-01-13 15:25:43 +00:00
soc soc/intel/adl: Update devicetree based on remapping for TBT PCIe 2022-01-31 10:33:47 +00:00
southbridge src: Add missing 'void' in function definition 2022-01-26 23:57:12 +00:00
superio superio/smsc/sch5545/superio.c: Include stdint.h and bsd/helpers.h 2022-01-10 23:28:32 +00:00
vendorcode vc/amd/agesa: fix out-of-bounds read 2022-01-26 22:17:06 +00:00
Kconfig