summaryrefslogtreecommitdiff
path: root/src/device/pciexp_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/pciexp_device.c')
-rw-r--r--src/device/pciexp_device.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/device/pciexp_device.c b/src/device/pciexp_device.c
index f04d865152..1189207539 100644
--- a/src/device/pciexp_device.c
+++ b/src/device/pciexp_device.c
@@ -512,7 +512,7 @@ static void pciexp_hotplug_dummy_read_resources(struct device *dev)
{
struct resource *resource;
- /* Add extra memory space */
+ // Add extra memory space
resource = new_resource(dev, 0x10);
resource->size = CONFIG_PCIEXP_HOTPLUG_MEM;
resource->align = 12;
@@ -520,7 +520,7 @@ static void pciexp_hotplug_dummy_read_resources(struct device *dev)
resource->limit = 0xffffffff;
resource->flags |= IORESOURCE_MEM;
- /* Add extra prefetchable memory space */
+ // Add extra prefetchable memory space
resource = new_resource(dev, 0x14);
resource->size = CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM;
resource->align = 12;
@@ -528,11 +528,7 @@ static void pciexp_hotplug_dummy_read_resources(struct device *dev)
resource->limit = 0xffffffffffffffff;
resource->flags |= IORESOURCE_MEM | IORESOURCE_PREFETCH;
- /* Set resource flag requesting allocation above 4G boundary. */
- if (CONFIG(PCIEXP_HOTPLUG_PREFETCH_MEM_ABOVE_4G))
- resource->flags |= IORESOURCE_ABOVE_4G;
-
- /* Add extra I/O space */
+ // Add extra I/O space
resource = new_resource(dev, 0x18);
resource->size = CONFIG_PCIEXP_HOTPLUG_IO;
resource->align = 12;