[U-Boot] [PATCH v3 0/9] Enablement of PCIe controller for lx2160a rev2
Wasim Khan
wasim.khan at nxp.com
Fri Nov 15 09:23:30 UTC 2019
lx2160a rev1 PCIe controller uses pcie_layerscape_gen4 driver and
lx2160a rev2 PCIe controller uses pcie_layerscape driver.
This patch set enables support for lx2160a 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 v3:
1-Updated patch subject and description based on Priyanka Jain
review comments
2-fix compilation errors with lx2160aqds_tfa_SECURE_BOOT_defconfig
and lx2160ardb_tfa_SECURE_BOOT_defconfig
3-Enabled CONFIG_OF_BOARD_FIXUP for lx2160aqds_tfa_SECURE_BOOT_defconfig
and lx2160ardb_tfa_SECURE_BOOT_defconfig
Changes in v2:
Updated patch subject and description based on Priyanka Jain
review comments
Wasim Khan (9):
drivers/pci : enable pcie_layerscape code for lx2160a 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
configs: lx2160a: enable CONFIG_OF_BOARD_FIXUP for SECURE_BOOT
defconfig
.../asm/arch-fsl-layerscape/stream_id_lsch3.h | 8 +-
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 2 +
configs/lx2160aqds_tfa_defconfig | 1 +
configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 2 +
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 +++----
12 files changed, 211 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