Subject: 答复: [PATCH 2/2] PCI: Layerscape: Add Layerscape PCIe driver

From: [email-masked] (Minghuan.Lian at freescale.com)
Date: Fri, 5 Sep 2014 06:43:44 +0000

Hi Arnd,

Thanks for your comments.

There are no same parts between Layerscape and imx.
I think we should use a new file to implement Layerscape PCI driver.

Thanks,
Minghuan
________________________________________
???: Arnd Bergmann <[email-masked]>
????: 2014?9?5? 5:12
???: linux-arm-kernel at lists.infradead.org
??: Fabio Estevam; Lian Minghuan-B31939; Wood Scott-B07421; linux-pci at vger.kernel.org; Hu Mingkai-B21284; Zang Roy-R61911
??: Re: [PATCH 2/2] PCI: Layerscape: Add Layerscape PCIe driver

On Thursday 04 September 2014 17:21:48 Fabio Estevam wrote:
> On Thu, Sep 4, 2014 at 3:45 PM, Minghuan Lian
> <[email-masked]> wrote:
> > Add support for Freescale Layerscape PCIe controller. This driver
> > re-uses the designware core code.
>
> It seems that this is the same IP as on mx6, right?
>
> Is it possible to adapt drivers/pci/host/pci-imx6.c to work on Layerscape?

For all I can tell, the common parts are already shared in pcie-designware.c,
while the new file contains only those parts that are specific to layerscape
and different from imx.

If there are parts in there that are the same between layerscape and imx,
the implementation should also be moved to a shared file.

        Arnd