diff options
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/common/block/uart/uart.c | 5 |
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 c3691ff04e..8d96e44bfc 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; + } } /* |