[PATCH v2 00/32] pci: Drop all pre-driver model code
Simon Glass
sjg at chromium.org
Mon Aug 2 02:54:13 CEST 2021
The hard work to actually enable DM_PCI everywhere was done recently. This
series attempts to drop most of the code that it no-longer needed now that
PCI has been converted to driver model.
It also drops the UCP1020 board since it has various unique build issues.
It doesn't even support driver model so it seems reasonable to just remove
it.
The DM_PCI option disappears and only PCI is left.
We can drop about 50 ad-hoc CONFIGs also, but this series doesn't do that
since it is probably best done when the CONFIGs are resynced. It does
include a CONFIG resync patch which can be dropped if that is done
separately.
Changes in v2:
- Update to mention DM_PCI instead
- Fix tag to 'mips' from 'ppc'
Simon Glass (32):
pci: Drop old code from pci command
ppc: Remove UCP1020 board
pci: Drop old code from header file
pci: Remove guard around compatibility functions
pci: Drop DM_PCI check from fdtdec
pci: Drop DM_PCI check from pci_common
ppc: Drop CONFIG_SYS_PCI_SUBSYS_VENDORID
pci: powerpc: Drop old code
pci: freescale: Drop old code
pci: dm: core: Drop DM_PCI check from devfdt_get_addr_pci()
ppc: Drop DM_PCI from config files
pci: acpi: Drop DM_PCI check from ahci
pci: usb: Drop DM_PCI from ohci
ppc: malta: Drop use of DM_PCI
ppc: socrates: Drop use of DM_PCI
pci: gt64120: Drop use of DM_PCI
pci: msc01: Drop use of DM_PCI
pci: imx: Drop use of DM_PCI
pci: scsi: pci: Drop DM_PCI check from scsi
pci: Drop DM_PCI check from bios_emul
net: Drop DM_PCI check from designware driver
pci: imx: Drop DM_PCI check from cpu driver
pci: arm: mvebu: Drop DM_PCI check from
pci: sata_sil: Drop DM_PCI checks
distro_bootcmd: Drop DM_PCI check
pci: Drop pci_init_board()
pci: ppc: Drop ftpci100 driver
ppc: Drop idt8t49n222a_serdes_clk driver
ppc: Drop t4qds and b4860qds references
pci: Drop PCI_INDIRECT_BRIDGE
pci: Drop DM_PCI
pci: Drop migration method
.azure-pipelines.yml | 4 +-
README | 3 -
arch/Kconfig | 1 -
arch/arm/Kconfig | 2 +-
arch/arm/mach-imx/cpu.c | 4 -
arch/arm/mach-imx/mx6/Kconfig | 2 +-
arch/arm/mach-mvebu/arm64-common.c | 5 +-
arch/mips/Kconfig | 2 +-
arch/nds32/include/asm/arch-ag102/ag102.h | 2 -
arch/powerpc/cpu/mpc83xx/pci.c | 160 ----
arch/powerpc/cpu/mpc85xx/Makefile | 1 -
arch/powerpc/cpu/mpc85xx/pci.c | 191 ----
board/Arcturus/ucp1020/Kconfig | 28 +-
board/Arcturus/ucp1020/MAINTAINERS | 7 -
board/Arcturus/ucp1020/Makefile | 31 -
board/Arcturus/ucp1020/README | 54 --
board/Arcturus/ucp1020/cmd_arc.c | 408 ---------
board/Arcturus/ucp1020/ddr.c | 161 ----
board/Arcturus/ucp1020/law.c | 24 -
board/Arcturus/ucp1020/spl.c | 127 ---
board/Arcturus/ucp1020/spl_minimal.c | 67 --
board/Arcturus/ucp1020/tlb.c | 100 ---
board/Arcturus/ucp1020/ucp1020.c | 372 --------
board/Arcturus/ucp1020/ucp1020.h | 45 -
board/cavium/thunderx/thunderx.c | 7 -
board/emulation/qemu-riscv/Kconfig | 1 -
board/freescale/common/Makefile | 1 -
board/freescale/common/cds_pci_ft.c | 59 --
.../common/idt8t49n222a_serdes_clk.c | 208 -----
.../common/idt8t49n222a_serdes_clk.h | 106 ---
board/freescale/common/p_corenet/Makefile | 1 -
board/freescale/common/p_corenet/pci.c | 25 -
board/freescale/mpc8349emds/pci.c | 73 --
board/freescale/mpc837xerdb/Makefile | 1 -
board/freescale/mpc837xerdb/pci.c | 109 ---
board/freescale/mpc8548cds/mpc8548cds.c | 114 ---
board/freescale/p1010rdb/p1010rdb.c | 11 -
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 11 -
board/freescale/t102xrdb/Makefile | 1 -
board/freescale/t102xrdb/pci.c | 25 -
board/freescale/t104xrdb/Makefile | 1 -
board/freescale/t104xrdb/pci.c | 25 -
board/freescale/t208xqds/Makefile | 1 -
board/freescale/t208xqds/pci.c | 25 -
board/freescale/t208xrdb/Makefile | 1 -
board/freescale/t208xrdb/pci.c | 25 -
board/freescale/t4rdb/Makefile | 1 -
board/freescale/t4rdb/pci.c | 25 -
board/imgtec/malta/malta.c | 67 --
board/socionext/developerbox/Kconfig | 1 -
board/socrates/socrates.c | 4 +-
board/xes/common/fsl_8xxx_pci.c | 50 --
cmd/pci.c | 212 -----
common/Kconfig | 1 -
configs/UCP1020_defconfig | 58 --
doc/board/freescale/b4860qds.rst | 453 ----------
doc/board/freescale/index.rst | 1 -
doc/develop/driver-model/migration.rst | 9 -
drivers/ata/ahci.c | 55 --
drivers/ata/sata_sil.c | 8 -
drivers/ata/sata_sil.h | 4 -
drivers/bios_emulator/atibios.c | 98 ---
drivers/bios_emulator/bios.c | 39 -
drivers/core/fdtaddr.c | 3 +-
drivers/gpio/Kconfig | 2 +-
drivers/i2c/Makefile | 2 +-
drivers/net/Kconfig | 6 +-
drivers/net/designware.c | 22 +-
drivers/net/mscc_eswitch/Kconfig | 2 +-
drivers/pci/Kconfig | 40 +-
drivers/pci/Makefile | 2 -
drivers/pci/pci_common.c | 4 +-
drivers/pci/pci_ftpci100.c | 319 -------
drivers/pci/pci_gt64120.c | 64 --
drivers/pci/pci_indirect.c | 71 --
drivers/pci/pci_msc01.c | 64 --
drivers/pci/pcie_imx.c | 81 --
drivers/scsi/scsi.c | 6 -
drivers/spi/Kconfig | 2 +-
drivers/usb/host/ohci-hcd.c | 15 +-
drivers/virtio/Kconfig | 2 +-
include/ahci.h | 4 -
include/bios_emul.h | 16 -
include/config_distro_bootcmd.h | 5 -
include/configs/MPC8349EMDS.h | 5 -
include/configs/MPC8349EMDS_SDRAM.h | 5 -
include/configs/MPC837XERDB.h | 3 -
include/configs/MPC8540ADS.h | 2 -
include/configs/MPC8548CDS.h | 16 -
include/configs/MPC8560ADS.h | 2 -
include/configs/P1010RDB.h | 28 -
include/configs/P2041RDB.h | 17 -
include/configs/T102xRDB.h | 17 -
include/configs/T104xRDB.h | 20 -
include/configs/T208xQDS.h | 20 -
include/configs/T208xRDB.h | 20 -
include/configs/T4240RDB.h | 21 -
include/configs/UCP1020.h | 832 ------------------
include/configs/corenet_ds.h | 21 -
include/configs/p1_p2_rdb_pc.h | 24 -
include/configs/t4qds.h | 240 -----
include/init.h | 3 -
include/pci.h | 76 +-
lib/fdtdec.c | 10 +-
scripts/config_whitelist.txt | 6 -
test/dm/Makefile | 2 +-
106 files changed, 55 insertions(+), 5785 deletions(-)
delete mode 100644 arch/powerpc/cpu/mpc85xx/pci.c
delete mode 100644 board/Arcturus/ucp1020/MAINTAINERS
delete mode 100644 board/Arcturus/ucp1020/Makefile
delete mode 100644 board/Arcturus/ucp1020/README
delete mode 100644 board/Arcturus/ucp1020/cmd_arc.c
delete mode 100644 board/Arcturus/ucp1020/ddr.c
delete mode 100644 board/Arcturus/ucp1020/law.c
delete mode 100644 board/Arcturus/ucp1020/spl.c
delete mode 100644 board/Arcturus/ucp1020/spl_minimal.c
delete mode 100644 board/Arcturus/ucp1020/tlb.c
delete mode 100644 board/Arcturus/ucp1020/ucp1020.c
delete mode 100644 board/Arcturus/ucp1020/ucp1020.h
delete mode 100644 board/freescale/common/idt8t49n222a_serdes_clk.c
delete mode 100644 board/freescale/common/idt8t49n222a_serdes_clk.h
delete mode 100644 board/freescale/common/p_corenet/pci.c
delete mode 100644 board/freescale/mpc837xerdb/pci.c
delete mode 100644 board/freescale/t102xrdb/pci.c
delete mode 100644 board/freescale/t104xrdb/pci.c
delete mode 100644 board/freescale/t208xqds/pci.c
delete mode 100644 board/freescale/t208xrdb/pci.c
delete mode 100644 board/freescale/t4rdb/pci.c
delete mode 100644 configs/UCP1020_defconfig
delete mode 100644 doc/board/freescale/b4860qds.rst
delete mode 100644 drivers/pci/pci_ftpci100.c
delete mode 100644 drivers/pci/pci_indirect.c
delete mode 100644 include/configs/UCP1020.h
delete mode 100644 include/configs/t4qds.h
--
2.32.0.554.ge1b32706d8-goog
More information about the U-Boot
mailing list