diff options
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/pci_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c index af3355d7cf..a2ad2b3db9 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -570,7 +570,7 @@ void pci_domain_read_resources(struct device *dev) * one big range from cbmem_top to the configured limit. */ res = new_resource(dev, IOINDEX_SUBTRACTIVE(1, 0)); - res->base = (uintptr_t)cbmem_top(); + res->base = cbmem_top(); res->limit = CONFIG_DOMAIN_RESOURCE_32BIT_LIMIT - 1; res->flags = IORESOURCE_MEM | IORESOURCE_SUBTRACTIVE | IORESOURCE_ASSIGNED; |