summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/cezanne/root_complex.c2
-rw-r--r--src/soc/amd/glinda/root_complex.c2
-rw-r--r--src/soc/amd/mendocino/root_complex.c2
-rw-r--r--src/soc/amd/phoenix/root_complex.c2
-rw-r--r--src/soc/amd/picasso/root_complex.c2
5 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/root_complex.c b/src/soc/amd/cezanne/root_complex.c
index 6bef915085..a4134ef699 100644
--- a/src/soc/amd/cezanne/root_complex.c
+++ b/src/soc/amd/cezanne/root_complex.c
@@ -115,6 +115,8 @@ static void read_resources(struct device *dev)
/* The root complex has no PCI BARs implemented, so there's no need to call
pci_dev_read_resources for it */
+ fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT);
+
/* 0x0 - 0x9ffff */
ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);
diff --git a/src/soc/amd/glinda/root_complex.c b/src/soc/amd/glinda/root_complex.c
index a8b54e2fa6..9cb758a4cc 100644
--- a/src/soc/amd/glinda/root_complex.c
+++ b/src/soc/amd/glinda/root_complex.c
@@ -130,6 +130,8 @@ static void read_resources(struct device *dev)
/* The root complex has no PCI BARs implemented, so there's no need to call
pci_dev_read_resources for it */
+ fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT);
+
/* 0x0 - 0x9ffff */
ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);
diff --git a/src/soc/amd/mendocino/root_complex.c b/src/soc/amd/mendocino/root_complex.c
index 53a245b609..11f111f69f 100644
--- a/src/soc/amd/mendocino/root_complex.c
+++ b/src/soc/amd/mendocino/root_complex.c
@@ -158,6 +158,8 @@ static void read_resources(struct device *dev)
/* The root complex has no PCI BARs implemented, so there's no need to call
pci_dev_read_resources for it */
+ fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT);
+
/* 0x0 - 0x9ffff */
ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);
diff --git a/src/soc/amd/phoenix/root_complex.c b/src/soc/amd/phoenix/root_complex.c
index 83fb047952..3c754c6ce5 100644
--- a/src/soc/amd/phoenix/root_complex.c
+++ b/src/soc/amd/phoenix/root_complex.c
@@ -130,6 +130,8 @@ static void read_resources(struct device *dev)
/* The root complex has no PCI BARs implemented, so there's no need to call
pci_dev_read_resources for it */
+ fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT);
+
/* 0x0 - 0x9ffff */
ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);
diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c
index 5ea8b79710..65021a3f55 100644
--- a/src/soc/amd/picasso/root_complex.c
+++ b/src/soc/amd/picasso/root_complex.c
@@ -115,6 +115,8 @@ static void read_resources(struct device *dev)
/* The root complex has no PCI BARs implemented, so there's no need to call
pci_dev_read_resources for it */
+ fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT);
+
/* 0x0 - 0x9ffff */
ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);