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

Bin Meng bmeng.cn at gmail.com
Tue Aug 11 04:50:15 CEST 2015


Hi Simon,

On Mon, Aug 10, 2015 at 9:08 PM, Simon Glass <sjg at chromium.org> wrote:
> 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.
>

Oops, let's remove this patch from the u-boot-x86/master for now.

> 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?
>

I will look into pci uart with dm some time.

Regards,
Bin


More information about the U-Boot mailing list