+Green Wan for SiFive FU740 PCIe which is another variant of DW PCIe On Mon, Mar 22, 2021 at 5:18 PM Neil Armstrong <[email protected]> wrote: > > With the introduction of pcie_dw_rockchip, and need to support the DW PCIe in > the > Amlogic AXG & G12 SoCs, most of the DW PCIe helpers would be duplicated. > > This introduce a "common" DW PCIe helpers file with common code merged from > the > dw_ti and dw_rockchip drivers and adapted to fit with the upcoming dw_meson. > > The following changes will switch the dw_ti and dw_rockchip to use these > helpers. > > Signed-off-by: Neil Armstrong <[email protected]> > --- > drivers/pci/Kconfig | 4 + > drivers/pci/Makefile | 1 + > drivers/pci/pcie_dw_common.c | 352 +++++++++++++++++++++++++++++++++++ > drivers/pci/pcie_dw_common.h | 153 +++++++++++++++ > 4 files changed, 510 insertions(+) > create mode 100644 drivers/pci/pcie_dw_common.c > create mode 100644 drivers/pci/pcie_dw_common.h >
Regards, Bin

