Hi Simon, Thanks a lot for your review!
> -----Original Message----- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年12月7日 11:48 > To: Z.Q. Hou <zhiqiang....@nxp.com> > Cc: U-Boot Mailing List <u-boot@lists.denx.de>; Albert ARIBAUD > <albert.u.b...@aribaud.net>; Prabhakar Kushwaha > <prabhakar.kushw...@nxp.com>; Huan Wang-B18965 > <alison.w...@freescale.com>; Sumit Garg <sumit.g...@nxp.com>; Ruchika > Gupta <ruchika.gu...@nxp.com>; Saksham Jain > <saksham.j...@nxp.freescale.com>; york sun <york....@nxp.com>; M.H. Lian > <minghuan.l...@nxp.com>; Bin Meng <bmeng...@gmail.com>; Mingkai Hu > <mingkai...@nxp.com> > Subject: Re: [PATCHv4 09/16] pci: layerscape: add pci driver based on DM > > On 6 December 2016 at 00:03, Zhiqiang Hou <zhiqiang....@nxp.com> wrote: > > From: Minghuan Lian <minghuan.l...@nxp.com> > > > > There are more than five kinds of Layerscape SoCs. unfortunately, PCIe > > controller of each SoC is a little bit different. In order to avoid > > too many macro definitions, the patch addes a new implementation of > > PCIe driver based on DM. PCIe dts node is used to describe the > > difference. > > > > Signed-off-by: Minghuan Lian <minghuan.l...@nxp.com> > > Signed-off-by: Hou Zhiqiang <zhiqiang....@nxp.com> > > --- > > V4: > > - Separated fixup code to pcie_layerscape_fixup.c. > > - Added a header file pcie_layerscape.h. > > - Removed board-specified #if, and use the SVR to differentiate in > run-time. > > - Corrected the indent of #ifs. > > - Added comments on some conditions and functions. > > > > drivers/pci/Kconfig | 8 + > > drivers/pci/Makefile | 1 + > > drivers/pci/pcie_layerscape.c | 815 > +++++++++++++++++++++++------------- > > drivers/pci/pcie_layerscape.h | 191 +++++++++ > > drivers/pci/pcie_layerscape_fixup.c | 354 ++++++++++++++++ > > 5 files changed, 1079 insertions(+), 290 deletions(-) create mode > > 100644 drivers/pci/pcie_layerscape.h create mode 100644 > > drivers/pci/pcie_layerscape_fixup.c > > Reviewed-by: Simon Glass <s...@chromium.org> > > Although I would suggest splitting this out into two patches - one that moves > the code and one that changes it. It's really not feasible to reviewed it as > is. Yes, will split it into 2 patches next version. Thanks, Zhiqiang _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot