On Thursday 04 September 2014 17:21:48 Fabio Estevam wrote: > On Thu, Sep 4, 2014 at 3:45 PM, Minghuan Lian > <Minghuan.Lian@xxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html