pci: layerscape: Manage PCIe EP compatible string via Kconfig
authorPankaj Bansal <pankaj.bansal@nxp.com>
Sat, 30 Nov 2019 13:14:10 +0000 (13:14 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 2 Jan 2020 09:06:57 +0000 (14:36 +0530)
commit63618e71e89b3fc669d56bcb4389e70a6b3a4ea8
treea0e6f0bd143fa9baefe2c927b7fe089ebe8d51d7
parentba7c966c0fdf1d53b1b30d2c566161236d2e4007
pci: layerscape: Manage PCIe EP compatible string via Kconfig

The ep node device tree name is governed by these bindings:
https://github.com/torvalds/linux/blob/master/Documentation/
devicetree/bindings/pci/layerscape-pci.txt#L24

As per above the ep compatible node contains platform name.
Therefore, define the ep node compatible as CONFIG to find the
pcie ep node in device tree during device tree fixup.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/pci/Kconfig
drivers/pci/pcie_layerscape_fixup.c
drivers/pci/pcie_layerscape_gen4_fixup.c