[PATCH v6 5/7] drivers: pci: add pcie support for fu740

Bin Meng bmeng.cn at gmail.com
Fri Apr 16 05:15:04 CEST 2021


Hi Green,

On Thu, Apr 8, 2021 at 9:43 PM Green Wan <green.wan at sifive.com> wrote:
>
> Add pcie driver for SiFive fu740, the driver depends on
> fu740 gpio, clk and reset driver to do init. Force running at Gen1
> for better capatible enumeration.
>
> Several devices are tested:
> a) M.2 NVMe SSD
> b) USB-to-PCI adapter
> c) Ethernet adapter (E1000 compatible)
>
> Signed-off-by: Green Wan <green.wan at sifive.com>
> ---
>  drivers/pci/Kconfig       |   9 +
>  drivers/pci/Makefile      |   1 +
>  drivers/pci/pcie_sifive.c | 797 ++++++++++++++++++++++++++++++++++++++
>  drivers/pci/pcie_sifive.h | 374 ++++++++++++++++++
>  4 files changed, 1181 insertions(+)
>  create mode 100644 drivers/pci/pcie_sifive.c
>  create mode 100644 drivers/pci/pcie_sifive.h
>

The DW PCIe refactor patch series is now in u-boot/master. Please
submit a new version based on the new DW PCIe driver to support fu740
PCIe. Thanks!

Regards,
Bin


More information about the U-Boot mailing list