summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/uart/uart.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c
index c3691ff04e27..8d96e44bfc37 100644
--- a/src/soc/intel/common/block/uart/uart.c
+++ b/src/soc/intel/common/block/uart/uart.c
@@ -127,6 +127,11 @@ static void uart_read_resources(struct device *dev)
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED |
IORESOURCE_FIXED;
}
+ /* In ACPI mode mark the decoded region as reserved */
+ if (dev->hidden) {
+ struct resource *res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ res->flags |= IORESOURCE_RESERVE;
+ }
}
/*