diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2021-03-25 17:49:18 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-04-15 05:43:17 +0300 |
commit | dfadb946f65b97c4607ccb8be64fca16672e9ea2 (patch) | |
tree | 78e8f82508ab03d14c48993dc425ed70ff60e2da /drivers/pci/Kconfig | |
parent | 21296b093e90d9dbe99b7b23bc9dcad79d824034 (diff) | |
download | u-boot-dfadb946f65b97c4607ccb8be64fca16672e9ea2.tar.xz |
pci: add common Designware PCIe functions
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 <narmstrong@baylibre.com>
Tested-by: Green Wan <green.wan@sifive.com>
[bmeng: remove the blank line at EOF of drivers/pci/pcie_dw_common.c]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index ba41787f64..ab5a5e7ed6 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -258,6 +258,10 @@ config PCI_MVEBU Say Y here if you want to enable PCIe controller support on Armada XP/38x SoCs. +config PCIE_DW_COMMON + bool + select DM_PCI + config PCI_KEYSTONE bool "TI Keystone PCIe controller" depends on DM_PCI |