summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/root_complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/root_complex.c')
-rw-r--r--src/soc/amd/picasso/root_complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c
index 4ea8bc22c71b..076588e4f91d 100644
--- a/src/soc/amd/picasso/root_complex.c
+++ b/src/soc/amd/picasso/root_complex.c
@@ -136,7 +136,7 @@ static void read_resources(struct device *dev)
ram_resource(dev, idx++, early_reserved_dram_end / KiB,
(mem_usable - early_reserved_dram_end) / KiB);
- mmconf_resource(dev, MMIO_CONF_BASE);
+ mmconf_resource(dev, idx++);
if (!hob) {
printk(BIOS_ERR, "%s incomplete because no HOB list was found\n",