All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiaowei Bao <xiaowei.bao@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [EXT] Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe driver
Date: Fri, 24 May 2019 06:02:32 +0000	[thread overview]
Message-ID: <AM5PR04MB32999C410B82E4D7D3D99AB1F5020@AM5PR04MB3299.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <VI1PR0402MB3854B6CD5F99C9747794526997020@VI1PR0402MB3854.eurprd04.prod.outlook.com>

Hi Prabhakar,

-----Original Message-----
From: Prabhakar Kushwaha 
Sent: 2019年5月24日 13:23
To: Xiaowei Bao <xiaowei.bao@nxp.com>; Bin Meng <bmeng.cn@gmail.com>; Simon Glass <sjg@chromium.org>
Cc: Z.q. Hou <zhiqiang.hou@nxp.com>; u-boot at lists.denx.de; wd at denx.de; Shengzhou Liu <shengzhou.liu@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>; ley.foon.tan at intel.com; sr at denx.de; M.h. Lian <minghuan.lian@nxp.com>
Subject: RE: [EXT] Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe driver

Hi Xiaowei,

> -----Original Message-----
> From: Xiaowei Bao
> Sent: Friday, May 24, 2019 7:47 AM
> To: Bin Meng <bmeng.cn@gmail.com>; Simon Glass <sjg@chromium.org>
> Cc: Z.q. Hou <zhiqiang.hou@nxp.com>; u-boot at lists.denx.de; Prabhakar 
> Kushwaha <prabhakar.kushwaha@nxp.com>; wd at denx.de; Shengzhou Liu 
> <shengzhou.liu@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>; 
> ley.foon.tan at intel.com; sr at denx.de; M.h. Lian <minghuan.lian@nxp.com>
> Subject: RE: [EXT] Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe 
> driver
> 
> 
> 
> -----Original Message-----
> From: Bin Meng <bmeng.cn@gmail.com>
> Sent: 2019年5月24日 10:14
> To: Xiaowei Bao <xiaowei.bao@nxp.com>; Simon Glass <sjg@chromium.org>
> Cc: Z.q. Hou <zhiqiang.hou@nxp.com>; u-boot at lists.denx.de; Prabhakar 
> Kushwaha <prabhakar.kushwaha@nxp.com>; wd at denx.de; Shengzhou Liu 
> <shengzhou.liu@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>; 
> ley.foon.tan at intel.com; sr at denx.de; M.h. Lian <minghuan.lian@nxp.com>
> Subject: Re: [EXT] Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe 
> driver
> 
> Caution: EXT Email
> 
> On Fri, May 24, 2019 at 10:10 AM Xiaowei Bao <xiaowei.bao@nxp.com> wrote:
> >
> >
> >
> > -----Original Message-----
> > From: Bin Meng <bmeng.cn@gmail.com>
> > Sent: 2019年5月24日 8:11
> > To: Z.q. Hou <zhiqiang.hou@nxp.com>
> > Cc: u-boot at lists.denx.de; Prabhakar Kushwaha 
> > <prabhakar.kushwaha@nxp.com>; wd at denx.de; Shengzhou Liu 
> > <shengzhou.liu@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>; 
> > sjg at chromium.org; ley.foon.tan at intel.com; sr at denx.de; M.h. Lian 
> > <minghuan.lian@nxp.com>; Xiaowei Bao <xiaowei.bao@nxp.com>
> > Subject: [EXT] Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe 
> > driver
> >
> > Caution: EXT Email
> >
> > Hi,
> >
> > On Fri, May 24, 2019 at 12:04 AM Z.q. Hou <zhiqiang.hou@nxp.com> wrote:
> > >
> > > Hi Bin,
> > >
> > > Thanks a lot for your comments!
> > >
> > > > -----Original Message-----
> > > > From: Bin Meng [mailto:bmeng.cn at gmail.com]
> > > > Sent: 2019年5月23日 22:23
> > > > To: Z.q. Hou <zhiqiang.hou@nxp.com>
> > > > Cc: u-boot at lists.denx.de; Prabhakar Kushwaha 
> > > > <prabhakar.kushwaha@nxp.com>; wd at denx.de; Shengzhou Liu 
> > > > <shengzhou.liu@nxp.com>; Jagdish Gediya 
> > > > <jagdish.gediya@nxp.com>; sjg at chromium.org; 
> > > > ley.foon.tan at intel.com; sr at denx.de; M.h. Lian 
> > > > <minghuan.lian@nxp.com>; Xiaowei Bao <xiaowei.bao@nxp.com>
> > > > Subject: Re: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe driver
> > > >
> > > > On Thu, May 23, 2019 at 8:22 PM Z.q. Hou <zhiqiang.hou@nxp.com>
> wrote:
> > > > >
> > > > > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> > > > >
> > > > > Enable the DM PCIe driver in T2080QDS defconfig.
> > > > >
> > > > > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> > > > > ---
> > > > > V2:
> > > > >  - Enable PCIe in NAND flash, SD card and SPI flash boot defconfig.
> > > > >
> > > > >  configs/T2080QDS_NAND_defconfig     | 4 ++++
> > > > >  configs/T2080QDS_SDCARD_defconfig   | 4 ++++
> > > > >  configs/T2080QDS_SPIFLASH_defconfig | 4 ++++
> > > > >  configs/T2080QDS_defconfig          | 4 ++++
> > > > >  4 files changed, 16 insertions(+)
> > > > >
> > > > > diff --git a/configs/T2080QDS_NAND_defconfig 
> > > > > b/configs/T2080QDS_NAND_defconfig index 948a05af89..d04e223c23
> > > > 100644
> > > > > --- a/configs/T2080QDS_NAND_defconfig
> > > > > +++ b/configs/T2080QDS_NAND_defconfig
> > > > > @@ -38,6 +38,7 @@
> > > > >
> > > >
> CONFIG_MTDPARTS_DEFAULT="mtdparts=fe8000000.nor:1m(uboot),5m(kern
> > > > el),1
> > > > > 28k(dtb),9
> > > > >  CONFIG_OF_CONTROL=y
> > > > >  CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
> > > > >  CONFIG_ENV_IS_IN_NAND=y
> > > > > +CONFIG_DM=y
> > > > >  CONFIG_FSL_CAAM=y
> > > > >  CONFIG_FSL_ESDHC=y
> > > > >  CONFIG_MTD_NOR_FLASH=y
> > > > > @@ -54,6 +55,9 @@ CONFIG_PHYLIB=y  CONFIG_PHY_AQUANTIA=y 
> > > > > CONFIG_E1000=y  CONFIG_MII=y
> > > > > +CONFIG_DM_PCI=y
> > > > > +CONFIG_DM_PCI_COMPAT=y
> > > >
> > > > I think we should avoid adding DM_PCI_COMPAT.
> > >
> > > Without this macro the non-DM Endpoint driver (such as e1000) won't work.
> >
> > e1000 is a fully DM driver now. Please redo the testing.
> > [Xiaowei Bao] I am not very clear, If someone want to implement the
> customized device driver(not DM) in u-boot, the driver will not work, yes?
> 
> We are going to convert all drivers to DM in U-Boot. There are some 
> deadlines to be set already. So you don't need consider such non-dm compatibility.
> [Xiaowei Bao] OK, got it, I will remove this macro from all Layerscap 
> platform of NXP, and submit a new patch, thanks a lot.
> 

