[U-Boot] [PATCH 1/8] driver/pci : enable pcie layerscape code for pcie gen4 code

Priyanka Jain priyanka.jain at nxp.com
Mon Oct 21 05:34:23 UTC 2019



>-----Original Message-----
>From: Wasim Khan
>Sent: Friday, October 18, 2019 7:38 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>
>Cc: u-boot at lists.denx.de; Wasim Khan <wasim.khan at nxp.com>
>Subject: [PATCH 1/8] driver/pci : enable pcie layerscape code for pcie gen4 code
>
>lx2 rev2 has SNP controller. Enable pcie_layerscape code for
>CONFIG_PCIE_LAYERSCAPE_GEN4. Based on SoC and revision pcie controller
>probe will be invoked.
>
>Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
>---
> drivers/pci/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index b1d3dc8..d6a9b8c
>100644
>--- a/drivers/pci/Makefile
>+++ b/drivers/pci/Makefile
>@@ -35,7 +35,7 @@ obj-$(CONFIG_PCIE_FSL) += pcie_fsl.o pcie_fsl_fixup.o
> obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o
> obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape_fixup.o
> obj-$(CONFIG_PCIE_LAYERSCAPE_GEN4) += pcie_layerscape_gen4.o \
>-				pcie_layerscape_gen4_fixup.o
>+				pcie_layerscape_gen4_fixup.o
>pcie_layerscape.o
Please check that there is no device which has both CONFIG_PCIE_LAYERSCAPE_GEN4 and CONFIG_PCIE_LAYERSCAPE defined.
Can we think of better config name/re-organization considering all devices.

--priyankajain
> obj-$(CONFIG_PCI_XILINX) += pcie_xilinx.o
> obj-$(CONFIG_PCIE_INTEL_FPGA) += pcie_intel_fpga.o
> obj-$(CONFIG_PCI_KEYSTONE) += pcie_dw_ti.o
>--
>2.7.4



More information about the U-Boot mailing list