aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fallback_boot.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-11 22:30:06 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-15 14:42:58 +0000
commit9cbdc8fbe571a9ce04d4947ae9b742e3f30e192e (patch)
tree629a4799d00bb68b1ad7c699f49afa1667083b01 /src/lib/fallback_boot.c
parentb0ab545e7b2d920387fcc68a0c4a383a8b0dd915 (diff)
soc/amd/common/data_fabric/domain: use get_iohc_fabric_id
Use get_iohc_fabric_id() to translate the coreboot domain's number into the destination data fabric ID of the PCI root. This allows using the coreboot domain 0 as primary domain of the SoC in all cases, so it's still possible to use config_of_soc(). This allows dropping the SOC_AMD_COMMON_BLOCK_DATA_FABRIC_DOMAIN_MULTI_PCI_ROOT Kconfig option and do the check if the destination fabric ID in the PCI bus number, MMIO, and IO decode registers is the correct one for the domain without the need to use a non-zero number for the primary PCI root domain. TEST=Mandolin still boots and the PCI bus, IO and MMIO resources still get reported correctly. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I880ee0bf5c185cfe4af7de0d39581eb951ee603a Reviewed-on: https://review.coreboot.org/c/coreboot/+/77169 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/fallback_boot.c')
0 files changed, 0 insertions, 0 deletions