Please make sure to test e1000 before sending new patch-set. 
[Xiaowei Bao] OK


--pk

  reply	other threads:[~2019-05-24  6:02 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 12:21 [U-Boot] [PATCHv2 0/8] dm: pci: add Freescale PowerPC PCIe driver Z.q. Hou
2019-05-23 12:22 ` [U-Boot] [PATCHv2 1/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_DISABLE_ASPM to Kconfig Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 2/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET " Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI routines Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe routines conditionally Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 5/8] t2080: dts: Added PCIe DT nodes Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 6/8] dm: pci: add Freescale PowerPC PCIe driver Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 7/8] powerpc: T208xQDS: Disable legacy " Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 8/8] configs: T2080QDS: Enable " Z.q. Hou
2019-05-23 14:23   ` Bin Meng
2019-05-23 16:04     ` Z.q. Hou
2019-05-24  0:10       ` Bin Meng
2019-05-24  2:10         ` [U-Boot] [EXT] " Xiaowei Bao
2019-05-24  2:13           ` Bin Meng
2019-05-24  2:17             ` Xiaowei Bao
2019-05-24  5:23               ` Prabhakar Kushwaha
2019-05-24  6:02                 ` Xiaowei Bao [this message]
2019-05-24  8:17             ` Z.q. Hou
2019-05-24  9:38               ` Bin Meng
2019-05-24 14:12                 ` Z.q. Hou
2019-06-18  0:37                   ` Prabhakar Kushwaha
2019-06-20  9:44   ` [U-Boot] " Prabhakar Kushwaha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM5PR04MB32999C410B82E4D7D3D99AB1F5020@AM5PR04MB3299.eurprd04.prod.outlook.com \
    --to=xiaowei.bao@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.