From 48c6bae1f2cc1dc1996c36986b7a87273f48b64e Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Mon, 2 Jul 2012 22:31:22 -0600 Subject: Add BAR address debug information to Oxford PCIe serial driver The Oxford PCIE Serial card has a hardcoded address at setup, which may be moved during PCI Init. The driver re-initializes after PCI init. Add a debug print for the new BAR address. Initializing Oxford OXPCIe952 OXPCIe952: Class=70002 Revision ID=0 OXPCIe952: 2 UARTs detected. OXPCIe952: Uart Bar: 0xe0800000 Change-Id: I1858d3eba09749cba3c3869060d00e621dca112a Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/1327 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/drivers/oxford/oxpcie/oxpcie.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/drivers/oxford/oxpcie/oxpcie.c b/src/drivers/oxford/oxpcie/oxpcie.c index 8afdd1f74e..5ce4f62cf6 100644 --- a/src/drivers/oxford/oxpcie/oxpcie.c +++ b/src/drivers/oxford/oxpcie/oxpcie.c @@ -38,6 +38,7 @@ static void oxford_oxpcie_enable(device_t dev) (read32(res->base) >> 8), (read32(res->base) & 0xff)); printk(BIOS_DEBUG, "OXPCIe952: %d UARTs detected.\n", (read32(res->base + 4) & 3)); + printk(BIOS_DEBUG, "OXPCIe952: UART BAR: 0x%x\n", (u32)res->base); } -- cgit v1.2.3