[U-Boot] [PATCH v2 0/8] Enablement of PCIe controller for lx2-rev2

Wasim Khan wasim.khan at nxp.com
Fri Nov 1 10:07:49 UTC 2019


lx2-rev1 PCIe controller uses pcie_layerscape_gen4 driver and lx2-rev2
PCIe controller uses pcie_layerscape driver.

This patch set enables support for lx2-rev2 and uses pcie_layerscape
or pcie_layerscape_gen4 driver based on SoC.
Also organize the device tree fixup in common, layerscape
and layerscape_gen4 specific code.


Changes in v2:
 Updated patch subject and description based on Priyanka Jain
 review comments


Wasim Khan (8):
  drivers/pci : enable pcie_layerscape code for lx2-rev2
  pci: layerscape: Add stream_id_cur field to ls_pcie structure
  pci: layerscape: Suffix API names with _ls
  pci: layerscape_gen4: Suffix API names with _ls_gen4
  armv8: lx2160a: Add FSL_PEX_STREAM_ID_END for LX2160A
  pci: layerscape: Common device tree fixup for NXP SoCs
  pci: layerscape: Move streamId allocation to common device tree fixup
  pci: layerscape: device tree fixup based on SoC and Version

 .../asm/arch-fsl-layerscape/stream_id_lsch3.h      |   8 +-
 configs/lx2160aqds_tfa_defconfig                   |   1 +
 configs/lx2160ardb_tfa_defconfig                   |   1 +
 drivers/pci/Makefile                               |   5 +-
 drivers/pci/pcie_layerscape.c                      |   3 +-
 drivers/pci/pcie_layerscape.h                      |   3 +-
 drivers/pci/pcie_layerscape_fixup.c                |  44 +++----
 drivers/pci/pcie_layerscape_fixup_common.c         | 129 +++++++++++++++++++++
 drivers/pci/pcie_layerscape_fixup_common.h         |  28 +++++
 drivers/pci/pcie_layerscape_gen4_fixup.c           |  43 +++----
 10 files changed, 207 insertions(+), 58 deletions(-)
 create mode 100644 drivers/pci/pcie_layerscape_fixup_common.c
 create mode 100644 drivers/pci/pcie_layerscape_fixup_common.h

-- 
2.7.4



More information about the U-Boot mailing list