From 55380631f4d02dc06bbdf2295d5c2df8deac9b5b Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 12 Jan 2024 00:05:12 +0100 Subject: 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 Change-Id: I2a812dcc564c5319385e9ad482d29b2984a71b8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/79924 Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/data_fabric/domain.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/common/block/data_fabric/domain.c b/src/soc/amd/common/block/data_fabric/domain.c index 39f57902e4a3..c2f1406e54ce 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 */ -- cgit v1.2.3