coreboot/src/soc
Felix Held e9e71132a3 soc/amd/*/root_complex: introduce and use domain_iohc_info struct
Instead of implementing the functions get_iohc_misc_smn_base and
get_iohc_fabric_id in the SoC code, move those functions to the common
AMD code, and implement get_iohc_info in the SoC code that returns a
pointer to and the size of a SoC-specific array of domain_iohc_info
structs that contains the info needed by the common code instead. This
allows to iterate over the domain_iohc_info structs which will be used
in a later patch to find the PSP MMIO base address in both ramstage and
smm.

TEST=Mandolin still boots and all non-PCI MIO resources are still
reported to the resource allocator

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ifce3d2b540d14ba3cba36f7cbf248fb7c63483fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83443
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
2024-07-25 22:55:15 +00:00
..
amd soc/amd/*/root_complex: introduce and use domain_iohc_info struct 2024-07-25 22:55:15 +00:00
cavium acpi,soc: use is_domain0 function 2024-07-25 22:54:43 +00:00
example/min86 soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
ibm/power9 soc/ibm/power9/*: add file structure for SOC 2024-05-02 23:14:22 +00:00
intel acpi,soc: use is_domain0 function 2024-07-25 22:54:43 +00:00
mediatek soc/mediatek/mt8196: Add a stub implementation of the MT8196 SoC 2024-07-23 13:45:33 +00:00
nvidia soc/nvidia: Remove unneeded white spaces 2024-07-01 13:38:20 +00:00
qualcomm tree: Use <console/console.h> only when used 2024-07-03 04:39:42 +00:00
rockchip tree: Remove duplicated <soc/gpio.h> 2024-05-30 14:40:32 +00:00
samsung tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
sifive cbmem_top: Change the return value to uintptr_t 2024-07-10 12:55:46 +00:00
ti soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
ucb/riscv soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00