[U-Boot] [PATCH 1/5] dm: pci: Allow scan bridge child devices before relocation

Simon Glass sjg at chromium.org
Mon Aug 10 15:08:47 CEST 2015


Hi Bin,

On 2 August 2015 at 17:35, Simon Glass <sjg at chromium.org> wrote:
> On 2 August 2015 at 15:24, Simon Glass <sjg at chromium.org> wrote:
>> On 27 July 2015 at 01:33, Bin Meng <bmeng.cn at gmail.com> wrote:
>>> On some platforms pci devices behind bridge need to be probed (eg:
>>> a pci uart on recent x86 chipset) before relocation. Remove such
>>> limitation so that dm pci can be used before relocation.
>>>
>>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>>> ---
>>>
>>>  drivers/pci/pci-uclass.c | 4 ----
>>>  1 file changed, 4 deletions(-)
>>
>> Acked-by: Simon Glass <sjg at chromium.org>
>
> Applied to u-boot-x86, thanks!

It turns out that this breaks chromebook_link, probably because of the
large number of devices it adds to the tree before relocation.

When you can a chance can you please try to figure out a solution for
this? I think we need to be able to mark certain devices as pre-reloc,
but create devices the whole bus. It wastes time and memory.

I believe this is only needed for the serial port at present. How is
that actually detected? Perhaps we could add it to the device tree or
find another way to mark it as pre-relocation?

Regards,
Simon


More information about the U-Boot mailing list