summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/data_fabric/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/data_fabric/domain.c b/src/soc/amd/common/block/data_fabric/domain.c
index b056d607c7..c419fe02ce 100644
--- a/src/soc/amd/common/block/data_fabric/domain.c
+++ b/src/soc/amd/common/block/data_fabric/domain.c
@@ -206,7 +206,7 @@ void amd_pci_domain_read_resources(struct device *domain)
read_non_pci_resources(domain, &idx);
/* Only add the SoC's DRAM memory map and fixed resources once */
- if (domain->path.domain.domain == 0) {
+ if (is_domain0(domain)) {
add_pci_cfg_resources(domain, &idx);
read_soc_memmap_resources(domain, &idx);