[PATCH 007/108] dm: pci: Allow disabling auto-config for a device

Simon Glass sjg at chromium.org
Sat Feb 8 16:50:55 CET 2020


Hi Bin,

On Sat, 8 Feb 2020 at 08:15, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Hi Simon,
>
> On Mon, Jan 27, 2020 at 1:08 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > Add a means to avoid configuring a device when needed. Add an explanation
> > of why this is useful to the binding file.
> >
>
> Does disabling CONFIG_PCI_PNP not help?

That is for all devices. Here we just want the UART to stay where it
is so that we can debug serial drivers, FSP-S, etc. If the UART moves
then any output after that hangs the machine until we reinit the
serial driver.

>
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >  doc/device-tree-bindings/pci/x86-pci.txt | 24 ++++++++++++++++++++++++
> >  drivers/pci/pci-uclass.c                 |  2 ++
> >  2 files changed, 26 insertions(+)
> >

Regards,
SImon


More information about the U-Boot mailing list