[U-Boot] [PATCH] fsl_pci: Update PCIe boot ouput
Paul Gortmaker
paul.gortmaker at windriver.com
Thu Jan 6 20:17:27 CET 2011
On Tue, Dec 28, 2010 at 6:47 PM, Peter Tyser <ptyser at xes-inc.com> wrote:
> This change does the following:
> - Adds printing of negotiated link width. This information can be
> useful when debugging PCIe issues.
> - Makes it optional for boards to implement board_serdes_name().
> Previously boards that did not implement it would print unsightly
> output such as "PCIE1: Connected to <NULL>..."
> - Rewords the PCIe boot output to reduce line length and to make it
> clear that the "base address XYZ" value refers to the base address of
> the internal processor PCIe registers and not a standard PCI BAR
> value.
> - Changes "PCIE" output to the standard "PCIe"
>
> Before change:
> PCIE1: connected to <NULL> as Root Complex (base addr ef008000)
> 01:00.0 - 10b5:8518 - Bridge device
> 02:01.0 - 10b5:8518 - Bridge device
> 02:02.0 - 10b5:8518 - Bridge device
> 02:03.0 - 10b5:8518 - Bridge device
> PCIE1: Bus 00 - 05
> PCIE2: connected to <NULL> as Endpoint (base addr ef009000)
> PCIE2: Bus 06 - 06
>
> After change:
> PCIe1: Root Complex of PEX8518 Switch, x4, regs @ 0xef008000
> 01:00.0 - 10b5:8518 - Bridge device
> 02:01.0 - 10b5:8518 - Bridge device
> 02:02.0 - 10b5:8518 - Bridge device
> 02:03.0 - 10b5:8518 - Bridge device
> PCIe1: Bus 00 - 05
> PCIe2: Endpoint of VPX Fabric A, x2, regs @ 0xef009000
> PCIe2: Bus 06 - 06
>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
Tested-by: Paul Gortmaker <paul.gortmaker at windriver.com>
The sbc8641d had the same <NULL> issue; I've put the before and after
below for reference.
Paul.
---------------------------
Board: Wind River SBC8641D
I2C: ready
DRAM: DDR: 512 MiB
FLASH: 16 MiB
PCIE1: connected to <NULL> as Root Complex (base addr f8008000)
01:00.0 - 1148:9e00 - Network controller
PCIE1: Bus 00 - 01
PCIE2: connected to <NULL> as Root Complex (base addr f8009000)
PCIE2: Bus 02 - 02
In: serial
Out: serial
Err: serial
Net: eTSEC1, eTSEC2, eTSEC3, eTSEC4
-----------------------------
Board: Wind River SBC8641D
I2C: ready
DRAM: DDR: 512 MiB
FLASH: 16 MiB
PCIe1: Root Complex, x1, regs @ 0xf8008000
01:00.0 - 1148:9e00 - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex, no link, regs @ 0xf8009000
PCIe2: Bus 02 - 02
In: serial
Out: serial
Err: serial
Net: eTSEC1, eTSEC2, eTSEC3, eTSEC4
------------------------
More information about the U-Boot
mailing list