[U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

Bin Meng bmeng.cn at gmail.com
Tue Aug 27 02:50:44 UTC 2019


Hi Zhiqiang,

On Tue, Aug 27, 2019 at 10:05 AM Z.q. Hou <zhiqiang.hou at nxp.com> wrote:
>
> Hi Bin,
>
> Thanks a lot for your comments!
>
> > -----Original Message-----
> > From: Bin Meng <bmeng.cn at gmail.com>
> > Sent: 2019年8月26日 22:48
> > To: Z.q. Hou <zhiqiang.hou at nxp.com>
> > Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Prabhakar Kushwaha
> > <prabhakar.kushwaha at nxp.com>; Wolfgang Denk <wd at denx.de>; Priyanka
> > Jain <priyanka.jain at nxp.com>; Shengzhou Liu <shengzhou.liu at nxp.com>
> > Subject: Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver
> >
> > Hi Zhiqiang,
> >
> > On Tue, Jul 23, 2019 at 9:24 PM Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > wrote:
> > >
> > > Enable the DM PCIe driver in T2080RDB defconfig.
> > >
> > > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > > ---
> > >  configs/T2080RDB_NAND_defconfig     | 4 ++++
> > >  configs/T2080RDB_SDCARD_defconfig   | 4 ++++
> > >  configs/T2080RDB_SPIFLASH_defconfig | 4 ++++
> > >  configs/T2080RDB_defconfig          | 4 ++++
> > >  4 files changed, 16 insertions(+)
> > >
> > > diff --git a/configs/T2080RDB_NAND_defconfig
> > > b/configs/T2080RDB_NAND_defconfig index 7eb7058..30ec72b 100644
> > > --- a/configs/T2080RDB_NAND_defconfig
> > > +++ b/configs/T2080RDB_NAND_defconfig
> > > @@ -57,6 +57,10 @@ CONFIG_PHYLIB=y
> > >  CONFIG_PHY_AQUANTIA=y
> > >  CONFIG_E1000=y
> > >  CONFIG_MII=y
> > > +CONFIG_DM=y
> > > +CONFIG_DM_PCI=y
> > > +CONFIG_DM_PCI_COMPAT=y
> >
> > Why do we need this option? I vaguely remember I commented in as similar
> > patch for some other board (maybe layerscape arm?)
>
> We discussed this during adding PCIe DM driver on T2080QDS, so it's the same
> reason.

I dug into the mailing list archive, and I see:
https://lists.denx.de/pipermail/u-boot/2019-May/370756.html

In that thread, you wrote:

"I will submit a patch to remove the DM_PCI_COMPAT when all driver has
been converted."

So I believe you guys have not converted all PowerPC drivers to DM,
hence it's still left there?

Regards,
Bin


More information about the U-Boot mailing list