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 <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/1327 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
39fea6e2a8
commit
48c6bae1f2
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue