summaryrefslogtreecommitdiff
path: root/src/drivers/uart/oxpcie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart/oxpcie.c')
-rw-r--r--src/drivers/uart/oxpcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/uart/oxpcie.c b/src/drivers/uart/oxpcie.c
index d8a8b9167e..17e0d26a0c 100644
--- a/src/drivers/uart/oxpcie.c
+++ b/src/drivers/uart/oxpcie.c
@@ -12,7 +12,7 @@ static void oxford_oxpcie_enable(struct device *dev)
{
printk(BIOS_DEBUG, "Initializing Oxford OXPCIe952\n");
- struct resource *res = find_resource(dev, 0x10);
+ struct resource *res = find_resource(dev, PCI_BASE_ADDRESS_0);
if (!res) {
printk(BIOS_WARNING, "OXPCIe952: No UART resource found.\n");
return;