diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-01-12 00:05:12 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-13 17:17:28 +0000 |
commit | 55380631f4d02dc06bbdf2295d5c2df8deac9b5b (patch) | |
tree | 6421e76b2bc0799d3ba7fb6b632aaf8b5b400f86 /src/soc/amd | |
parent | 75c4d4479808c3d959661b47823a0932dfd2eb40 (diff) |
soc/amd/common/data_fabric/domain: write _SEG method in SSDT
As a preparation for the multi PCI segment group support, use
acpigen_write_BBN to generate the _SEG method that returns the segment
group number of the PCI root. Until the multi PCI segment group support
is enabled in coreboot, it will always return 0.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I2a812dcc564c5319385e9ad482d29b2984a71b8a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79924
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/block/data_fabric/domain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/data_fabric/domain.c b/src/soc/amd/common/block/data_fabric/domain.c index 39f57902e4..c2f1406e54 100644 --- a/src/soc/amd/common/block/data_fabric/domain.c +++ b/src/soc/amd/common/block/data_fabric/domain.c @@ -287,6 +287,7 @@ void amd_pci_domain_fill_ssdt(const struct device *domain) acpigen_write_resourcetemplate_footer(); + acpigen_write_SEG(0); acpigen_write_BBN(domain->link_list->secondary); /* Scope */ |