Skip to contentSkip to conversation

pci: Drop all pre-driver model code

PATCH Superseded Simon Glass 4 participants 39 messages Jul 26, 2021 – Jul 27, 2021

Subsystems (26)
Network drivers Arm (32-bit) SCSI USB +22 more subsystems

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover pci: Drop all pre-driver model code

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.

Simon Glass (33):
configs: Resync with savedefconfig
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/MPC8349EMDS_PCI64_defconfig           |   1 -
 configs/MPC8349EMDS_SDRAM_defconfig           |   1 -
 configs/MPC8349EMDS_SLAVE_defconfig           |   1 -
 configs/MPC8349EMDS_defconfig                 |   1 -
 configs/MPC837XERDB_defconfig                 |   2 -
 configs/MPC8548CDS_36BIT_defconfig            |   1 -
 configs/MPC8548CDS_defconfig                  |   1 -
 configs/MPC8548CDS_legacy_defconfig           |   1 -
 configs/P1010RDB-PA_36BIT_NAND_defconfig      |   1 -
 configs/P1010RDB-PA_36BIT_NOR_defconfig       |   1 -
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig    |   1 -
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |   1 -
 configs/P1010RDB-PA_NAND_defconfig            |   1 -
 configs/P1010RDB-PA_NOR_defconfig             |   1 -
 configs/P1010RDB-PA_SDCARD_defconfig          |   1 -
 configs/P1010RDB-PA_SPIFLASH_defconfig        |   1 -
 configs/P1010RDB-PB_36BIT_NAND_defconfig      |   1 -
 configs/P1010RDB-PB_36BIT_NOR_defconfig       |   1 -
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig    |   1 -
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |   1 -
 configs/P1010RDB-PB_NAND_defconfig            |   1 -
 configs/P1010RDB-PB_NOR_defconfig             |   1 -
 configs/P1010RDB-PB_SDCARD_defconfig          |   1 -
 configs/P1010RDB-PB_SPIFLASH_defconfig        |   1 -
 configs/P1020RDB-PC_36BIT_NAND_defconfig      |   2 -
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig    |   2 -
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig  |   2 -
 configs/P1020RDB-PC_36BIT_defconfig           |   2 -
 configs/P1020RDB-PC_NAND_defconfig            |   2 -
 configs/P1020RDB-PC_SDCARD_defconfig          |   2 -
 configs/P1020RDB-PC_SPIFLASH_defconfig        |   2 -
 configs/P1020RDB-PC_defconfig                 |   2 -
 configs/P1020RDB-PD_NAND_defconfig            |   2 -
 configs/P1020RDB-PD_SDCARD_defconfig          |   2 -
 configs/P1020RDB-PD_SPIFLASH_defconfig        |   2 -
 configs/P1020RDB-PD_defconfig                 |   2 -
 configs/P2020RDB-PC_36BIT_NAND_defconfig      |   2 -
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig    |   2 -
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig  |   2 -
 configs/P2020RDB-PC_36BIT_defconfig           |   2 -
 configs/P2020RDB-PC_NAND_defconfig            |   2 -
 configs/P2020RDB-PC_SDCARD_defconfig          |   2 -
 configs/P2020RDB-PC_SPIFLASH_defconfig        |   2 -
 configs/P2020RDB-PC_defconfig                 |   2 -
 configs/P2041RDB_NAND_defconfig               |   2 -
 configs/P2041RDB_SDCARD_defconfig             |   2 -
 configs/P2041RDB_SPIFLASH_defconfig           |   2 -
 configs/P2041RDB_defconfig                    |   2 -
 configs/P3041DS_NAND_defconfig                |   2 -
 configs/P3041DS_SDCARD_defconfig              |   2 -
 configs/P3041DS_SPIFLASH_defconfig            |   2 -
 configs/P3041DS_defconfig                     |   2 -
 configs/P4080DS_SDCARD_defconfig              |   2 -
 configs/P4080DS_SPIFLASH_defconfig            |   2 -
 configs/P4080DS_defconfig                     |   2 -
 configs/P5040DS_NAND_defconfig                |   2 -
 configs/P5040DS_SDCARD_defconfig              |   2 -
 configs/P5040DS_SPIFLASH_defconfig            |   2 -
 configs/P5040DS_defconfig                     |   2 -
 configs/T1024RDB_NAND_defconfig               |   2 -
 configs/T1024RDB_SDCARD_defconfig             |   2 -
 configs/T1024RDB_SPIFLASH_defconfig           |   2 -
 configs/T1024RDB_defconfig                    |   2 -
 configs/T1042D4RDB_NAND_defconfig             |   2 -
 configs/T1042D4RDB_SDCARD_defconfig           |   2 -
 configs/T1042D4RDB_SPIFLASH_defconfig         |   2 -
 configs/T1042D4RDB_defconfig                  |   2 -
 configs/T2080QDS_NAND_defconfig               |   4 +-
 configs/T2080QDS_SDCARD_defconfig             |   4 +-
 configs/T2080QDS_SECURE_BOOT_defconfig        |   4 +-
 configs/T2080QDS_SPIFLASH_defconfig           |   4 +-
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig     |   4 +-
 configs/T2080QDS_defconfig                    |   4 +-
 configs/T2080RDB_NAND_defconfig               |   2 -
 configs/T2080RDB_SDCARD_defconfig             |   2 -
 configs/T2080RDB_SPIFLASH_defconfig           |   2 -
 configs/T2080RDB_defconfig                    |   2 -
 configs/T2080RDB_revD_NAND_defconfig          |   2 -
 configs/T2080RDB_revD_SDCARD_defconfig        |   2 -
 configs/T2080RDB_revD_SPIFLASH_defconfig      |   2 -
 configs/T2080RDB_revD_defconfig               |   2 -
 configs/T4240RDB_SDCARD_defconfig             |   2 -
 configs/T4240RDB_defconfig                    |   2 -
 configs/UCP1020_defconfig                     |  59 --
 configs/alt_defconfig                         |   2 -
 configs/am335x_baltos_defconfig               |   1 -
 configs/am335x_boneblack_vboot_defconfig      |   1 -
 configs/am335x_evm_defconfig                  |   1 -
 configs/am335x_evm_spiboot_defconfig          |   1 -
 configs/am335x_guardian_defconfig             |  13 +-
 configs/am335x_hs_evm_defconfig               |   1 -
 configs/am335x_hs_evm_uart_defconfig          |   1 -
 configs/am3517_evm_defconfig                  |   1 -
 configs/am43xx_evm_defconfig                  |   1 -
 configs/am43xx_evm_qspiboot_defconfig         |   1 -
 configs/am43xx_evm_rtconly_defconfig          |   1 -
 configs/am43xx_evm_usbhost_boot_defconfig     |   1 -
 configs/am43xx_hs_evm_defconfig               |   1 -
 configs/am57xx_evm_defconfig                  |   1 -
 configs/am57xx_hs_evm_defconfig               |   1 -
 configs/am57xx_hs_evm_usb_defconfig           |   1 -
 configs/am64x_evm_a53_defconfig               |   1 -
 configs/am64x_evm_r5_defconfig                |   1 -
 configs/am65x_evm_a53_defconfig               |   1 -
 configs/am65x_evm_r5_usbdfu_defconfig         |   2 -
 configs/am65x_evm_r5_usbmsc_defconfig         |   2 -
 configs/am65x_hs_evm_a53_defconfig            |   1 -
 configs/apalis-imx8x_defconfig                |   1 -
 configs/apalis-tk1_defconfig                  |   2 -
 configs/apalis_imx6_defconfig                 |   3 +-
 configs/apalis_t30_defconfig                  |   2 -
 configs/aristainetos2c_defconfig              |   2 -
 configs/aristainetos2ccslb_defconfig          |   2 -
 configs/arndale_defconfig                     |   1 -
 configs/at91sam9260ek_dataflash_cs0_defconfig |   2 -
 configs/at91sam9260ek_dataflash_cs1_defconfig |   2 -
 configs/at91sam9260ek_nandflash_defconfig     |   2 -
 configs/at91sam9261ek_dataflash_cs0_defconfig |   2 -
 configs/at91sam9261ek_dataflash_cs3_defconfig |   2 -
 configs/at91sam9261ek_nandflash_defconfig     |   2 -
 configs/at91sam9263ek_dataflash_cs0_defconfig |   3 -
 configs/at91sam9263ek_dataflash_defconfig     |   3 -
 configs/at91sam9263ek_nandflash_defconfig     |   3 -
 configs/at91sam9263ek_norflash_boot_defconfig |   3 -
 configs/at91sam9263ek_norflash_defconfig      |   3 -
 configs/at91sam9g10ek_dataflash_cs0_defconfig |   2 -
 configs/at91sam9g10ek_dataflash_cs3_defconfig |   2 -
 configs/at91sam9g10ek_nandflash_defconfig     |   2 -
 configs/at91sam9g20ek_2mmc_defconfig          |   3 -
 .../at91sam9g20ek_2mmc_nandflash_defconfig    |   3 -
 configs/at91sam9g20ek_dataflash_cs0_defconfig |   2 -
 configs/at91sam9g20ek_dataflash_cs1_defconfig |   2 -
 configs/at91sam9g20ek_nandflash_defconfig     |   2 -
 configs/at91sam9m10g45ek_mmc_defconfig        |   1 -
 configs/at91sam9m10g45ek_nandflash_defconfig  |   1 -
 configs/at91sam9n12ek_mmc_defconfig           |   3 -
 configs/at91sam9n12ek_nandflash_defconfig     |   3 -
 configs/at91sam9n12ek_spiflash_defconfig      |   3 -
 configs/at91sam9x5ek_dataflash_defconfig      |   1 -
 configs/at91sam9x5ek_mmc_defconfig            |   1 -
 configs/at91sam9x5ek_nandflash_defconfig      |   1 -
 configs/at91sam9x5ek_spiflash_defconfig       |   1 -
 configs/at91sam9xeek_dataflash_cs0_defconfig  |   2 -
 configs/at91sam9xeek_dataflash_cs1_defconfig  |   2 -
 configs/at91sam9xeek_nandflash_defconfig      |   2 -
 configs/axs101_defconfig                      |   1 -
 configs/axs103_defconfig                      |   1 -
 configs/beaver_defconfig                      |   6 +-
 configs/beelink-gtking_defconfig              |   1 -
 configs/beelink-gtkingpro_defconfig           |   1 -
 configs/blanche_defconfig                     |   2 -
 configs/boston32r2_defconfig                  |   1 -
 configs/boston32r2el_defconfig                |   1 -
 configs/boston32r6_defconfig                  |   1 -
 configs/boston32r6el_defconfig                |   1 -
 configs/boston64r2_defconfig                  |   1 -
 configs/boston64r2el_defconfig                |   1 -
 configs/boston64r6_defconfig                  |   1 -
 configs/boston64r6el_defconfig                |   1 -
 configs/brppt1_mmc_defconfig                  |   1 -
 configs/brppt1_nand_defconfig                 |   2 -
 configs/brppt1_spi_defconfig                  |   1 -
 configs/brppt2_defconfig                      |   1 -
 configs/brsmarc1_defconfig                    |   1 -
 configs/brxre1_defconfig                      |   1 -
 configs/cardhu_defconfig                      |   2 -
 configs/cei-tk1-som_defconfig                 |   6 +-
 configs/chiliboard_defconfig                  |   1 -
 configs/cl-som-imx7_defconfig                 |   1 -
 configs/clearfog_defconfig                    |   1 -
 configs/clearfog_gt_8k_defconfig              |   2 -
 configs/cm_fx6_defconfig                      |   1 -
 configs/cm_t43_defconfig                      |   1 -
 configs/colibri-imx6ull_defconfig             |   1 -
 configs/colibri_imx6_defconfig                |   3 +-
 configs/colibri_imx7_defconfig                |   1 -
 configs/colibri_imx7_emmc_defconfig           |   1 -
 configs/colibri_pxa270_defconfig              |   1 -
 configs/colibri_t20_defconfig                 |   5 +-
 configs/colibri_t30_defconfig                 |   5 +-
 configs/colibri_vf_defconfig                  |   1 -
 configs/comtrend_ar5315u_ram_defconfig        |   1 -
 configs/comtrend_ar5387un_ram_defconfig       |   1 -
 configs/comtrend_ct5361_ram_defconfig         |   1 -
 configs/comtrend_vr3032u_ram_defconfig        |   1 -
 configs/comtrend_wap5813n_ram_defconfig       |   1 -
 configs/controlcenterdc_defconfig             |   1 -
 configs/corvus_defconfig                      |   2 -
 configs/d2net_v2_defconfig                    |   2 -
 configs/da850evm_defconfig                    |   1 -
 configs/da850evm_direct_nor_defconfig         |   2 -
 configs/da850evm_nand_defconfig               |   1 -
 configs/dalmore_defconfig                     |   5 +-
 configs/db-88f6720_defconfig                  |   2 -
 configs/db-88f6820-amc_defconfig              |   3 -
 configs/db-88f6820-gp_defconfig               |   2 -
 configs/db-mv784mp-gp_defconfig               |   3 -
 configs/db-xc3-24g4xg_defconfig               |   2 -
 configs/devkit3250_defconfig                  |   3 -
 configs/dh_imx6_defconfig                     |   1 -
 configs/display5_factory_defconfig            |   1 -
 configs/dns325_defconfig                      |   2 -
 configs/dra7xx_evm_defconfig                  |   1 -
 configs/dra7xx_hs_evm_defconfig               |   1 -
 configs/dra7xx_hs_evm_usb_defconfig           |   1 -
 configs/dragonboard410c_defconfig             |   9 +-
 configs/dreamplug_defconfig                   |   2 -
 configs/ds109_defconfig                       |   2 -
 configs/ds414_defconfig                       |   2 -
 configs/durian_defconfig                      |   1 -
 configs/edison_defconfig                      |   2 +-
 configs/edminiv2_defconfig                    |   3 -
 configs/ethernut5_defconfig                   |   1 -
 configs/ev-imx280-nano-x-mb_defconfig         |   1 -
 configs/firefly-rk3288_defconfig              |   4 +-
 configs/ge_b1x5v2_defconfig                   |   1 -
 configs/ge_bx50v3_defconfig                   |   1 -
 configs/goflexhome_defconfig                  |   2 -
 configs/gose_defconfig                        |   2 -
 configs/grpeach_defconfig                     |   2 -
 configs/guruplug_defconfig                    |   2 -
 configs/gwventana_emmc_defconfig              |   9 +-
 configs/gwventana_gw5904_defconfig            |   9 +-
 configs/gwventana_nand_defconfig              |   9 +-
 configs/harmony_defconfig                     |   2 -
 configs/helios4_defconfig                     |   1 -
 configs/hihope_rzg2_defconfig                 |   1 -
 configs/hikey_defconfig                       |   1 -
 configs/hsdk_defconfig                        |   1 -
 configs/huawei_hg556a_ram_defconfig           |   1 -
 configs/imx6q_logic_defconfig                 |   1 -
 configs/imx7_cm_defconfig                     |   1 -
 configs/imx8mm-cl-iot-gate_defconfig          |   5 +-
 configs/imx8mn_beacon_2g_defconfig            |   1 -
 configs/imx8mn_beacon_defconfig               |   1 -
 configs/imx8mq_evk_defconfig                  |   8 +-
 configs/imxrt1050-evk_defconfig               |   1 -
 configs/inetspace_v2_defconfig                |   2 -
 configs/iot_devkit_defconfig                  |   1 -
 configs/j7200_evm_a72_defconfig               |   1 -
 configs/j7200_evm_r5_defconfig                |   5 +-
 configs/j721e_evm_a72_defconfig               |   1 -
 configs/j721e_evm_r5_defconfig                |   1 -
 configs/j721e_hs_evm_a72_defconfig            |   1 -
 configs/jetson-tk1_defconfig                  |   6 +-
 configs/k2e_evm_defconfig                     |   1 -
 configs/k2e_hs_evm_defconfig                  |   1 -
 configs/k2g_evm_defconfig                     |   1 -
 configs/k2g_hs_evm_defconfig                  |   1 -
 configs/k2hk_evm_defconfig                    |   1 -
 configs/k2hk_hs_evm_defconfig                 |   1 -
 configs/k2l_evm_defconfig                     |   1 -
 configs/k2l_hs_evm_defconfig                  |   1 -
 configs/khadas-vim2_defconfig                 |   1 -
 configs/khadas-vim3_defconfig                 |   1 -
 configs/khadas-vim3l_defconfig                |   1 -
 configs/khadas-vim_defconfig                  |   1 -
 configs/kmcent2_defconfig                     |   1 -
 configs/koelsch_defconfig                     |   2 -
 configs/kylin-rk3036_defconfig                |   4 +-
 configs/lager_defconfig                       |   2 -
 configs/libretech-ac_defconfig                |   1 -
 configs/libretech-cc_defconfig                |   1 -
 configs/libretech-cc_v2_defconfig             |   1 -
 configs/libretech-s905d-pc_defconfig          |   1 -
 configs/libretech-s912-pc_defconfig           |   1 -
 configs/linkit-smart-7688_defconfig           |   2 -
 configs/liteboard_defconfig                   |   1 -
 configs/ls1012a2g5rdb_qspi_defconfig          |   1 -
 configs/ls1012a2g5rdb_tfa_defconfig           |   1 -
 configs/ls1012afrdm_qspi_defconfig            |   3 -
 configs/ls1012afrdm_tfa_defconfig             |   3 -
 .../ls1012afrwy_qspi_SECURE_BOOT_defconfig    |   2 -
 configs/ls1012afrwy_qspi_defconfig            |   2 -
 configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig |   2 -
 configs/ls1012afrwy_tfa_defconfig             |   2 -
 configs/ls1012aqds_qspi_defconfig             |   2 -
 configs/ls1012aqds_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1012aqds_tfa_defconfig              |   2 -
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig |   2 -
 configs/ls1012ardb_qspi_defconfig             |   2 -
 configs/ls1012ardb_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1012ardb_tfa_defconfig              |   2 -
 configs/ls1021aiot_qspi_defconfig             |   2 -
 configs/ls1021aiot_sdcard_defconfig           |   1 -
 configs/ls1021aqds_ddr4_nor_defconfig         |   4 +-
 configs/ls1021aqds_ddr4_nor_lpuart_defconfig  |   4 +-
 configs/ls1021aqds_nand_defconfig             |   4 +-
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig  |   4 +-
 configs/ls1021aqds_nor_defconfig              |   4 +-
 configs/ls1021aqds_nor_lpuart_defconfig       |   4 +-
 configs/ls1021aqds_qspi_defconfig             |   4 +-
 configs/ls1021aqds_sdcard_ifc_defconfig       |   4 +-
 configs/ls1021aqds_sdcard_qspi_defconfig      |   4 +-
 configs/ls1021atsn_qspi_defconfig             |   2 -
 configs/ls1021atsn_sdcard_defconfig           |   2 -
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 -
 configs/ls1021atwr_nor_defconfig              |   2 -
 configs/ls1021atwr_nor_lpuart_defconfig       |   2 -
 configs/ls1021atwr_qspi_defconfig             |   2 -
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 -
 configs/ls1021atwr_sdcard_ifc_defconfig       |   2 -
 configs/ls1021atwr_sdcard_qspi_defconfig      |   2 -
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1028aqds_tfa_defconfig              |   2 -
 configs/ls1028aqds_tfa_lpuart_defconfig       |   2 -
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1028ardb_tfa_defconfig              |   2 -
 configs/ls1043aqds_defconfig                  |   4 +-
 configs/ls1043aqds_lpuart_defconfig           |   4 +-
 configs/ls1043aqds_nand_defconfig             |   4 +-
 configs/ls1043aqds_nor_ddr3_defconfig         |   4 +-
 configs/ls1043aqds_qspi_defconfig             |   4 +-
 configs/ls1043aqds_sdcard_ifc_defconfig       |   4 +-
 configs/ls1043aqds_sdcard_qspi_defconfig      |   4 +-
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/ls1043aqds_tfa_defconfig              |   4 +-
 configs/ls1043ardb_SECURE_BOOT_defconfig      |   2 -
 configs/ls1043ardb_defconfig                  |   2 -
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig |   2 -
 configs/ls1043ardb_nand_defconfig             |   2 -
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |   2 -
 configs/ls1043ardb_sdcard_defconfig           |   2 -
 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1043ardb_tfa_defconfig              |   2 -
 configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig |   4 +-
 configs/ls1046afrwy_tfa_defconfig             |   4 +-
 configs/ls1046aqds_SECURE_BOOT_defconfig      |   4 +-
 configs/ls1046aqds_defconfig                  |   4 +-
 configs/ls1046aqds_lpuart_defconfig           |   4 +-
 configs/ls1046aqds_nand_defconfig             |   4 +-
 configs/ls1046aqds_qspi_defconfig             |   4 +-
 configs/ls1046aqds_sdcard_ifc_defconfig       |   4 +-
 configs/ls1046aqds_sdcard_qspi_defconfig      |   4 +-
 configs/ls1046aqds_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/ls1046aqds_tfa_defconfig              |   4 +-
 configs/ls1046ardb_emmc_defconfig             |   2 -
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig |   2 -
 configs/ls1046ardb_qspi_defconfig             |   2 -
 configs/ls1046ardb_qspi_spl_defconfig         |   2 -
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   |   2 -
 configs/ls1046ardb_sdcard_defconfig           |   2 -
 configs/ls1046ardb_tfa_SECURE_BOOT_defconfig  |   2 -
 configs/ls1046ardb_tfa_defconfig              |   2 -
 configs/ls1088aqds_defconfig                  |   4 +-
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig |   4 +-
 configs/ls1088aqds_qspi_defconfig             |   4 +-
 configs/ls1088aqds_sdcard_ifc_defconfig       |   4 +-
 configs/ls1088aqds_sdcard_qspi_defconfig      |   4 +-
 configs/ls1088aqds_tfa_defconfig              |   4 +-
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig |   4 +-
 configs/ls1088ardb_qspi_defconfig             |   4 +-
 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig |   4 +-
 configs/ls1088ardb_sdcard_qspi_defconfig      |   4 +-
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/ls1088ardb_tfa_defconfig              |   6 +-
 configs/ls2080aqds_SECURE_BOOT_defconfig      |   4 +-
 configs/ls2080aqds_defconfig                  |   4 +-
 configs/ls2080aqds_nand_defconfig             |   4 +-
 configs/ls2080aqds_qspi_defconfig             |   4 +-
 configs/ls2080aqds_sdcard_defconfig           |   4 +-
 configs/ls2080ardb_SECURE_BOOT_defconfig      |   4 +-
 configs/ls2080ardb_defconfig                  |   4 +-
 configs/ls2080ardb_nand_defconfig             |   4 +-
 configs/ls2081ardb_defconfig                  |   4 +-
 configs/ls2088aqds_tfa_defconfig              |   4 +-
 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig |   4 +-
 configs/ls2088ardb_qspi_defconfig             |   4 +-
 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/ls2088ardb_tfa_defconfig              |   4 +-
 configs/lschlv2_defconfig                     |   2 -
 configs/lsxhl_defconfig                       |   2 -
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/lx2160aqds_tfa_defconfig              |   4 +-
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/lx2160ardb_tfa_defconfig              |   4 +-
 configs/lx2160ardb_tfa_stmm_defconfig         |   4 +-
 configs/lx2162aqds_tfa_SECURE_BOOT_defconfig  |   4 +-
 configs/lx2162aqds_tfa_defconfig              |   4 +-
 .../lx2162aqds_tfa_verified_boot_defconfig    |   4 +-
 configs/m53menlo_defconfig                    |   1 -
 configs/marsboard_defconfig                   |   1 -
 configs/medcom-wide_defconfig                 |   1 -
 configs/meerkat96_defconfig                   |   1 -
 configs/miqi-rk3288_defconfig                 |   4 +-
 configs/mt7620_rfb_defconfig                  |   1 -
 configs/mt7622_rfb_defconfig                  |   1 -
 configs/mt7629_rfb_defconfig                  |   2 -
 configs/mt8183_pumpkin_defconfig              |   1 -
 configs/mt8512_bm1_emmc_defconfig             |   1 -
 configs/mt8516_pumpkin_defconfig              |   1 -
 configs/mt8518_ap1_emmc_defconfig             |   1 -
 configs/mvebu_crb_cn9130_defconfig            |   2 -
 configs/mvebu_db-88f3720_defconfig            |   2 -
 configs/mvebu_db_armada8k_defconfig           |   2 -
 configs/mvebu_db_cn9130_defconfig             |   2 -
 configs/mvebu_espressobin-88f3720_defconfig   |   2 -
 configs/mvebu_mcbin-88f8040_defconfig         |   2 -
 configs/mvebu_puzzle-m801-88f8040_defconfig   |   2 -
 configs/mx23evk_defconfig                     |   1 -
 configs/mx28evk_auart_console_defconfig       |   6 -
 configs/mx28evk_defconfig                     |   6 -
 configs/mx28evk_nand_defconfig                |   6 -
 configs/mx28evk_spi_defconfig                 |   6 -
 configs/mx51evk_defconfig                     |   1 -
 configs/mx53cx9020_defconfig                  |   1 -
 configs/mx53loco_defconfig                    |   1 -
 configs/mx53ppd_defconfig                     |   1 -
 configs/mx6cuboxi_defconfig                   |   1 -
 configs/mx6qsabrelite_defconfig               |   1 -
 configs/mx6sabreauto_defconfig                |   5 +-
 configs/mx6sabresd_defconfig                  |   6 +-
 configs/mx6slevk_defconfig                    |   1 -
 configs/mx6slevk_spinor_defconfig             |   1 -
 configs/mx6slevk_spl_defconfig                |   1 -
 configs/mx6sllevk_defconfig                   |   1 -
 configs/mx6sllevk_plugin_defconfig            |   1 -
 configs/mx6sxsabreauto_defconfig              |   1 -
 configs/mx6sxsabresd_defconfig                |   2 -
 configs/mx6ul_14x14_evk_defconfig             |   1 -
 configs/mx6ul_9x9_evk_defconfig               |   1 -
 configs/mx7dsabresd_defconfig                 |   5 +-
 configs/mx7dsabresd_qspi_defconfig            |   5 +-
 configs/mx7ulp_com_defconfig                  |   1 -
 configs/myir_mys_6ulx_defconfig               |   1 -
 configs/nanopc-t4-rk3399_defconfig            |   2 +-
 configs/nas220_defconfig                      |   2 -
 configs/net2big_v2_defconfig                  |   2 -
 configs/netgear_dgnd3700v2_ram_defconfig      |   1 -
 configs/netspace_lite_v2_defconfig            |   2 -
 configs/netspace_max_v2_defconfig             |   2 -
 configs/netspace_v2_defconfig                 |   2 -
 configs/nitrogen6dl2g_defconfig               |   1 -
 configs/nitrogen6dl_defconfig                 |   1 -
 configs/nitrogen6q2g_defconfig                |   1 -
 configs/nitrogen6q_defconfig                  |   1 -
 configs/nitrogen6s1g_defconfig                |   1 -
 configs/nitrogen6s_defconfig                  |   1 -
 configs/novena_defconfig                      |   6 +-
 configs/nsa310s_defconfig                     |  18 +-
 configs/nyan-big_defconfig                    |   5 +-
 configs/o4-imx6ull-nano_defconfig             |   1 -
 configs/octeon_ebb7304_defconfig              |   2 -
 configs/octeon_nic23_defconfig                |   1 -
 configs/octeontx2_95xx_defconfig              |   1 -
 configs/octeontx2_96xx_defconfig              |   2 -
 configs/octeontx_81xx_defconfig               |   2 -
 configs/octeontx_83xx_defconfig               |   2 -
 configs/odroid-c2_defconfig                   |   1 -
 configs/odroid-c4_defconfig                   |   1 -
 configs/odroid-n2_defconfig                   |   1 -
 configs/odroid-xu3_defconfig                  |   3 +-
 configs/odroid_defconfig                      |   5 +-
 configs/omap35_logic_defconfig                |   1 -
 configs/omap35_logic_somlv_defconfig          |   1 -
 configs/omap3_beagle_defconfig                |   9 +-
 configs/omap3_evm_defconfig                   |   9 +-
 configs/omap3_logic_defconfig                 |   1 -
 configs/omap3_logic_somlv_defconfig           |   1 -
 configs/omap4_panda_defconfig                 |   3 +-
 configs/omap4_sdp4430_defconfig               |   1 -
 configs/omap5_uevm_defconfig                  |   5 +-
 configs/omapl138_lcdk_defconfig               |   1 -
 configs/opos6uldev_defconfig                  |   1 -
 configs/origen_defconfig                      |   1 -
 configs/p212_defconfig                        |   1 -
 configs/p2371-0000_defconfig                  |   5 +-
 configs/p2371-2180_defconfig                  |   6 +-
 configs/p2571_defconfig                       |   5 +-
 configs/p2771-0000-000_defconfig              |   3 -
 configs/p2771-0000-500_defconfig              |   3 -
 configs/p3450-0000_defconfig                  |   6 +-
 configs/paz00_defconfig                       |   1 -
 configs/peach-pi_defconfig                    |   1 -
 configs/peach-pit_defconfig                   |   1 -
 configs/phycore-am335x-r2-regor_defconfig     |   1 -
 configs/phycore-am335x-r2-wega_defconfig      |   1 -
 configs/phycore-rk3288_defconfig              |   4 +-
 configs/phycore_pcl063_defconfig              |   1 -
 configs/phycore_pcl063_ull_defconfig          |   1 -
 configs/pic32mzdask_defconfig                 |   1 -
 configs/pico-dwarf-imx7d_defconfig            |   1 -
 configs/pico-hobbit-imx7d_defconfig           |   1 -
 configs/pico-imx6_defconfig                   |   1 -
 configs/pico-imx6ul_defconfig                 |   1 -
 configs/pico-imx7d_bl33_defconfig             |   1 -
 configs/pico-imx7d_defconfig                  |   1 -
 configs/pico-nymph-imx7d_defconfig            |   1 -
 configs/pico-pi-imx7d_defconfig               |   1 -
 configs/plutux_defconfig                      |   1 -
 configs/pm9261_defconfig                      |   3 -
 configs/pm9263_defconfig                      |   3 -
 configs/pm9g45_defconfig                      |   1 -
 configs/poplar_defconfig                      |   4 +-
 configs/popmetal-rk3288_defconfig             |   4 +-
 configs/porter_defconfig                      |   2 -
 configs/qemu-ppce500_defconfig                |   1 -
 configs/qemu_arm64_defconfig                  |   3 -
 configs/qemu_arm_defconfig                    |   3 -
 configs/r2dplus_defconfig                     |   1 -
 configs/r8a774a1_beacon_defconfig             |   1 -
 configs/r8a774b1_beacon_defconfig             |   1 -
 configs/r8a774e1_beacon_defconfig             |   1 -
 configs/r8a77970_eagle_defconfig              |   2 -
 configs/r8a77980_condor_defconfig             |   2 -
 configs/r8a77990_ebisu_defconfig              |   1 -
 configs/r8a77995_draak_defconfig              |   1 -
 configs/rcar3_salvator-x_defconfig            |   2 -
 configs/rcar3_ulcb_defconfig                  |   3 +-
 configs/riotboard_defconfig                   |   1 -
 configs/roc-pc-mezzanine-rk3399_defconfig     |   2 +-
 configs/roc-pc-rk3399_defconfig               |   2 +-
 configs/rock-pi-4-rk3399_defconfig            |   2 +-
 configs/rock-pi-4c-rk3399_defconfig           |   2 +-
 configs/rpi_0_w_defconfig                     |   1 -
 configs/rpi_2_defconfig                       |   1 -
 configs/rpi_3_32b_defconfig                   |   1 -
 configs/rpi_3_b_plus_defconfig                |   1 -
 configs/rpi_3_defconfig                       |   1 -
 configs/rpi_4_32b_defconfig                   |   2 -
 configs/rpi_4_defconfig                       |   2 -
 configs/rpi_arm64_defconfig                   |   2 -
 configs/rpi_defconfig                         |   1 -
 configs/s400_defconfig                        |   1 -
 configs/s5pc210_universal_defconfig           |   1 -
 configs/sama5d27_giantboard_defconfig         |   1 -
 configs/sama5d27_som1_ek_mmc1_defconfig       |   1 -
 configs/sama5d27_som1_ek_mmc_defconfig        |   1 -
 configs/sama5d27_som1_ek_qspiflash_defconfig  |   1 -
 configs/sama5d27_wlsom1_ek_mmc_defconfig      |   1 -
 .../sama5d27_wlsom1_ek_qspiflash_defconfig    |   1 -
 configs/sama5d2_ptc_ek_mmc_defconfig          |   1 -
 configs/sama5d2_ptc_ek_nandflash_defconfig    |   1 -
 configs/sama5d2_xplained_emmc_defconfig       |   1 -
 configs/sama5d2_xplained_mmc_defconfig        |   1 -
 configs/sama5d2_xplained_qspiflash_defconfig  |   1 -
 configs/sama5d2_xplained_spiflash_defconfig   |   1 -
 configs/sama5d3_xplained_mmc_defconfig        |   1 -
 configs/sama5d3_xplained_nandflash_defconfig  |   1 -
 configs/sama5d3xek_mmc_defconfig              |   1 -
 configs/sama5d3xek_nandflash_defconfig        |   1 -
 configs/sama5d3xek_spiflash_defconfig         |   1 -
 configs/sama5d4_xplained_mmc_defconfig        |   1 -
 configs/sama5d4_xplained_nandflash_defconfig  |   1 -
 configs/sama5d4_xplained_spiflash_defconfig   |   1 -
 configs/sama5d4ek_mmc_defconfig               |   1 -
 configs/sama5d4ek_nandflash_defconfig         |   1 -
 configs/sama5d4ek_spiflash_defconfig          |   1 -
 configs/sandbox64_defconfig                   |   2 -
 configs/sandbox_defconfig                     |  25 +-
 configs/sandbox_flattree_defconfig            |   2 -
 configs/sandbox_noinst_defconfig              |   2 -
 configs/sandbox_spl_defconfig                 |   2 -
 configs/seaboard_defconfig                    |   1 -
 configs/seeed_npi_imx6ull_defconfig           |   1 -
 configs/sei510_defconfig                      |   1 -
 configs/sei610_defconfig                      |   1 -
 configs/sfr_nb4-ser_ram_defconfig             |   1 -
 configs/sheevaplug_defconfig                  |  10 +-
 configs/sifive_unmatched_defconfig            |   1 -
 configs/silinux_ek874_defconfig               |   1 -
 configs/silk_defconfig                        |   2 -
 configs/smartweb_defconfig                    |   5 -
 configs/smdk5250_defconfig                    |   1 -
 configs/smdk5420_defconfig                    |   1 -
 configs/smdkv310_defconfig                    |   1 -
 configs/sniper_defconfig                      |  12 -
 configs/snow_defconfig                        |   1 -
 configs/socfpga_agilex_atf_defconfig          |   1 -
 configs/socfpga_agilex_defconfig              |   1 -
 configs/socfpga_agilex_vab_defconfig          |   1 -
 configs/socfpga_arria10_defconfig             |   1 -
 configs/socfpga_arria5_defconfig              |   1 -
 configs/socfpga_cyclone5_defconfig            |   1 -
 configs/socfpga_dbm_soc1_defconfig            |   1 -
 configs/socfpga_de0_nano_soc_defconfig        |   1 -
 configs/socfpga_de10_nano_defconfig           |   1 -
 configs/socfpga_de1_soc_defconfig             |   1 -
 configs/socfpga_mcvevk_defconfig              |   1 -
 configs/socfpga_sockit_defconfig              |   1 -
 configs/socfpga_socrates_defconfig            |   1 -
 configs/socfpga_stratix10_atf_defconfig       |   1 -
 configs/socfpga_stratix10_defconfig           |   3 +-
 configs/socfpga_vining_fpga_defconfig         |   1 -
 configs/socrates_defconfig                    |   3 -
 configs/somlabs_visionsom_6ull_defconfig      |   1 -
 configs/spring_defconfig                      |   1 -
 configs/stih410-b2260_defconfig               |   1 -
 configs/stm32mp15_basic_defconfig             |   1 -
 configs/stm32mp15_dhcom_basic_defconfig       |   5 +-
 configs/stm32mp15_dhcor_basic_defconfig       |   5 +-
 configs/stm32mp15_trusted_defconfig           |   1 -
 configs/stout_defconfig                       |   2 -
 configs/synquacer_developerbox_defconfig      |   1 -
 configs/taurus_defconfig                      |   5 -
 configs/tbs2910_defconfig                     |   2 -
 configs/tec-ng_defconfig                      |   1 -
 configs/tec_defconfig                         |   1 -
 configs/theadorable_debug_defconfig           |   3 -
 configs/tinker-rk3288_defconfig               |   4 +-
 configs/tinker-s-rk3288_defconfig             |   4 +-
 configs/tools-only_defconfig                  |   1 -
 configs/total_compute_defconfig               |   1 -
 configs/tplink_wdr4300_defconfig              |   1 -
 configs/trats2_defconfig                      |   1 -
 configs/trats_defconfig                       |   1 -
 configs/trimslice_defconfig                   |   2 -
 configs/turris_mox_defconfig                  |   2 -
 configs/turris_omnia_defconfig                |   7 +-
 configs/u200_defconfig                        |   1 -
 configs/uDPU_defconfig                        |   2 -
 configs/usbarmory_defconfig                   |   1 -
 configs/variscite_dart6ul_defconfig           |   1 -
 configs/venice2_defconfig                     |   5 +-
 configs/ventana_defconfig                     |   1 -
 configs/verdin-imx8mm_defconfig               |   1 -
 configs/vexpress_aemv8a_juno_defconfig        |   1 -
 configs/vinco_defconfig                       |   6 +-
 configs/vining_2000_defconfig                 |   6 +-
 configs/vocore2_defconfig                     |   1 -
 configs/vyasa-rk3288_defconfig                |   6 +-
 configs/wandboard_defconfig                   |   1 -
 configs/warp7_bl33_defconfig                  |   1 -
 configs/warp7_defconfig                       |   1 -
 configs/warp_defconfig                        |   8 -
 configs/wetek-core2_defconfig                 |   1 -
 configs/x530_defconfig                        |   2 -
 configs/xilinx_versal_virt_defconfig          |   1 -
 configs/xilinx_zynqmp_virt_defconfig          |   4 +-
 configs/zmx25_defconfig                       |   3 -
 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 +-
 735 files changed, 260 insertions(+), 6976 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
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#1 lore raw

PATCH 1/33 configs: Resync with savedefconfig

Rsync all defconfig files using moveconfig.py

This is to drop the use of DM_PCI in there.

---

 configs/MPC8349EMDS_PCI64_defconfig           |  1 -
 configs/MPC8349EMDS_SDRAM_defconfig           |  1 -
 configs/MPC8349EMDS_SLAVE_defconfig           |  1 -
 configs/MPC8349EMDS_defconfig                 |  1 -
 configs/MPC837XERDB_defconfig                 |  2 --
 configs/MPC8548CDS_36BIT_defconfig            |  1 -
 configs/MPC8548CDS_defconfig                  |  1 -
 configs/MPC8548CDS_legacy_defconfig           |  1 -
 configs/P1010RDB-PA_36BIT_NAND_defconfig      |  1 -
 configs/P1010RDB-PA_36BIT_NOR_defconfig       |  1 -
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig    |  1 -
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |  1 -
 configs/P1010RDB-PA_NAND_defconfig            |  1 -
 configs/P1010RDB-PA_NOR_defconfig             |  1 -
 configs/P1010RDB-PA_SDCARD_defconfig          |  1 -
 configs/P1010RDB-PA_SPIFLASH_defconfig        |  1 -
 configs/P1010RDB-PB_36BIT_NAND_defconfig      |  1 -
 configs/P1010RDB-PB_36BIT_NOR_defconfig       |  1 -
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig    |  1 -
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |  1 -
 configs/P1010RDB-PB_NAND_defconfig            |  1 -
 configs/P1010RDB-PB_NOR_defconfig             |  1 -
 configs/P1010RDB-PB_SDCARD_defconfig          |  1 -
 configs/P1010RDB-PB_SPIFLASH_defconfig        |  1 -
 configs/P1020RDB-PC_36BIT_NAND_defconfig      |  2 --
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig    |  2 --
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig  |  2 --
 configs/P1020RDB-PC_36BIT_defconfig           |  2 --
 configs/P1020RDB-PC_NAND_defconfig            |  2 --
 configs/P1020RDB-PC_SDCARD_defconfig          |  2 --
 configs/P1020RDB-PC_SPIFLASH_defconfig        |  2 --
 configs/P1020RDB-PC_defconfig                 |  2 --
 configs/P1020RDB-PD_NAND_defconfig            |  2 --
 configs/P1020RDB-PD_SDCARD_defconfig          |  2 --
 configs/P1020RDB-PD_SPIFLASH_defconfig        |  2 --
 configs/P1020RDB-PD_defconfig                 |  2 --
 configs/P2020RDB-PC_36BIT_NAND_defconfig      |  2 --
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig    |  2 --
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig  |  2 --
 configs/P2020RDB-PC_36BIT_defconfig           |  2 --
 configs/P2020RDB-PC_NAND_defconfig            |  2 --
 configs/P2020RDB-PC_SDCARD_defconfig          |  2 --
 configs/P2020RDB-PC_SPIFLASH_defconfig        |  2 --
 configs/P2020RDB-PC_defconfig                 |  2 --
 configs/P2041RDB_NAND_defconfig               |  2 --
 configs/P2041RDB_SDCARD_defconfig             |  2 --
 configs/P2041RDB_SPIFLASH_defconfig           |  2 --
 configs/P2041RDB_defconfig                    |  2 --
 configs/P3041DS_NAND_defconfig                |  2 --
 configs/P3041DS_SDCARD_defconfig              |  2 --
 configs/P3041DS_SPIFLASH_defconfig            |  2 --
 configs/P3041DS_defconfig                     |  2 --
 configs/P4080DS_SDCARD_defconfig              |  2 --
 configs/P4080DS_SPIFLASH_defconfig            |  2 --
 configs/P4080DS_defconfig                     |  2 --
 configs/P5040DS_NAND_defconfig                |  2 --
 configs/P5040DS_SDCARD_defconfig              |  2 --
 configs/P5040DS_SPIFLASH_defconfig            |  2 --
 configs/P5040DS_defconfig                     |  2 --
 configs/T1024RDB_NAND_defconfig               |  2 --
 configs/T1024RDB_SDCARD_defconfig             |  2 --
 configs/T1024RDB_SPIFLASH_defconfig           |  2 --
 configs/T1024RDB_defconfig                    |  2 --
 configs/T1042D4RDB_NAND_defconfig             |  2 --
 configs/T1042D4RDB_SDCARD_defconfig           |  2 --
 configs/T1042D4RDB_SPIFLASH_defconfig         |  2 --
 configs/T1042D4RDB_defconfig                  |  2 --
 configs/T2080QDS_NAND_defconfig               |  4 +--
 configs/T2080QDS_SDCARD_defconfig             |  4 +--
 configs/T2080QDS_SECURE_BOOT_defconfig        |  4 +--
 configs/T2080QDS_SPIFLASH_defconfig           |  4 +--
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig     |  4 +--
 configs/T2080QDS_defconfig                    |  4 +--
 configs/T2080RDB_NAND_defconfig               |  2 --
 configs/T2080RDB_SDCARD_defconfig             |  2 --
 configs/T2080RDB_SPIFLASH_defconfig           |  2 --
 configs/T2080RDB_defconfig                    |  2 --
 configs/T2080RDB_revD_NAND_defconfig          |  2 --
 configs/T2080RDB_revD_SDCARD_defconfig        |  2 --
 configs/T2080RDB_revD_SPIFLASH_defconfig      |  2 --
 configs/T2080RDB_revD_defconfig               |  2 --
 configs/T4240RDB_SDCARD_defconfig             |  2 --
 configs/T4240RDB_defconfig                    |  2 --
 configs/UCP1020_defconfig                     |  1 -
 configs/alt_defconfig                         |  2 --
 configs/am335x_baltos_defconfig               |  1 -
 configs/am335x_boneblack_vboot_defconfig      |  1 -
 configs/am335x_evm_defconfig                  |  1 -
 configs/am335x_evm_spiboot_defconfig          |  1 -
 configs/am335x_guardian_defconfig             | 13 +++-------
 configs/am335x_hs_evm_defconfig               |  1 -
 configs/am335x_hs_evm_uart_defconfig          |  1 -
 configs/am3517_evm_defconfig                  |  1 -
 configs/am43xx_evm_defconfig                  |  1 -
 configs/am43xx_evm_qspiboot_defconfig         |  1 -
 configs/am43xx_evm_rtconly_defconfig          |  1 -
 configs/am43xx_evm_usbhost_boot_defconfig     |  1 -
 configs/am43xx_hs_evm_defconfig               |  1 -
 configs/am57xx_evm_defconfig                  |  1 -
 configs/am57xx_hs_evm_defconfig               |  1 -
 configs/am57xx_hs_evm_usb_defconfig           |  1 -
 configs/am64x_evm_a53_defconfig               |  1 -
 configs/am64x_evm_r5_defconfig                |  1 -
 configs/am65x_evm_a53_defconfig               |  1 -
 configs/am65x_evm_r5_usbdfu_defconfig         |  2 --
 configs/am65x_evm_r5_usbmsc_defconfig         |  2 --
 configs/am65x_hs_evm_a53_defconfig            |  1 -
 configs/apalis-imx8x_defconfig                |  1 -
 configs/apalis-tk1_defconfig                  |  2 --
 configs/apalis_imx6_defconfig                 |  3 +--
 configs/apalis_t30_defconfig                  |  2 --
 configs/aristainetos2c_defconfig              |  2 --
 configs/aristainetos2ccslb_defconfig          |  2 --
 configs/arndale_defconfig                     |  1 -
 configs/at91sam9260ek_dataflash_cs0_defconfig |  2 --
 configs/at91sam9260ek_dataflash_cs1_defconfig |  2 --
 configs/at91sam9260ek_nandflash_defconfig     |  2 --
 configs/at91sam9261ek_dataflash_cs0_defconfig |  2 --
 configs/at91sam9261ek_dataflash_cs3_defconfig |  2 --
 configs/at91sam9261ek_nandflash_defconfig     |  2 --
 configs/at91sam9263ek_dataflash_cs0_defconfig |  3 ---
 configs/at91sam9263ek_dataflash_defconfig     |  3 ---
 configs/at91sam9263ek_nandflash_defconfig     |  3 ---
 configs/at91sam9263ek_norflash_boot_defconfig |  3 ---
 configs/at91sam9263ek_norflash_defconfig      |  3 ---
 configs/at91sam9g10ek_dataflash_cs0_defconfig |  2 --
 configs/at91sam9g10ek_dataflash_cs3_defconfig |  2 --
 configs/at91sam9g10ek_nandflash_defconfig     |  2 --
 configs/at91sam9g20ek_2mmc_defconfig          |  3 ---
 .../at91sam9g20ek_2mmc_nandflash_defconfig    |  3 ---
 configs/at91sam9g20ek_dataflash_cs0_defconfig |  2 --
 configs/at91sam9g20ek_dataflash_cs1_defconfig |  2 --
 configs/at91sam9g20ek_nandflash_defconfig     |  2 --
 configs/at91sam9m10g45ek_mmc_defconfig        |  1 -
 configs/at91sam9m10g45ek_nandflash_defconfig  |  1 -
 configs/at91sam9n12ek_mmc_defconfig           |  3 ---
 configs/at91sam9n12ek_nandflash_defconfig     |  3 ---
 configs/at91sam9n12ek_spiflash_defconfig      |  3 ---
 configs/at91sam9x5ek_dataflash_defconfig      |  1 -
 configs/at91sam9x5ek_mmc_defconfig            |  1 -
 configs/at91sam9x5ek_nandflash_defconfig      |  1 -
 configs/at91sam9x5ek_spiflash_defconfig       |  1 -
 configs/at91sam9xeek_dataflash_cs0_defconfig  |  2 --
 configs/at91sam9xeek_dataflash_cs1_defconfig  |  2 --
 configs/at91sam9xeek_nandflash_defconfig      |  2 --
 configs/axs101_defconfig                      |  1 -
 configs/axs103_defconfig                      |  1 -
 configs/beaver_defconfig                      |  6 ++---
 configs/beelink-gtking_defconfig              |  1 -
 configs/beelink-gtkingpro_defconfig           |  1 -
 configs/blanche_defconfig                     |  2 --
 configs/boston32r2_defconfig                  |  1 -
 configs/boston32r2el_defconfig                |  1 -
 configs/boston32r6_defconfig                  |  1 -
 configs/boston32r6el_defconfig                |  1 -
 configs/boston64r2_defconfig                  |  1 -
 configs/boston64r2el_defconfig                |  1 -
 configs/boston64r6_defconfig                  |  1 -
 configs/boston64r6el_defconfig                |  1 -
 configs/brppt1_mmc_defconfig                  |  1 -
 configs/brppt1_nand_defconfig                 |  2 --
 configs/brppt1_spi_defconfig                  |  1 -
 configs/brppt2_defconfig                      |  1 -
 configs/brsmarc1_defconfig                    |  1 -
 configs/brxre1_defconfig                      |  1 -
 configs/cardhu_defconfig                      |  2 --
 configs/cei-tk1-som_defconfig                 |  6 ++---
 configs/chiliboard_defconfig                  |  1 -
 configs/cl-som-imx7_defconfig                 |  1 -
 configs/clearfog_defconfig                    |  1 -
 configs/clearfog_gt_8k_defconfig              |  2 --
 configs/cm_fx6_defconfig                      |  1 -
 configs/cm_t43_defconfig                      |  1 -
 configs/colibri-imx6ull_defconfig             |  1 -
 configs/colibri_imx6_defconfig                |  3 +--
 configs/colibri_imx7_defconfig                |  1 -
 configs/colibri_imx7_emmc_defconfig           |  1 -
 configs/colibri_pxa270_defconfig              |  1 -
 configs/colibri_t20_defconfig                 |  5 ++--
 configs/colibri_t30_defconfig                 |  5 ++--
 configs/colibri_vf_defconfig                  |  1 -
 configs/comtrend_ar5315u_ram_defconfig        |  1 -
 configs/comtrend_ar5387un_ram_defconfig       |  1 -
 configs/comtrend_ct5361_ram_defconfig         |  1 -
 configs/comtrend_vr3032u_ram_defconfig        |  1 -
 configs/comtrend_wap5813n_ram_defconfig       |  1 -
 configs/controlcenterdc_defconfig             |  1 -
 configs/corvus_defconfig                      |  2 --
 configs/d2net_v2_defconfig                    |  2 --
 configs/da850evm_defconfig                    |  1 -
 configs/da850evm_direct_nor_defconfig         |  2 --
 configs/da850evm_nand_defconfig               |  1 -
 configs/dalmore_defconfig                     |  5 ++--
 configs/db-88f6720_defconfig                  |  2 --
 configs/db-88f6820-amc_defconfig              |  3 ---
 configs/db-88f6820-gp_defconfig               |  2 --
 configs/db-mv784mp-gp_defconfig               |  3 ---
 configs/db-xc3-24g4xg_defconfig               |  2 --
 configs/devkit3250_defconfig                  |  3 ---
 configs/dh_imx6_defconfig                     |  1 -
 configs/display5_factory_defconfig            |  1 -
 configs/dns325_defconfig                      |  2 --
 configs/dra7xx_evm_defconfig                  |  1 -
 configs/dra7xx_hs_evm_defconfig               |  1 -
 configs/dra7xx_hs_evm_usb_defconfig           |  1 -
 configs/dragonboard410c_defconfig             |  9 +++----
 configs/dreamplug_defconfig                   |  2 --
 configs/ds109_defconfig                       |  2 --
 configs/ds414_defconfig                       |  2 --
 configs/durian_defconfig                      |  1 -
 configs/edison_defconfig                      |  2 +-
 configs/edminiv2_defconfig                    |  3 ---
 configs/ethernut5_defconfig                   |  1 -
 configs/ev-imx280-nano-x-mb_defconfig         |  1 -
 configs/firefly-rk3288_defconfig              |  4 +--
 configs/ge_b1x5v2_defconfig                   |  1 -
 configs/ge_bx50v3_defconfig                   |  1 -
 configs/goflexhome_defconfig                  |  2 --
 configs/gose_defconfig                        |  2 --
 configs/grpeach_defconfig                     |  2 --
 configs/guruplug_defconfig                    |  2 --
 configs/gwventana_emmc_defconfig              |  9 +++----
 configs/gwventana_gw5904_defconfig            |  9 +++----
 configs/gwventana_nand_defconfig              |  9 +++----
 configs/harmony_defconfig                     |  2 --
 configs/helios4_defconfig                     |  1 -
 configs/hihope_rzg2_defconfig                 |  1 -
 configs/hikey_defconfig                       |  1 -
 configs/hsdk_defconfig                        |  1 -
 configs/huawei_hg556a_ram_defconfig           |  1 -
 configs/imx6q_logic_defconfig                 |  1 -
 configs/imx7_cm_defconfig                     |  1 -
 configs/imx8mm-cl-iot-gate_defconfig          |  5 ++--
 configs/imx8mn_beacon_2g_defconfig            |  1 -
 configs/imx8mn_beacon_defconfig               |  1 -
 configs/imx8mq_evk_defconfig                  |  8 +++---
 configs/imxrt1050-evk_defconfig               |  1 -
 configs/inetspace_v2_defconfig                |  2 --
 configs/iot_devkit_defconfig                  |  1 -
 configs/j7200_evm_a72_defconfig               |  1 -
 configs/j7200_evm_r5_defconfig                |  5 ++--
 configs/j721e_evm_a72_defconfig               |  1 -
 configs/j721e_evm_r5_defconfig                |  1 -
 configs/j721e_hs_evm_a72_defconfig            |  1 -
 configs/jetson-tk1_defconfig                  |  6 ++---
 configs/k2e_evm_defconfig                     |  1 -
 configs/k2e_hs_evm_defconfig                  |  1 -
 configs/k2g_evm_defconfig                     |  1 -
 configs/k2g_hs_evm_defconfig                  |  1 -
 configs/k2hk_evm_defconfig                    |  1 -
 configs/k2hk_hs_evm_defconfig                 |  1 -
 configs/k2l_evm_defconfig                     |  1 -
 configs/k2l_hs_evm_defconfig                  |  1 -
 configs/khadas-vim2_defconfig                 |  1 -
 configs/khadas-vim3_defconfig                 |  1 -
 configs/khadas-vim3l_defconfig                |  1 -
 configs/khadas-vim_defconfig                  |  1 -
 configs/kmcent2_defconfig                     |  1 -
 configs/koelsch_defconfig                     |  2 --
 configs/kylin-rk3036_defconfig                |  4 +--
 configs/lager_defconfig                       |  2 --
 configs/libretech-ac_defconfig                |  1 -
 configs/libretech-cc_defconfig                |  1 -
 configs/libretech-cc_v2_defconfig             |  1 -
 configs/libretech-s905d-pc_defconfig          |  1 -
 configs/libretech-s912-pc_defconfig           |  1 -
 configs/linkit-smart-7688_defconfig           |  2 --
 configs/liteboard_defconfig                   |  1 -
 configs/ls1012a2g5rdb_qspi_defconfig          |  1 -
 configs/ls1012a2g5rdb_tfa_defconfig           |  1 -
 configs/ls1012afrdm_qspi_defconfig            |  3 ---
 configs/ls1012afrdm_tfa_defconfig             |  3 ---
 .../ls1012afrwy_qspi_SECURE_BOOT_defconfig    |  2 --
 configs/ls1012afrwy_qspi_defconfig            |  2 --
 configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig |  2 --
 configs/ls1012afrwy_tfa_defconfig             |  2 --
 configs/ls1012aqds_qspi_defconfig             |  2 --
 configs/ls1012aqds_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1012aqds_tfa_defconfig              |  2 --
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig |  2 --
 configs/ls1012ardb_qspi_defconfig             |  2 --
 configs/ls1012ardb_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1012ardb_tfa_defconfig              |  2 --
 configs/ls1021aiot_qspi_defconfig             |  2 --
 configs/ls1021aiot_sdcard_defconfig           |  1 -
 configs/ls1021aqds_ddr4_nor_defconfig         |  4 +--
 configs/ls1021aqds_ddr4_nor_lpuart_defconfig  |  4 +--
 configs/ls1021aqds_nand_defconfig             |  4 +--
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig  |  4 +--
 configs/ls1021aqds_nor_defconfig              |  4 +--
 configs/ls1021aqds_nor_lpuart_defconfig       |  4 +--
 configs/ls1021aqds_qspi_defconfig             |  4 +--
 configs/ls1021aqds_sdcard_ifc_defconfig       |  4 +--
 configs/ls1021aqds_sdcard_qspi_defconfig      |  4 +--
 configs/ls1021atsn_qspi_defconfig             |  2 --
 configs/ls1021atsn_sdcard_defconfig           |  2 --
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |  2 --
 configs/ls1021atwr_nor_defconfig              |  2 --
 configs/ls1021atwr_nor_lpuart_defconfig       |  2 --
 configs/ls1021atwr_qspi_defconfig             |  2 --
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  2 --
 configs/ls1021atwr_sdcard_ifc_defconfig       |  2 --
 configs/ls1021atwr_sdcard_qspi_defconfig      |  2 --
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1028aqds_tfa_defconfig              |  2 --
 configs/ls1028aqds_tfa_lpuart_defconfig       |  2 --
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1028ardb_tfa_defconfig              |  2 --
 configs/ls1043aqds_defconfig                  |  4 +--
 configs/ls1043aqds_lpuart_defconfig           |  4 +--
 configs/ls1043aqds_nand_defconfig             |  4 +--
 configs/ls1043aqds_nor_ddr3_defconfig         |  4 +--
 configs/ls1043aqds_qspi_defconfig             |  4 +--
 configs/ls1043aqds_sdcard_ifc_defconfig       |  4 +--
 configs/ls1043aqds_sdcard_qspi_defconfig      |  4 +--
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/ls1043aqds_tfa_defconfig              |  4 +--
 configs/ls1043ardb_SECURE_BOOT_defconfig      |  2 --
 configs/ls1043ardb_defconfig                  |  2 --
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig |  2 --
 configs/ls1043ardb_nand_defconfig             |  2 --
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |  2 --
 configs/ls1043ardb_sdcard_defconfig           |  2 --
 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1043ardb_tfa_defconfig              |  2 --
 configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig |  4 +--
 configs/ls1046afrwy_tfa_defconfig             |  4 +--
 configs/ls1046aqds_SECURE_BOOT_defconfig      |  4 +--
 configs/ls1046aqds_defconfig                  |  4 +--
 configs/ls1046aqds_lpuart_defconfig           |  4 +--
 configs/ls1046aqds_nand_defconfig             |  4 +--
 configs/ls1046aqds_qspi_defconfig             |  4 +--
 configs/ls1046aqds_sdcard_ifc_defconfig       |  4 +--
 configs/ls1046aqds_sdcard_qspi_defconfig      |  4 +--
 configs/ls1046aqds_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/ls1046aqds_tfa_defconfig              |  4 +--
 configs/ls1046ardb_emmc_defconfig             |  2 --
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig |  2 --
 configs/ls1046ardb_qspi_defconfig             |  2 --
 configs/ls1046ardb_qspi_spl_defconfig         |  2 --
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   |  2 --
 configs/ls1046ardb_sdcard_defconfig           |  2 --
 configs/ls1046ardb_tfa_SECURE_BOOT_defconfig  |  2 --
 configs/ls1046ardb_tfa_defconfig              |  2 --
 configs/ls1088aqds_defconfig                  |  4 +--
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig |  4 +--
 configs/ls1088aqds_qspi_defconfig             |  4 +--
 configs/ls1088aqds_sdcard_ifc_defconfig       |  4 +--
 configs/ls1088aqds_sdcard_qspi_defconfig      |  4 +--
 configs/ls1088aqds_tfa_defconfig              |  4 +--
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig |  4 +--
 configs/ls1088ardb_qspi_defconfig             |  4 +--
 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig |  4 +--
 configs/ls1088ardb_sdcard_qspi_defconfig      |  4 +--
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/ls1088ardb_tfa_defconfig              |  6 ++---
 configs/ls2080aqds_SECURE_BOOT_defconfig      |  4 +--
 configs/ls2080aqds_defconfig                  |  4 +--
 configs/ls2080aqds_nand_defconfig             |  4 +--
 configs/ls2080aqds_qspi_defconfig             |  4 +--
 configs/ls2080aqds_sdcard_defconfig           |  4 +--
 configs/ls2080ardb_SECURE_BOOT_defconfig      |  4 +--
 configs/ls2080ardb_defconfig                  |  4 +--
 configs/ls2080ardb_nand_defconfig             |  4 +--
 configs/ls2081ardb_defconfig                  |  4 +--
 configs/ls2088aqds_tfa_defconfig              |  4 +--
 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig |  4 +--
 configs/ls2088ardb_qspi_defconfig             |  4 +--
 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/ls2088ardb_tfa_defconfig              |  4 +--
 configs/lschlv2_defconfig                     |  2 --
 configs/lsxhl_defconfig                       |  2 --
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/lx2160aqds_tfa_defconfig              |  4 +--
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/lx2160ardb_tfa_defconfig              |  4 +--
 configs/lx2160ardb_tfa_stmm_defconfig         |  4 +--
 configs/lx2162aqds_tfa_SECURE_BOOT_defconfig  |  4 +--
 configs/lx2162aqds_tfa_defconfig              |  4 +--
 .../lx2162aqds_tfa_verified_boot_defconfig    |  4 +--
 configs/m53menlo_defconfig                    |  1 -
 configs/marsboard_defconfig                   |  1 -
 configs/medcom-wide_defconfig                 |  1 -
 configs/meerkat96_defconfig                   |  1 -
 configs/miqi-rk3288_defconfig                 |  4 +--
 configs/mt7620_rfb_defconfig                  |  1 -
 configs/mt7622_rfb_defconfig                  |  1 -
 configs/mt7629_rfb_defconfig                  |  2 --
 configs/mt8183_pumpkin_defconfig              |  1 -
 configs/mt8512_bm1_emmc_defconfig             |  1 -
 configs/mt8516_pumpkin_defconfig              |  1 -
 configs/mt8518_ap1_emmc_defconfig             |  1 -
 configs/mvebu_crb_cn9130_defconfig            |  2 --
 configs/mvebu_db-88f3720_defconfig            |  2 --
 configs/mvebu_db_armada8k_defconfig           |  2 --
 configs/mvebu_db_cn9130_defconfig             |  2 --
 configs/mvebu_espressobin-88f3720_defconfig   |  2 --
 configs/mvebu_mcbin-88f8040_defconfig         |  2 --
 configs/mvebu_puzzle-m801-88f8040_defconfig   |  2 --
 configs/mx23evk_defconfig                     |  1 -
 configs/mx28evk_auart_console_defconfig       |  6 -----
 configs/mx28evk_defconfig                     |  6 -----
 configs/mx28evk_nand_defconfig                |  6 -----
 configs/mx28evk_spi_defconfig                 |  6 -----
 configs/mx51evk_defconfig                     |  1 -
 configs/mx53cx9020_defconfig                  |  1 -
 configs/mx53loco_defconfig                    |  1 -
 configs/mx53ppd_defconfig                     |  1 -
 configs/mx6cuboxi_defconfig                   |  1 -
 configs/mx6qsabrelite_defconfig               |  1 -
 configs/mx6sabreauto_defconfig                |  5 ++--
 configs/mx6sabresd_defconfig                  |  6 ++---
 configs/mx6slevk_defconfig                    |  1 -
 configs/mx6slevk_spinor_defconfig             |  1 -
 configs/mx6slevk_spl_defconfig                |  1 -
 configs/mx6sllevk_defconfig                   |  1 -
 configs/mx6sllevk_plugin_defconfig            |  1 -
 configs/mx6sxsabreauto_defconfig              |  1 -
 configs/mx6sxsabresd_defconfig                |  2 --
 configs/mx6ul_14x14_evk_defconfig             |  1 -
 configs/mx6ul_9x9_evk_defconfig               |  1 -
 configs/mx7dsabresd_defconfig                 |  5 ++--
 configs/mx7dsabresd_qspi_defconfig            |  5 ++--
 configs/mx7ulp_com_defconfig                  |  1 -
 configs/myir_mys_6ulx_defconfig               |  1 -
 configs/nanopc-t4-rk3399_defconfig            |  2 +-
 configs/nas220_defconfig                      |  2 --
 configs/net2big_v2_defconfig                  |  2 --
 configs/netgear_dgnd3700v2_ram_defconfig      |  1 -
 configs/netspace_lite_v2_defconfig            |  2 --
 configs/netspace_max_v2_defconfig             |  2 --
 configs/netspace_v2_defconfig                 |  2 --
 configs/nitrogen6dl2g_defconfig               |  1 -
 configs/nitrogen6dl_defconfig                 |  1 -
 configs/nitrogen6q2g_defconfig                |  1 -
 configs/nitrogen6q_defconfig                  |  1 -
 configs/nitrogen6s1g_defconfig                |  1 -
 configs/nitrogen6s_defconfig                  |  1 -
 configs/novena_defconfig                      |  6 ++---
 configs/nsa310s_defconfig                     | 18 ++++++-------
 configs/nyan-big_defconfig                    |  5 ++--
 configs/o4-imx6ull-nano_defconfig             |  1 -
 configs/octeon_ebb7304_defconfig              |  2 --
 configs/octeon_nic23_defconfig                |  1 -
 configs/octeontx2_95xx_defconfig              |  1 -
 configs/octeontx2_96xx_defconfig              |  2 --
 configs/octeontx_81xx_defconfig               |  2 --
 configs/octeontx_83xx_defconfig               |  2 --
 configs/odroid-c2_defconfig                   |  1 -
 configs/odroid-c4_defconfig                   |  1 -
 configs/odroid-n2_defconfig                   |  1 -
 configs/odroid-xu3_defconfig                  |  3 +--
 configs/odroid_defconfig                      |  5 ++--
 configs/omap35_logic_defconfig                |  1 -
 configs/omap35_logic_somlv_defconfig          |  1 -
 configs/omap3_beagle_defconfig                |  9 +++----
 configs/omap3_evm_defconfig                   |  9 +++----
 configs/omap3_logic_defconfig                 |  1 -
 configs/omap3_logic_somlv_defconfig           |  1 -
 configs/omap4_panda_defconfig                 |  3 +--
 configs/omap4_sdp4430_defconfig               |  1 -
 configs/omap5_uevm_defconfig                  |  5 ++--
 configs/omapl138_lcdk_defconfig               |  1 -
 configs/opos6uldev_defconfig                  |  1 -
 configs/origen_defconfig                      |  1 -
 configs/p212_defconfig                        |  1 -
 configs/p2371-0000_defconfig                  |  5 ++--
 configs/p2371-2180_defconfig                  |  6 ++---
 configs/p2571_defconfig                       |  5 ++--
 configs/p2771-0000-000_defconfig              |  3 ---
 configs/p2771-0000-500_defconfig              |  3 ---
 configs/p3450-0000_defconfig                  |  6 ++---
 configs/paz00_defconfig                       |  1 -
 configs/peach-pi_defconfig                    |  1 -
 configs/peach-pit_defconfig                   |  1 -
 configs/phycore-am335x-r2-regor_defconfig     |  1 -
 configs/phycore-am335x-r2-wega_defconfig      |  1 -
 configs/phycore-rk3288_defconfig              |  4 +--
 configs/phycore_pcl063_defconfig              |  1 -
 configs/phycore_pcl063_ull_defconfig          |  1 -
 configs/pic32mzdask_defconfig                 |  1 -
 configs/pico-dwarf-imx7d_defconfig            |  1 -
 configs/pico-hobbit-imx7d_defconfig           |  1 -
 configs/pico-imx6_defconfig                   |  1 -
 configs/pico-imx6ul_defconfig                 |  1 -
 configs/pico-imx7d_bl33_defconfig             |  1 -
 configs/pico-imx7d_defconfig                  |  1 -
 configs/pico-nymph-imx7d_defconfig            |  1 -
 configs/pico-pi-imx7d_defconfig               |  1 -
 configs/plutux_defconfig                      |  1 -
 configs/pm9261_defconfig                      |  3 ---
 configs/pm9263_defconfig                      |  3 ---
 configs/pm9g45_defconfig                      |  1 -
 configs/poplar_defconfig                      |  4 +--
 configs/popmetal-rk3288_defconfig             |  4 +--
 configs/porter_defconfig                      |  2 --
 configs/qemu-ppce500_defconfig                |  1 -
 configs/qemu_arm64_defconfig                  |  3 ---
 configs/qemu_arm_defconfig                    |  3 ---
 configs/r2dplus_defconfig                     |  1 -
 configs/r8a774a1_beacon_defconfig             |  1 -
 configs/r8a774b1_beacon_defconfig             |  1 -
 configs/r8a774e1_beacon_defconfig             |  1 -
 configs/r8a77970_eagle_defconfig              |  2 --
 configs/r8a77980_condor_defconfig             |  2 --
 configs/r8a77990_ebisu_defconfig              |  1 -
 configs/r8a77995_draak_defconfig              |  1 -
 configs/rcar3_salvator-x_defconfig            |  2 --
 configs/rcar3_ulcb_defconfig                  |  3 +--
 configs/riotboard_defconfig                   |  1 -
 configs/roc-pc-mezzanine-rk3399_defconfig     |  2 +-
 configs/roc-pc-rk3399_defconfig               |  2 +-
 configs/rock-pi-4-rk3399_defconfig            |  2 +-
 configs/rock-pi-4c-rk3399_defconfig           |  2 +-
 configs/rpi_0_w_defconfig                     |  1 -
 configs/rpi_2_defconfig                       |  1 -
 configs/rpi_3_32b_defconfig                   |  1 -
 configs/rpi_3_b_plus_defconfig                |  1 -
 configs/rpi_3_defconfig                       |  1 -
 configs/rpi_4_32b_defconfig                   |  2 --
 configs/rpi_4_defconfig                       |  2 --
 configs/rpi_arm64_defconfig                   |  2 --
 configs/rpi_defconfig                         |  1 -
 configs/s400_defconfig                        |  1 -
 configs/s5pc210_universal_defconfig           |  1 -
 configs/sama5d27_giantboard_defconfig         |  1 -
 configs/sama5d27_som1_ek_mmc1_defconfig       |  1 -
 configs/sama5d27_som1_ek_mmc_defconfig        |  1 -
 configs/sama5d27_som1_ek_qspiflash_defconfig  |  1 -
 configs/sama5d27_wlsom1_ek_mmc_defconfig      |  1 -
 .../sama5d27_wlsom1_ek_qspiflash_defconfig    |  1 -
 configs/sama5d2_ptc_ek_mmc_defconfig          |  1 -
 configs/sama5d2_ptc_ek_nandflash_defconfig    |  1 -
 configs/sama5d2_xplained_emmc_defconfig       |  1 -
 configs/sama5d2_xplained_mmc_defconfig        |  1 -
 configs/sama5d2_xplained_qspiflash_defconfig  |  1 -
 configs/sama5d2_xplained_spiflash_defconfig   |  1 -
 configs/sama5d3_xplained_mmc_defconfig        |  1 -
 configs/sama5d3_xplained_nandflash_defconfig  |  1 -
 configs/sama5d3xek_mmc_defconfig              |  1 -
 configs/sama5d3xek_nandflash_defconfig        |  1 -
 configs/sama5d3xek_spiflash_defconfig         |  1 -
 configs/sama5d4_xplained_mmc_defconfig        |  1 -
 configs/sama5d4_xplained_nandflash_defconfig  |  1 -
 configs/sama5d4_xplained_spiflash_defconfig   |  1 -
 configs/sama5d4ek_mmc_defconfig               |  1 -
 configs/sama5d4ek_nandflash_defconfig         |  1 -
 configs/sama5d4ek_spiflash_defconfig          |  1 -
 configs/sandbox64_defconfig                   |  2 --
 configs/sandbox_defconfig                     | 25 ++++++++-----------
 configs/sandbox_flattree_defconfig            |  2 --
 configs/sandbox_noinst_defconfig              |  2 --
 configs/sandbox_spl_defconfig                 |  2 --
 configs/seaboard_defconfig                    |  1 -
 configs/seeed_npi_imx6ull_defconfig           |  1 -
 configs/sei510_defconfig                      |  1 -
 configs/sei610_defconfig                      |  1 -
 configs/sfr_nb4-ser_ram_defconfig             |  1 -
 configs/sheevaplug_defconfig                  | 10 +++-----
 configs/sifive_unmatched_defconfig            |  1 -
 configs/silinux_ek874_defconfig               |  1 -
 configs/silk_defconfig                        |  2 --
 configs/smartweb_defconfig                    |  5 ----
 configs/smdk5250_defconfig                    |  1 -
 configs/smdk5420_defconfig                    |  1 -
 configs/smdkv310_defconfig                    |  1 -
 configs/sniper_defconfig                      | 12 ---------
 configs/snow_defconfig                        |  1 -
 configs/socfpga_agilex_atf_defconfig          |  1 -
 configs/socfpga_agilex_defconfig              |  1 -
 configs/socfpga_agilex_vab_defconfig          |  1 -
 configs/socfpga_arria10_defconfig             |  1 -
 configs/socfpga_arria5_defconfig              |  1 -
 configs/socfpga_cyclone5_defconfig            |  1 -
 configs/socfpga_dbm_soc1_defconfig            |  1 -
 configs/socfpga_de0_nano_soc_defconfig        |  1 -
 configs/socfpga_de10_nano_defconfig           |  1 -
 configs/socfpga_de1_soc_defconfig             |  1 -
 configs/socfpga_mcvevk_defconfig              |  1 -
 configs/socfpga_sockit_defconfig              |  1 -
 configs/socfpga_socrates_defconfig            |  1 -
 configs/socfpga_stratix10_atf_defconfig       |  1 -
 configs/socfpga_stratix10_defconfig           |  3 +--
 configs/socfpga_vining_fpga_defconfig         |  1 -
 configs/socrates_defconfig                    |  3 ---
 configs/somlabs_visionsom_6ull_defconfig      |  1 -
 configs/spring_defconfig                      |  1 -
 configs/stih410-b2260_defconfig               |  1 -
 configs/stm32mp15_basic_defconfig             |  1 -
 configs/stm32mp15_dhcom_basic_defconfig       |  5 ++--
 configs/stm32mp15_dhcor_basic_defconfig       |  5 ++--
 configs/stm32mp15_trusted_defconfig           |  1 -
 configs/stout_defconfig                       |  2 --
 configs/synquacer_developerbox_defconfig      |  1 -
 configs/taurus_defconfig                      |  5 ----
 configs/tbs2910_defconfig                     |  2 --
 configs/tec-ng_defconfig                      |  1 -
 configs/tec_defconfig                         |  1 -
 configs/theadorable_debug_defconfig           |  3 ---
 configs/tinker-rk3288_defconfig               |  4 +--
 configs/tinker-s-rk3288_defconfig             |  4 +--
 configs/tools-only_defconfig                  |  1 -
 configs/total_compute_defconfig               |  1 -
 configs/tplink_wdr4300_defconfig              |  1 -
 configs/trats2_defconfig                      |  1 -
 configs/trats_defconfig                       |  1 -
 configs/trimslice_defconfig                   |  2 --
 configs/turris_mox_defconfig                  |  2 --
 configs/turris_omnia_defconfig                |  7 +++---
 configs/u200_defconfig                        |  1 -
 configs/uDPU_defconfig                        |  2 --
 configs/usbarmory_defconfig                   |  1 -
 configs/variscite_dart6ul_defconfig           |  1 -
 configs/venice2_defconfig                     |  5 ++--
 configs/ventana_defconfig                     |  1 -
 configs/verdin-imx8mm_defconfig               |  1 -
 configs/vexpress_aemv8a_juno_defconfig        |  1 -
 configs/vinco_defconfig                       |  6 ++---
 configs/vining_2000_defconfig                 |  6 ++---
 configs/vocore2_defconfig                     |  1 -
 configs/vyasa-rk3288_defconfig                |  6 ++---
 configs/wandboard_defconfig                   |  1 -
 configs/warp7_bl33_defconfig                  |  1 -
 configs/warp7_defconfig                       |  1 -
 configs/warp_defconfig                        |  8 ------
 configs/wetek-core2_defconfig                 |  1 -
 configs/x530_defconfig                        |  2 --
 configs/xilinx_versal_virt_defconfig          |  1 -
 configs/xilinx_zynqmp_virt_defconfig          |  4 +--
 configs/zmx25_defconfig                       |  3 ---
 630 files changed, 205 insertions(+), 1191 deletions(-)
configs/MPC8349EMDS_PCI64_defconfig +0 -1
index ad41da03bf7..8652ff2adcc 100644
@@ -113,6 +113,5 @@ CONFIG_PHY_REALTEK=y
 CONFIG_PHY_SMSC=y
 CONFIG_PHY_VITESSE=y
 CONFIG_TSEC_ENET=y
-# CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/MPC8349EMDS_SDRAM_defconfig +0 -1
index 650d42dd1fb..a79fb0e2b47 100644
@@ -123,7 +123,6 @@ CONFIG_PHY_REALTEK=y
 CONFIG_PHY_SMSC=y
 CONFIG_PHY_VITESSE=y
 CONFIG_TSEC_ENET=y
-# CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_OF_LIBFDT=y
configs/MPC8349EMDS_SLAVE_defconfig +0 -1
index 944b0517a51..2b7d2fd43fc 100644
@@ -113,6 +113,5 @@ CONFIG_PHY_REALTEK=y
 CONFIG_PHY_SMSC=y
 CONFIG_PHY_VITESSE=y
 CONFIG_TSEC_ENET=y
-# CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/MPC8349EMDS_defconfig +0 -1
index 191b11f64b8..d8c7951385f 100644
@@ -115,7 +115,6 @@ CONFIG_PHY_REALTEK=y
 CONFIG_PHY_SMSC=y
 CONFIG_PHY_VITESSE=y
 CONFIG_TSEC_ENET=y
-# CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_OF_LIBFDT=y
configs/MPC837XERDB_defconfig +0 -2
index 446d5948da3..7106fd15f65 100644
@@ -180,8 +180,6 @@ CONFIG_DM_ETH_PHY=y
 CONFIG_RGMII=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
configs/MPC8548CDS_36BIT_defconfig +0 -1
index c88c4798f91..72ec1e0f77a 100644
@@ -42,7 +42,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_CONS_INDEX=2
configs/MPC8548CDS_defconfig +0 -1
index 8cd9019552e..9db54768fb5 100644
@@ -41,7 +41,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_CONS_INDEX=2
configs/MPC8548CDS_legacy_defconfig +0 -1
index 3112c4e1360..83f7382e916 100644
@@ -41,7 +41,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_CONS_INDEX=2
configs/P1010RDB-PA_36BIT_NAND_defconfig +0 -1
index 91a3b9de9f0..d75eab8f635 100644
@@ -76,7 +76,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_NOR_defconfig +0 -1
index 1e9d40994ad..34d2dbbb813 100644
@@ -58,7 +58,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_SDCARD_defconfig +0 -1
index 43ca53213cf..584cae5ed16 100644
@@ -70,7 +70,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig +0 -1
index 116893bf441..749be89dca0 100644
@@ -72,7 +72,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NAND_defconfig +0 -1
index ffb402fe238..1c8fe09a661 100644
@@ -75,7 +75,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NOR_defconfig +0 -1
index 98c7d032c07..baa245a9883 100644
@@ -57,7 +57,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_SDCARD_defconfig +0 -1
index e4febfb9117..030093226da 100644
@@ -69,7 +69,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_SPIFLASH_defconfig +0 -1
index a32de2c826c..d44885655f1 100644
@@ -71,7 +71,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NAND_defconfig +0 -1
index 1627f8a335a..16282b07a09 100644
@@ -76,7 +76,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NOR_defconfig +0 -1
index 5749acc4fbc..8f149181030 100644
@@ -58,7 +58,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_SDCARD_defconfig +0 -1
index 5884167b96c..9004c44ae01 100644
@@ -70,7 +70,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig +0 -1
index 2228e6f3914..88c22c0f7cf 100644
@@ -72,7 +72,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NAND_defconfig +0 -1
index 07b739968e9..42169ec5ff1 100644
@@ -75,7 +75,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NOR_defconfig +0 -1
index bc0ab873f5b..a1c6fbf4d4f 100644
@@ -57,7 +57,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_SDCARD_defconfig +0 -1
index adc3d40e463..641e6a76c8f 100644
@@ -69,7 +69,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_SPIFLASH_defconfig +0 -1
index 1561475d4a2..4d689df17e5 100644
@@ -71,7 +71,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_36BIT_NAND_defconfig +0 -2
index d989d66e9c7..e01025f031e 100644
@@ -76,7 +76,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -84,6 +83,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P1020RDB-PC_36BIT_SDCARD_defconfig +0 -2
index 41d96c451e7..1d5c4fef600 100644
@@ -71,7 +71,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -79,6 +78,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig +0 -2
index 616e5f1ea3e..6f31dac2aa1 100644
@@ -73,7 +73,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -81,6 +80,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P1020RDB-PC_36BIT_defconfig +0 -2
index 052b5330480..86b36bcd3ba 100644
@@ -60,7 +60,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -68,6 +67,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P1020RDB-PC_NAND_defconfig +0 -2
index 3e58c95ddae..0d4a2964dab 100644
@@ -75,7 +75,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -83,5 +82,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PC_SDCARD_defconfig +0 -2
index 9716ed17652..eba19066b84 100644
@@ -70,7 +70,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -78,5 +77,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PC_SPIFLASH_defconfig +0 -2
index ab33fde94cd..12fd335da5e 100644
@@ -72,7 +72,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -80,5 +79,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PC_defconfig +0 -2
index 2e1b3003fb5..1af1d2cae92 100644
@@ -59,7 +59,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -67,5 +66,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PD_NAND_defconfig +0 -2
index e996e9e23f7..f393caf5df4 100644
@@ -79,7 +79,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -87,5 +86,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PD_SDCARD_defconfig +0 -2
index e92e0ca8467..3d469a3909a 100644
@@ -74,7 +74,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -82,5 +81,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PD_SPIFLASH_defconfig +0 -2
index c1d333deb0f..bec1b90e5ea 100644
@@ -76,7 +76,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -84,5 +83,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P1020RDB-PD_defconfig +0 -2
index 55357cd76b9..bcc00dc84d6 100644
@@ -63,7 +63,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -71,5 +70,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P2020RDB-PC_36BIT_NAND_defconfig +0 -2
index fc4a6a69346..e0c64f0d82e 100644
@@ -81,7 +81,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -89,6 +88,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P2020RDB-PC_36BIT_SDCARD_defconfig +0 -2
index 3d4d6bdacd7..d07fa39445a 100644
@@ -76,7 +76,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -84,6 +83,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig +0 -2
index 4b6288cf33a..ef8cb68dbcd 100644
@@ -78,7 +78,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -86,6 +85,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P2020RDB-PC_36BIT_defconfig +0 -2
index fc3ac6b47d1..3f9c9f3357a 100644
@@ -65,7 +65,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -73,6 +72,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
configs/P2020RDB-PC_NAND_defconfig +0 -2
index f2335b5606a..f674b39f03b 100644
@@ -80,7 +80,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -88,5 +87,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P2020RDB-PC_SDCARD_defconfig +0 -2
index d4614dc9235..e9793db27c1 100644
@@ -75,7 +75,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -83,4 +82,3 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
configs/P2020RDB-PC_SPIFLASH_defconfig +0 -2
index defcf550603..eb61686eebc 100644
@@ -77,7 +77,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -85,5 +84,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P2020RDB-PC_defconfig +0 -2
index dd344e56e14..cd9d8dad871 100644
@@ -64,7 +64,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -72,5 +71,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/P2041RDB_NAND_defconfig +0 -2
index 1eda09747d1..40d4c78a69b 100644
@@ -55,7 +55,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
 CONFIG_SYS_NS16550=y
@@ -63,7 +62,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P2041RDB_SDCARD_defconfig +0 -2
index 171859fe840..55766d1efe7 100644
@@ -54,7 +54,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
 CONFIG_SYS_NS16550=y
@@ -62,7 +61,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P2041RDB_SPIFLASH_defconfig +0 -2
index 1fb6b434617..1e0711e9c35 100644
@@ -55,7 +55,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
 CONFIG_SYS_NS16550=y
@@ -63,7 +62,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P2041RDB_defconfig +0 -2
index c6cf2d5b8dc..224ae422d1e 100644
@@ -53,7 +53,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
 CONFIG_SYS_NS16550=y
@@ -61,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P3041DS_NAND_defconfig +0 -2
index 9c9ab0d711c..20ab931d3e6 100644
@@ -52,7 +52,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
@@ -61,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P3041DS_SDCARD_defconfig +0 -2
index 7a59d0d858e..87ed18dc518 100644
@@ -51,7 +51,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -60,7 +59,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P3041DS_SPIFLASH_defconfig +0 -2
index 3ae8ea62fa4..48ca8b731d5 100644
@@ -52,7 +52,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
@@ -61,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P3041DS_defconfig +0 -2
index 87341865a2d..4369f404a55 100644
@@ -50,7 +50,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -59,7 +58,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P4080DS_SDCARD_defconfig +0 -2
index 6646e594e57..97ef317b07f 100644
@@ -50,7 +50,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -59,7 +58,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P4080DS_SPIFLASH_defconfig +0 -2
index 0290987e57a..6447124c6e0 100644
@@ -51,7 +51,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
@@ -60,7 +59,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P4080DS_defconfig +0 -2
index 16bc7223b3e..f6c43bcd290 100644
@@ -49,7 +49,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -58,7 +57,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P5040DS_NAND_defconfig +0 -2
index 86c14b6efbc..1a55f498b94 100644
@@ -53,7 +53,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
@@ -62,7 +61,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P5040DS_SDCARD_defconfig +0 -2
index d8bab748459..85c8da15376 100644
@@ -51,7 +51,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -60,7 +59,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P5040DS_SPIFLASH_defconfig +0 -2
index f2b5d74c286..48020df78cf 100644
@@ -52,7 +52,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
@@ -61,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/P5040DS_defconfig +0 -2
index 331579aca30..2be7c7769e4 100644
@@ -50,7 +50,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -59,7 +58,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1024RDB_NAND_defconfig +0 -2
index 6aab6364503..92882046d94 100644
@@ -76,7 +76,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
 CONFIG_DM_RTC=y
@@ -85,7 +84,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1024RDB_SDCARD_defconfig +0 -2
index 2fdc62d796b..5f7511db4c7 100644
@@ -73,7 +73,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
 CONFIG_DM_RTC=y
@@ -82,7 +81,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1024RDB_SPIFLASH_defconfig +0 -2
index 3f6b6c02e3f..e49da1021f7 100644
@@ -75,7 +75,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
 CONFIG_DM_RTC=y
@@ -84,7 +83,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1024RDB_defconfig +0 -2
index 087ea28c885..3533b78ba23 100644
@@ -61,7 +61,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
 CONFIG_DM_RTC=y
@@ -70,7 +69,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1042D4RDB_NAND_defconfig +0 -2
index 72c7a6ba0db..7fee6608c4f 100644
@@ -72,7 +72,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
 CONFIG_DM_RTC=y
@@ -81,7 +80,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1042D4RDB_SDCARD_defconfig +0 -2
index 2d08dd27b0a..8df9d7e9898 100644
@@ -69,7 +69,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
 CONFIG_DM_RTC=y
@@ -78,7 +77,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1042D4RDB_SPIFLASH_defconfig +0 -2
index e0e3f40983a..b80fb9aba8b 100644
@@ -71,7 +71,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
 CONFIG_DM_RTC=y
@@ -80,7 +79,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T1042D4RDB_defconfig +0 -2
index 16bc071e3d4..cf6c264f8f9 100644
@@ -57,7 +57,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
 CONFIG_DM_RTC=y
@@ -66,7 +65,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080QDS_NAND_defconfig +1 -3
index b06117bda2d..170400a3b37 100644
@@ -6,6 +6,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0x140000
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
 CONFIG_SPL_TEXT_BASE=0xFFFD8000
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL=y
@@ -70,7 +71,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
@@ -79,8 +79,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080QDS_SDCARD_defconfig +1 -3
index 7c4ba2f53cb..b11da8ebfc9 100644
@@ -6,6 +6,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0x100000
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
 CONFIG_SPL_TEXT_BASE=0xFFFD8000
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
@@ -67,7 +68,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -76,8 +76,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080QDS_SECURE_BOOT_defconfig +1 -3
index f8f031f7787..739fbf8d70d 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xEFF40000
 CONFIG_ENV_SIZE=0x2000
 CONFIG_NXP_ESBC=y
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_T2080QDS=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
@@ -54,7 +55,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -63,11 +63,9 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080QDS_SPIFLASH_defconfig +1 -3
index 2230e214d40..c1ee34df02d 100644
@@ -7,6 +7,7 @@ CONFIG_ENV_OFFSET=0x100000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
 CONFIG_SPL_TEXT_BASE=0xFFFD8000
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL=y
@@ -69,7 +70,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
@@ -78,8 +78,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080QDS_SRIO_PCIE_BOOT_defconfig +1 -3
index 9ab1cdfe8ca..c7bc3ecf7a3 100644
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_SYS_TEXT_BASE=0xFFF40000
 CONFIG_ENV_SIZE=0x2000
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_T2080QDS=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
@@ -47,7 +48,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_REMOTE=y
@@ -56,8 +56,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080QDS_defconfig +1 -3
index 1cbc9474546..f92a4573bf1 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xEFF40000
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
+CONFIG_FSL_USE_PCA9547_MUX=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_T2080QDS=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
@@ -55,7 +56,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -64,8 +64,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_FSL_USE_PCA9547_MUX=y
configs/T2080RDB_NAND_defconfig +0 -2
index dea81a12133..13ec9d5328b 100644
@@ -75,7 +75,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
 CONFIG_DM_RTC=y
@@ -85,7 +84,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_SDCARD_defconfig +0 -2
index c59da1b25df..6b032d25b25 100644
@@ -72,7 +72,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
 CONFIG_DM_RTC=y
@@ -82,7 +81,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_SPIFLASH_defconfig +0 -2
index 7b296dbec17..b65067ab027 100644
@@ -74,7 +74,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
 CONFIG_DM_RTC=y
@@ -84,7 +83,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_defconfig +0 -2
index b7facfea5a9..24e927c7350 100644
@@ -59,7 +59,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
 CONFIG_DM_RTC=y
@@ -69,7 +68,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_revD_NAND_defconfig +0 -2
index 9284616c528..1b383fd7ebd 100644
@@ -76,7 +76,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NAND=y
@@ -87,7 +86,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_revD_SDCARD_defconfig +0 -2
index c6634795883..7026256f1f9 100644
@@ -73,7 +73,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -84,7 +83,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_revD_SPIFLASH_defconfig +0 -2
index 4c6879b7a5d..650158b2343 100644
@@ -75,7 +75,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH=y
@@ -86,7 +85,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T2080RDB_revD_defconfig +0 -2
index 79397ab30a8..2ecbabf99ec 100644
@@ -60,7 +60,6 @@ CONFIG_DM_MDIO=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -71,7 +70,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T4240RDB_SDCARD_defconfig +0 -2
index f2a4bef038f..76c7906c165 100644
@@ -65,7 +65,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_MMC=y
@@ -74,7 +73,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/T4240RDB_defconfig +0 -2
index b931eb025f5..abb2137d91e 100644
@@ -53,7 +53,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_FMAN_ENET=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_FSL=y
 CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
@@ -62,7 +61,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_ADDR_MAP=y
 CONFIG_SYS_NUM_ADDR_MAP=64
configs/UCP1020_defconfig +0 -1
index a016a855937..1fdb1952c8f 100644
@@ -53,7 +53,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
-# CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
 CONFIG_FS_CRAMFS=y
 CONFIG_OF_LIBFDT=y
configs/alt_defconfig +0 -2
index 3025c13d1dc..216adf6777e 100644
@@ -79,7 +79,6 @@ CONFIG_PHY_MICREL_KSZ8XXX=y
 CONFIG_DM_ETH=y
 CONFIG_SH_ETHER=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
@@ -92,7 +91,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_SH_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
configs/am335x_baltos_defconfig +0 -1
index 7b09214597f..26c73d96ae7 100644
@@ -68,7 +68,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_DSPS=y
configs/am335x_boneblack_vboot_defconfig +0 -1
index a0baeec79ed..3ffc4a9a40f 100644
@@ -64,7 +64,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
configs/am335x_evm_defconfig +0 -1
index a33efff42a7..c48be6bde14 100644
@@ -75,7 +75,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
configs/am335x_evm_spiboot_defconfig +0 -1
index 8f0c330674a..b106141eafd 100644
@@ -74,7 +74,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
configs/am335x_guardian_defconfig +3 -10
index 8ae5c678ae2..3921aac4bd4 100644
@@ -1,14 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_CPU_INIT=y
 CONFIG_ARCH_OMAP2PLUS=y
-# CONFIG_SPL_GPIO_SUPPORT is not set
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MEMTEST_START=0x80000000
+CONFIG_SYS_MEMTEST_END=0x81000000
 CONFIG_ENV_SIZE=0x40000
 CONFIG_ENV_OFFSET=0x500000
 CONFIG_DEFAULT_DEVICE_TREE="am335x-guardian"
-CONFIG_SYS_MEMTEST_START=0x80000000
-CONFIG_SYS_MEMTEST_END=0x81000000
 CONFIG_AM33XX=y
 CONFIG_TARGET_AM335X_GUARDIAN=y
 CONFIG_SPL_SERIAL_SUPPORT=y
@@ -24,7 +23,6 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
-CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
@@ -42,12 +40,10 @@ CONFIG_SPL_NET_VCI_STRING="Guardian U-Boot SPL"
 CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_USB_GADGET=y
 CONFIG_SPL_USB_ETHER=y
-# CONFIG_CMD_SPL is not set
-CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
-# CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_MEMTEST=y
+# CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
@@ -115,9 +111,6 @@ CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
 CONFIG_USB_ETHER=y
-CONFIG_DM_VIDEO=y
-CONFIG_DM_PANEL_HX8238D=y
-CONFIG_VIDEO_BPP16=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_AM335X_LCD=y
 CONFIG_SPL_WDT=y
configs/am335x_hs_evm_defconfig +0 -1
index 83815e1131f..bc19d070529 100644
@@ -68,7 +68,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
configs/am335x_hs_evm_uart_defconfig +0 -1
index 9c5ac032bd8..a1e19b6ce90 100644
@@ -70,7 +70,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
configs/am3517_evm_defconfig +0 -1
index 66185630db2..504b38cbfd4 100644
@@ -76,7 +76,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_AM35X=y
configs/am43xx_evm_defconfig +0 -1
index 05e7e774c63..ae1fffddb21 100644
@@ -71,7 +71,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am43xx_evm_qspiboot_defconfig +0 -1
index 352050204d6..f42218bb46b 100644
@@ -52,7 +52,6 @@ CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_TI_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/am43xx_evm_rtconly_defconfig +0 -1
index c8db636e256..955ea087acb 100644
@@ -55,7 +55,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/am43xx_evm_usbhost_boot_defconfig +0 -1
index ae233434099..a3e55ce3469 100644
@@ -77,7 +77,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/am43xx_hs_evm_defconfig +0 -1
index f568aa646ef..62c1ecbfed8 100644
@@ -76,7 +76,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am57xx_evm_defconfig +0 -1
index e21b3dff537..650357de0f2 100644
@@ -102,7 +102,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_TI_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am57xx_hs_evm_defconfig +0 -1
index 3807732b02a..c96132847b5 100644
@@ -98,7 +98,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_TI_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am57xx_hs_evm_usb_defconfig +0 -1
index b0cfecdd63b..8fd29ba4f26 100644
@@ -106,7 +106,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_TI_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am64x_evm_a53_defconfig +0 -1
index 6fab1deeb27..f766a1177c4 100644
@@ -116,7 +116,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am64x_evm_r5_defconfig +0 -1
index 4a16cdea2ef..c207cdf90b3 100644
@@ -116,7 +116,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am65x_evm_a53_defconfig +0 -1
index a5858fe27ee..2d580f72bdf 100644
@@ -156,7 +156,6 @@ CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am65x_evm_r5_usbdfu_defconfig +0 -2
index e08a80ef4b0..5bc713f648e 100644
@@ -61,7 +61,6 @@ CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_BLK=y
 CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_TI_SCI=y
@@ -106,7 +105,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am65x_evm_r5_usbmsc_defconfig +0 -2
index 61c00b83a00..e75852d4228 100644
@@ -60,7 +60,6 @@ CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_BLK=y
 CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_TI_SCI=y
@@ -103,7 +102,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/am65x_hs_evm_a53_defconfig +0 -1
index e0297d4ce9a..4e32eabac19 100644
@@ -139,7 +139,6 @@ CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/apalis-imx8x_defconfig +0 -1
index fc537839b87..ed9686e0d87 100644
@@ -62,7 +62,6 @@ CONFIG_FEC_MXC_MDIO_BASE=0x5B040000
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX8=y
 CONFIG_POWER_DOMAIN=y
configs/apalis-tk1_defconfig +0 -2
index 276541b57da..39e1c1dff17 100644
@@ -45,7 +45,6 @@ CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK=y
 CONFIG_E1000=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_AS3722=y
@@ -53,7 +52,6 @@ CONFIG_DM_REGULATOR=y
 CONFIG_REGULATOR_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
 CONFIG_USB_GADGET=y
configs/apalis_imx6_defconfig +1 -2
index ad109c444fe..0fc7cf0ed31 100644
@@ -89,15 +89,14 @@ CONFIG_DM_SCSI=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_KEYBOARD=y
+CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP32 is not set
configs/apalis_t30_defconfig +0 -2
index 21b31b44bc7..1420ca219f3 100644
@@ -38,11 +38,9 @@ CONFIG_SPL_DM=y
 CONFIG_SYS_I2C_TEGRA=y
 CONFIG_E1000=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
 CONFIG_USB_GADGET=y
configs/aristainetos2c_defconfig +0 -2
index d0e83508940..67fc4e3e23c 100644
@@ -17,7 +17,6 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/aristainetos/aristainetos2.cfg"
 CONFIG_BOOTDELAY=-2
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_ENCRYPTION=y
-CONFIG_AUTOBOOT_STOP_STR_SHA256="30bb0bce5f77da71a6e8e436fe40af54bc823db9501ae170f77e9992499d88fb"
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run ari_boot"
 # CONFIG_CONSOLE_MUX is not set
@@ -111,7 +110,6 @@ CONFIG_MXC_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
 CONFIG_SYS_WHITE_ON_BLACK=y
configs/aristainetos2ccslb_defconfig +0 -2
index cad9c8b44d5..c156a6ade80 100644
@@ -17,7 +17,6 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/aristainetos/aristainetos2.cfg"
 CONFIG_BOOTDELAY=-2
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_ENCRYPTION=y
-CONFIG_AUTOBOOT_STOP_STR_SHA256="30bb0bce5f77da71a6e8e436fe40af54bc823db9501ae170f77e9992499d88fb"
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run ari_boot"
 # CONFIG_CONSOLE_MUX is not set
@@ -111,7 +110,6 @@ CONFIG_MXC_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
 CONFIG_SYS_WHITE_ON_BLACK=y
configs/arndale_defconfig +0 -1
index bc7af829fb8..a3e74ab6260 100644
@@ -44,7 +44,6 @@ CONFIG_I2S_SAMSUNG=y
 CONFIG_SOUND_MAX98095=y
 CONFIG_SOUND_WM8994=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_EHCI_HCD=y
configs/at91sam9260ek_dataflash_cs0_defconfig +0 -2
index ce0a3ce35ac..76ad67bf9ee 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9260ek_dataflash_cs1_defconfig +0 -2
index 5bb6ae68adf..07d3911d900 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9260ek_nandflash_defconfig +0 -2
index 95a0798afaf..24a40f2137d 100644
@@ -23,7 +23,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -56,4 +55,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9261ek_dataflash_cs0_defconfig +0 -2
index 48780fd4937..79e3e02e9f8 100644
@@ -24,7 +24,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -56,4 +55,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9261ek_dataflash_cs3_defconfig +0 -2
index 8705e881e56..29e08af51d8 100644
@@ -24,7 +24,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -56,4 +55,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9261ek_nandflash_defconfig +0 -2
index 1483b6f45c4..e5d54e463fd 100644
@@ -22,7 +22,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -53,4 +52,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9263ek_dataflash_cs0_defconfig +0 -3
index 3d6e6cf6df9..64e2ea8eeda 100644
@@ -28,7 +28,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -62,5 +61,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9263ek_dataflash_defconfig +0 -3
index 3d6e6cf6df9..64e2ea8eeda 100644
@@ -28,7 +28,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -62,5 +61,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9263ek_nandflash_defconfig +0 -3
index e716d7156e4..73aef06a7cf 100644
@@ -26,7 +26,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,5 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9263ek_norflash_boot_defconfig +0 -3
index db3d0fbff13..8b5377dc1bd 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -62,5 +61,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9263ek_norflash_defconfig +0 -3
index 01b2c84526b..ee4edec2daa 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -62,5 +61,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g10ek_dataflash_cs0_defconfig +0 -2
index 4b0135f607b..a9acd1d46ef 100644
@@ -24,7 +24,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -54,4 +53,3 @@ CONFIG_ATMEL_USART=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g10ek_dataflash_cs3_defconfig +0 -2
index c37a8c4a333..4c92ee4593c 100644
@@ -24,7 +24,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -54,4 +53,3 @@ CONFIG_ATMEL_USART=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g10ek_nandflash_defconfig +0 -2
index e7ee1440239..414e41b48fb 100644
@@ -22,7 +22,6 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -51,4 +50,3 @@ CONFIG_ATMEL_USART=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g20ek_2mmc_defconfig +0 -3
index 00cc182f852..d3d95c726cb 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -57,5 +56,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g20ek_2mmc_nandflash_defconfig +0 -3
index 9610ddd34ed..4e9f8e2dbc9 100644
@@ -24,7 +24,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -57,5 +56,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g20ek_dataflash_cs0_defconfig +0 -2
index 6c85767b3da..e0478ef1a93 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g20ek_dataflash_cs1_defconfig +0 -2
index 28195da7e9f..2bc57c8af73 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9g20ek_nandflash_defconfig +0 -2
index a98f759d100..14b32a9e6e8 100644
@@ -23,7 +23,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -56,4 +55,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9m10g45ek_mmc_defconfig +0 -1
index cdcd67b017c..07683608d04 100644
@@ -52,6 +52,5 @@ CONFIG_ATMEL_USART=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/at91sam9m10g45ek_nandflash_defconfig +0 -1
index a958162574b..568743d5e2e 100644
@@ -52,6 +52,5 @@ CONFIG_ATMEL_USART=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/at91sam9n12ek_mmc_defconfig +0 -3
index f4c3fb864ef..2e0e5969628 100644
@@ -22,7 +22,6 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NAND_TRIMFFS=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -57,6 +56,4 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
 CONFIG_ATMEL_HLCD=y
configs/at91sam9n12ek_nandflash_defconfig +0 -3
index 161ec94695f..483e5e9618c 100644
@@ -22,7 +22,6 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NAND_TRIMFFS=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -57,6 +56,4 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
 CONFIG_ATMEL_HLCD=y
configs/at91sam9n12ek_spiflash_defconfig +0 -3
index 3a66fe60756..0bed29bb431 100644
@@ -24,7 +24,6 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NAND_TRIMFFS=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -59,6 +58,4 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_STORAGE=y
 CONFIG_ATMEL_HLCD=y
configs/at91sam9x5ek_dataflash_defconfig +0 -1
index 49f6a7dd2e4..a8e1a36b507 100644
@@ -62,7 +62,6 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
configs/at91sam9x5ek_mmc_defconfig +0 -1
index 8194c137890..3bd0897cfed 100644
@@ -60,7 +60,6 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
configs/at91sam9x5ek_nandflash_defconfig +0 -1
index 25c8a16813b..90c8f796f9e 100644
@@ -60,7 +60,6 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
configs/at91sam9x5ek_spiflash_defconfig +0 -1
index b7f8903b1a0..71bbd743df6 100644
@@ -62,7 +62,6 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
configs/at91sam9xeek_dataflash_cs0_defconfig +0 -2
index d2f280c2546..2573c3c3407 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9xeek_dataflash_cs1_defconfig +0 -2
index 4fd826b8ff5..f2baad78e6c 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -59,4 +58,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/at91sam9xeek_nandflash_defconfig +0 -2
index a1374208bc3..a1026a78fd5 100644
@@ -23,7 +23,6 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
@@ -56,4 +55,3 @@ CONFIG_DM_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
configs/axs101_defconfig +0 -1
index ada72651e48..7af881e45bc 100644
@@ -51,7 +51,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DESIGNWARE_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
configs/axs103_defconfig +0 -1
index cc6a09e9023..7394272ee3f 100644
@@ -51,7 +51,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DESIGNWARE_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
configs/beaver_defconfig +2 -4
index 7c0a71446ed..76ad5efb6aa 100644
@@ -42,19 +42,17 @@ CONFIG_SF_DEFAULT_SPEED=24000000
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_RTL8169=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA20_SLINK=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0955
 CONFIG_USB_GADGET_PRODUCT_NUM=0x701a
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
configs/beelink-gtking_defconfig +0 -1
index b429c8237c0..ebd88797830 100644
@@ -47,7 +47,6 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_MESON_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/beelink-gtkingpro_defconfig +0 -1
index 7a8bd56a654..df2580287d4 100644
@@ -47,7 +47,6 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_MESON_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/blanche_defconfig +0 -2
index 67482b1a4ff..eb1dd71c67b 100644
@@ -57,7 +57,6 @@ CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SMC911X=y
 CONFIG_SMC911X_BASE=0x18000000
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
@@ -70,7 +69,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_SH_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
configs/boston32r2_defconfig +0 -1
index 8826e1f35ba..1985a43cc9c 100644
@@ -43,7 +43,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston32r2el_defconfig +0 -1
index 8c0052d4187..3aef947402d 100644
@@ -44,7 +44,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston32r6_defconfig +0 -1
index 7ccc925060b..6c436d0a75c 100644
@@ -44,7 +44,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston32r6el_defconfig +0 -1
index 78d4b2e9414..eb6c8e63d11 100644
@@ -45,7 +45,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston64r2_defconfig +0 -1
index 332f3d93050..d2e16bf667e 100644
@@ -44,7 +44,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston64r2el_defconfig +0 -1
index f543137237b..64ef559dcef 100644
@@ -45,7 +45,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston64r6_defconfig +0 -1
index 3896d668527..23a7c46e969 100644
@@ -44,7 +44,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/boston64r6el_defconfig +0 -1
index 1353a1b280b..6424c05a4ac 100644
@@ -45,7 +45,6 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_PCH_GBE=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_XILINX=y
 CONFIG_SYS_NS16550=y
 CONFIG_LZ4=y
configs/brppt1_mmc_defconfig +0 -1
index 759880246ff..bd4c4e5a7b9 100644
@@ -89,7 +89,6 @@ CONFIG_DM_ETH=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_DM_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
configs/brppt1_nand_defconfig +0 -2
index 97b69c1a13c..9a0158299f5 100644
@@ -80,7 +80,6 @@ CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 # CONFIG_OF_TRANSLATE is not set
-CONFIG_BLK=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
@@ -95,7 +94,6 @@ CONFIG_DM_ETH=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_DM_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
configs/brppt1_spi_defconfig +0 -1
index b834c210266..e8699a9dc18 100644
@@ -105,7 +105,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
configs/brppt2_defconfig +0 -1
index 1f466bea5a7..f362aeaa75e 100644
@@ -94,7 +94,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_SPL_TINY_MEMSET=y
 # CONFIG_EFI_LOADER is not set
configs/brsmarc1_defconfig +0 -1
index 6df2ffc831f..830cd4456c1 100644
@@ -105,7 +105,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
configs/brxre1_defconfig +0 -1
index af5d5a65b40..757585e8daf 100644
@@ -85,7 +85,6 @@ CONFIG_DM_ETH=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_DM_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
configs/cardhu_defconfig +0 -2
index 5098a71d281..b4d38c569cc 100644
@@ -34,12 +34,10 @@ CONFIG_SF_DEFAULT_SPEED=24000000
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_RTL8169=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA20_SLINK=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
 CONFIG_USB_HOST_ETHER=y
configs/cei-tk1-som_defconfig +2 -4
index ec520e367b6..077324a0de9 100644
@@ -42,7 +42,6 @@ CONFIG_SF_DEFAULT_SPEED=24000000
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_RTL8169=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_AS3722=y
@@ -51,14 +50,13 @@ CONFIG_REGULATOR_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0955
 CONFIG_USB_GADGET_PRODUCT_NUM=0x701a
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
configs/chiliboard_defconfig +0 -1
index f4b685a1d53..3ab76d50861 100644
@@ -61,7 +61,6 @@ CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_TI=y
 CONFIG_LZO=y
configs/cl-som-imx7_defconfig +0 -1
index 6e379126c6b..9fb1d670aad 100644
@@ -83,7 +83,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_MXC_USB_OTG_HACTIVE=y
 CONFIG_USB_STORAGE=y
configs/clearfog_defconfig +0 -1
index 4702cf2df18..ad943a3196e 100644
@@ -69,5 +69,4 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
configs/clearfog_gt_8k_defconfig +0 -2
index a94dc225697..ee701883d7e 100644
@@ -57,7 +57,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_MVPP2=y
 CONFIG_NVME=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_DW_MVEBU=y
 CONFIG_MVEBU_COMPHY_SUPPORT=y
 CONFIG_PINCTRL=y
@@ -68,7 +67,6 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_HOST_ETHER=y
configs/cm_fx6_defconfig +0 -1
index 2f44157adfe..2ef935d8516 100644
@@ -91,7 +91,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_KEYBOARD=y
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
 CONFIG_DM_VIDEO=y
configs/cm_t43_defconfig +0 -1
index 101d77c9d26..3752ff55de2 100644
@@ -82,7 +82,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_OMAP_USB_PHY=y
configs/colibri-imx6ull_defconfig +0 -1
index bec5fd7b311..739eea7c07f 100644
@@ -87,7 +87,6 @@ CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
configs/colibri_imx6_defconfig +1 -2
index 19d70c0cf8f..23cdea969d9 100644
@@ -87,15 +87,14 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_KEYBOARD=y
+CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP32 is not set
configs/colibri_imx7_defconfig +0 -1
index 7a0d69f1de5..39149167e00 100644
@@ -82,7 +82,6 @@ CONFIG_PMIC_RN5T567=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
configs/colibri_imx7_emmc_defconfig +0 -1
index d076a520808..87527671fef 100644
@@ -79,7 +79,6 @@ CONFIG_PMIC_RN5T567=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
configs/colibri_pxa270_defconfig +0 -1
index ec62ec3ba83..814d87e9393 100644
@@ -24,7 +24,6 @@ CONFIG_CMD_DM=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/colibri_t20_defconfig +2 -3
index c8f1e32b1bb..ac98e84b440 100644
@@ -54,19 +54,18 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_PWM_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
 CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 CONFIG_VIDEO_TEGRA20=y
configs/colibri_t30_defconfig +2 -3
index fab035b4073..618f7c10a1b 100644
@@ -37,15 +37,14 @@ CONFIG_SPL_DM=y
 CONFIG_SYS_I2C_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Toradex"
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
 CONFIG_OF_LIBFDT_OVERLAY=y
configs/colibri_vf_defconfig +0 -1
index 722c9938f50..abb81178046 100644
@@ -85,7 +85,6 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_SERIAL=y
 CONFIG_FSL_LPUART=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
configs/comtrend_ar5315u_ram_defconfig +0 -1
index 14795197a9e..0e7d9cd8b15 100644
@@ -57,7 +57,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_BCM63XX_HSSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/comtrend_ar5387un_ram_defconfig +0 -1
index baff4b365d4..655db1bba6e 100644
@@ -58,7 +58,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_BCM63XX_HSSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/comtrend_ct5361_ram_defconfig +0 -1
index f733eb4a183..6a7ce99e79c 100644
@@ -54,7 +54,6 @@ CONFIG_RESET_BCM6345=y
 CONFIG_DM_SERIAL=y
 CONFIG_BCM6345_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_GENERIC=y
 CONFIG_WDT_BCM6345=y
configs/comtrend_vr3032u_ram_defconfig +0 -1
index f9a921a7621..ac963efdcc2 100644
@@ -56,7 +56,6 @@ CONFIG_RESET_BCM6345=y
 CONFIG_DM_SERIAL=y
 CONFIG_BCM6345_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/comtrend_wap5813n_ram_defconfig +0 -1
index dcc64bb6b76..16e0caa6a0d 100644
@@ -54,7 +54,6 @@ CONFIG_RESET_BCM6345=y
 CONFIG_DM_SERIAL=y
 CONFIG_BCM6345_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/controlcenterdc_defconfig +0 -1
index a8d961a7c50..14577a41537 100644
@@ -79,7 +79,6 @@ CONFIG_TPM_ATMEL_TWI=y
 CONFIG_TPM_AUTH_SESSIONS=y
 CONFIG_TPM_FLUSH_RESOURCES=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_TPM=y
configs/corvus_defconfig +0 -2
index ef21e965ce7..921049352b7 100644
@@ -47,7 +47,6 @@ CONFIG_OF_CONTROL=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_BLK=y
 CONFIG_CLK=y
 CONFIG_CLK_AT91=y
 CONFIG_DFU_NAND=y
@@ -61,7 +60,6 @@ CONFIG_NAND_ATMEL=y
 CONFIG_PHYLIB=y
 CONFIG_ATMEL_USART=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
configs/d2net_v2_defconfig +0 -2
index 33e21495058..017bb216230 100644
@@ -43,7 +43,6 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
@@ -55,6 +54,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/da850evm_defconfig +0 -1
index 99cb4be8c22..3ed89781b02 100644
@@ -84,7 +84,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_DA8XX=y
configs/da850evm_direct_nor_defconfig +0 -2
index b595acf4009..e69da40a110 100644
@@ -44,7 +44,6 @@ CONFIG_ENV_ADDR=0x60100000
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_DM=y
-CONFIG_BLK=y
 CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DAVINCI=y
@@ -74,7 +73,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_DA8XX=y
 CONFIG_USB_MUSB_HOST=y
configs/da850evm_nand_defconfig +0 -1
index 414fca53839..7803bf5c506 100644
@@ -83,7 +83,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_DA8XX=y
configs/dalmore_defconfig +2 -3
index a58605d7619..dabdb070642 100644
@@ -42,14 +42,13 @@ CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0955
 CONFIG_USB_GADGET_PRODUCT_NUM=0x701a
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
configs/db-88f6720_defconfig +0 -2
index bb73635d92b..2d07ddf7f51 100644
@@ -46,7 +46,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_BLK=y
 CONFIG_MISC=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_MACRONIX=y
@@ -59,6 +58,5 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/db-88f6820-amc_defconfig +0 -3
index a7c84985999..5eec9982a89 100644
@@ -43,14 +43,12 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_EFI_PARTITION=y
-# CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_ENV_OVERWRITE=y
 CONFIG_USE_ENV_SPI_MAX_HZ=y
 CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_BLK=y
 # CONFIG_SPL_BLK is not set
 # CONFIG_BLOCK_CACHE is not set
 CONFIG_DM_I2C=y
@@ -74,6 +72,5 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/db-88f6820-gp_defconfig +0 -2
index 6fa00d1a179..74c963470bf 100644
@@ -43,7 +43,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_EFI_PARTITION=y
-# CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_ENV_OVERWRITE=y
 CONFIG_USE_ENV_SPI_MAX_HZ=y
@@ -67,6 +66,5 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/db-mv784mp-gp_defconfig +0 -3
index e1f6aff8f59..014929042d0 100644
@@ -43,7 +43,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_EFI_PARTITION=y
-# CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_ENV_OVERWRITE=y
 CONFIG_USE_ENV_SPI_MAX_HZ=y
@@ -51,7 +50,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_SATA_MV=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
@@ -69,6 +67,5 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/db-xc3-24g4xg_defconfig +0 -2
index f2da99c5d3f..9a162df295d 100644
@@ -37,7 +37,6 @@ CONFIG_CMD_UBI=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_BLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
@@ -55,7 +54,6 @@ CONFIG_PCI_MVEBU=y
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_HOST_ETHER=y
configs/devkit3250_defconfig +0 -3
index 2034cd11d59..b56408f98af 100644
@@ -27,7 +27,6 @@ CONFIG_CMD_IMLS=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
@@ -57,6 +56,4 @@ CONFIG_CONS_INDEX=5
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_USB=y
-# CONFIG_SPL_DM_USB is not set
-CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
configs/dh_imx6_defconfig +0 -1
index a22053396c7..ef905ec3709 100644
@@ -98,7 +98,6 @@ CONFIG_MXC_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="dh"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
configs/display5_factory_defconfig +0 -1
index 2ade8c2055e..d5fb73de394 100644
@@ -121,7 +121,6 @@ CONFIG_MXC_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Liebherr"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
configs/dns325_defconfig +0 -2
index d5d79f5297f..edcdb87d54f 100644
@@ -36,7 +36,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
@@ -46,6 +45,5 @@ CONFIG_DM_RTC=y
 CONFIG_RTC_MV=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/dra7xx_evm_defconfig +0 -1
index 9d222f1ef30..115a21c8fd1 100644
@@ -118,7 +118,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/dra7xx_hs_evm_defconfig +0 -1
index 86ec00396d1..e63b09c815d 100644
@@ -121,7 +121,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/dra7xx_hs_evm_usb_defconfig +0 -1
index 229309c8f41..a4900fe5099 100644
@@ -115,7 +115,6 @@ CONFIG_TI_QSPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/dragonboard410c_defconfig +4 -5
index a46283f980e..b8aae592b66 100644
@@ -46,18 +46,17 @@ CONFIG_PMIC_PM8916=y
 CONFIG_MSM_SERIAL=y
 CONFIG_SPMI_MSM=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_MSM=y
 CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
-CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d
-CONFIG_CI_UDC=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_USB_ETHER_MCS7830=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
+CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d
+CONFIG_CI_UDC=y
 CONFIG_OF_LIBFDT_OVERLAY=y
configs/dreamplug_defconfig +0 -2
index 8956d2f3c59..288182a51b1 100644
@@ -34,7 +34,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_ENV_ADDR=0x100000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
@@ -48,6 +47,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/ds109_defconfig +0 -2
index 77c094b7663..9f146ec3d4a 100644
@@ -30,7 +30,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_ENV_ADDR=0x3D0000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_BLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
@@ -46,5 +45,4 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
configs/ds414_defconfig +0 -2
index b8a0bd09d42..030a85d315e 100644
@@ -47,7 +47,6 @@ CONFIG_USE_ENV_SPI_MAX_HZ=y
 CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_SPI_FLASH_STMICRO=y
@@ -62,7 +61,6 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 # CONFIG_USB_XHCI_MVEBU is not set
 CONFIG_USB_XHCI_PCI=y
configs/durian_defconfig +0 -1
index c55084b6204..77b9795d106 100644
@@ -26,7 +26,6 @@ CONFIG_AHCI_PCI=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_PHYTIUM=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
configs/edison_defconfig +1 -1
index 82265484bc2..a78963006c2 100644
@@ -38,12 +38,12 @@ CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_DM_USB_GADGET=y
+# CONFIG_USB_HOST_ETHER is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Intel"
 CONFIG_USB_GADGET_VENDOR_NUM=0x8087
 CONFIG_USB_GADGET_PRODUCT_NUM=0x0a99
 CONFIG_USB_GADGET_DOWNLOAD=y
-# CONFIG_USB_HOST_ETHER is not set
 CONFIG_WDT=y
 CONFIG_WDT_TANGIER=y
 CONFIG_SHA1=y
configs/edminiv2_defconfig +0 -3
index 0aacb35e44c..3d1365dd68f 100644
@@ -24,7 +24,6 @@ CONFIG_SYS_PROMPT="EDMiniV2> "
 CONFIG_CMD_IMLS=y
 CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
-CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT2=y
 CONFIG_ISO_PARTITION=y
@@ -40,5 +39,3 @@ CONFIG_MVGBE=y
 CONFIG_MII=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_STORAGE=y
configs/ethernut5_defconfig +0 -1
index 585024158ef..4da3c1d4f4c 100644
@@ -28,7 +28,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SAVES=y
 CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_RARP=y
 CONFIG_CMD_MII=y
configs/ev-imx280-nano-x-mb_defconfig +0 -1
index cc95fdb0deb..afb2a68a302 100644
@@ -45,7 +45,6 @@ CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_OF_LIBFDT_OVERLAY=y
configs/firefly-rk3288_defconfig +2 -2
index 3fa8e155e34..91b7974c408 100644
@@ -73,11 +73,11 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_ROCKCHIP_USB2_PHY=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 CONFIG_DISPLAY=y
configs/ge_b1x5v2_defconfig +0 -1
index efd4eed61a5..d3a628c3636 100644
@@ -120,7 +120,6 @@ CONFIG_POWEROFF_GPIO=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
 CONFIG_USB_GADGET=y
configs/ge_bx50v3_defconfig +0 -1
index b831850ec0f..76e478b5806 100644
@@ -70,7 +70,6 @@ CONFIG_CMD_E1000=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_PMIC=y
configs/goflexhome_defconfig +0 -2
index 9285e8d4d71..7207fa27e0f 100644
@@ -37,7 +37,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
@@ -47,6 +46,5 @@ CONFIG_DM_RTC=y
 CONFIG_RTC_MV=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/gose_defconfig +0 -2
index 5cd4cb8c125..5276f4c123e 100644
@@ -77,7 +77,6 @@ CONFIG_PHY_MICREL_KSZ8XXX=y
 CONFIG_DM_ETH=y
 CONFIG_SH_ETHER=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
@@ -90,7 +89,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_SH_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
configs/grpeach_defconfig +0 -2
index d497ac80076..e4a570de564 100644
@@ -39,7 +39,6 @@ CONFIG_USE_ENV_SPI_MODE=y
 CONFIG_ENV_SPI_MODE=0x0
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_BLK=y
 CONFIG_RZA1_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
@@ -61,7 +60,6 @@ CONFIG_RENESAS_RPC_SPI=y
 CONFIG_TIMER=y
 CONFIG_RENESAS_OSTM_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_R8A66597_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT_OVERLAY=y
configs/guruplug_defconfig +0 -2
index 954e429a9d5..619254c2b55 100644
@@ -38,7 +38,6 @@ CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
@@ -48,7 +47,6 @@ CONFIG_DM_RTC=y
 CONFIG_RTC_MV=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_LZMA=y
configs/gwventana_emmc_defconfig +3 -6
index 2fa30d470a4..3190fbed232 100644
@@ -91,7 +91,6 @@ CONFIG_E1000=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_REGULATOR=y
@@ -105,9 +104,10 @@ CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
-CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
+CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Gateworks"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
@@ -116,9 +116,6 @@ CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_ETHER=y
 CONFIG_USB_ETH_CDC=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
-CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
 # CONFIG_BACKLIGHT is not set
 # CONFIG_CMD_VIDCONSOLE is not set
configs/gwventana_gw5904_defconfig +3 -6
index 5b75fca9f2c..b11dc907fd9 100644
@@ -95,7 +95,6 @@ CONFIG_E1000=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_REGULATOR=y
@@ -109,9 +108,10 @@ CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
-CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
+CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Gateworks"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
@@ -120,9 +120,6 @@ CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_ETHER=y
 CONFIG_USB_ETH_CDC=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
-CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
 # CONFIG_BACKLIGHT is not set
 # CONFIG_CMD_VIDCONSOLE is not set
configs/gwventana_nand_defconfig +3 -6
index 16c0374804e..2b39f9027ce 100644
@@ -97,7 +97,6 @@ CONFIG_E1000=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_REGULATOR=y
@@ -111,9 +110,10 @@ CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
-CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
+CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Gateworks"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
@@ -122,9 +122,6 @@ CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_ETHER=y
 CONFIG_USB_ETH_CDC=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
-CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
 # CONFIG_BACKLIGHT is not set
 # CONFIG_CMD_VIDCONSOLE is not set
configs/harmony_defconfig +0 -2
index 99060461743..874311e487b 100644
@@ -38,14 +38,12 @@ CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_PWM_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
 CONFIG_USB_ULPI_VIEWPORT=y
configs/helios4_defconfig +0 -1
index 202e57344d9..c70787a2d78 100644
@@ -69,5 +69,4 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
configs/hihope_rzg2_defconfig +0 -1
index be71ebb6a2e..1e977444d41 100644
@@ -71,7 +71,6 @@ CONFIG_RENESAS_RPC_SPI=y
 CONFIG_TEE=y
 CONFIG_OPTEE=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
configs/hikey_defconfig +0 -1
index 243733618b6..0ec1ed78a0b 100644
@@ -26,7 +26,6 @@ CONFIG_MMC_DW_K3=y
 CONFIG_DM_ETH=y
 CONFIG_CONS_INDEX=4
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
configs/hsdk_defconfig +0 -1
index dd2cfb92646..e4245630c0b 100644
@@ -54,7 +54,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DESIGNWARE_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/huawei_hg556a_ram_defconfig +0 -1
index f08e2ad9d1b..004fea1fa3d 100644
@@ -54,7 +54,6 @@ CONFIG_RESET_BCM6345=y
 CONFIG_DM_SERIAL=y
 CONFIG_BCM6345_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
configs/imx6q_logic_defconfig +0 -1
index 85a29f3ee24..c1abe700485 100644
@@ -96,7 +96,6 @@ CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="FSL"
configs/imx7_cm_defconfig +0 -1
index d7a7924d515..6220ebf8b17 100644
@@ -93,7 +93,6 @@ CONFIG_FSL_QSPI=y
 # CONFIG_FSL_QSPI_AHB_FULL_MAP is not set
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_MXC_USB_OTG_HACTIVE=y
 CONFIG_USB_GADGET=y
configs/imx8mm-cl-iot-gate_defconfig +2 -3
index f46f45bda91..af584cde5e4 100644
@@ -123,9 +123,10 @@ CONFIG_DM_THERMAL=y
 CONFIG_TPM2_TIS_SPI=y
 CONFIG_TPM2_FTPM_TEE=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="FSL"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
@@ -133,8 +134,6 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_SDP_LOADADDR=0x40400000
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_IMX_WATCHDOG=y
 CONFIG_SPL_TINY_MEMSET=y
 CONFIG_TPM=y
configs/imx8mn_beacon_2g_defconfig +0 -1
index ecbc8c30a54..5fbcf70b93f 100644
@@ -121,7 +121,6 @@ CONFIG_SYSRESET=y
 CONFIG_SYSRESET_PSCI=y
 CONFIG_DM_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
configs/imx8mn_beacon_defconfig +0 -1
index fa3fdfa880f..bc5ce39750f 100644
@@ -125,7 +125,6 @@ CONFIG_SYSRESET=y
 CONFIG_SYSRESET_PSCI=y
 CONFIG_DM_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
configs/imx8mq_evk_defconfig +3 -5
index f4d53976746..50132c833e2 100644
@@ -26,6 +26,7 @@ CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_MDIO is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_REGULATOR=y
@@ -43,6 +44,8 @@ CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ATHEROS=y
 CONFIG_DM_ETH=y
+CONFIG_PHY=y
+CONFIG_PHY_IMX8MQ_USB=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_POWER_DOMAIN=y
@@ -53,12 +56,7 @@ CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_RESET=y
 CONFIG_MXC_UART=y
 CONFIG_DM_THERMAL=y
-CONFIG_CMD_USB=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
-CONFIG_PHY=y
-CONFIG_PHY_IMX8MQ_USB=y
configs/imxrt1050-evk_defconfig +0 -1
index ca72f8c1697..bbcbb988121 100644
@@ -67,7 +67,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_IMX_GPT_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_EHCI_HCD=y
 CONFIG_DM_VIDEO=y
configs/inetspace_v2_defconfig +0 -2
index fe48f56cc59..6141e15179d 100644
@@ -43,7 +43,6 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
-CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
@@ -55,6 +54,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
configs/iot_devkit_defconfig +0 -1
index 4d9c85aa78c..e58b98dcdb2 100644
@@ -32,7 +32,6 @@ CONFIG_MMC_DW_SNPS=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_DWC2_BUFFER_SIZE=16
 CONFIG_USB_STORAGE=y
configs/j7200_evm_a72_defconfig +0 -1
index b0cde842ddd..160c36d6a10 100644
@@ -168,7 +168,6 @@ CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/j7200_evm_r5_defconfig +2 -3
index 862061e5b27..8b14ceab1ae 100644
@@ -90,6 +90,7 @@ CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_FS_LOADER=y
+CONFIG_K3_AVS0=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_SPL_MMC_HS200_SUPPORT=y
 CONFIG_MMC_SDHCI=y
@@ -113,14 +114,13 @@ CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_GENERIC is not set
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_POWER_DOMAIN=y
-CONFIG_TI_POWER_DOMAIN=y
 CONFIG_TI_SCI_POWER_DOMAIN=y
+CONFIG_TI_POWER_DOMAIN=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_TPS65941=y
 CONFIG_DM_REGULATOR=y
 CONFIG_SPL_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_TPS65941=y
-CONFIG_K3_AVS0=y
 CONFIG_K3_SYSTEM_CONTROLLER=y
 CONFIG_REMOTEPROC_TI_K3_ARM64=y
 CONFIG_DM_RESET=y
@@ -139,7 +139,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_CDNS3=y
configs/j721e_evm_a72_defconfig +0 -1
index 2e890cdfe60..7f2eb1ebdba 100644
@@ -167,7 +167,6 @@ CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/j721e_evm_r5_defconfig +0 -1
index 0f8fda795ac..26775b3978d 100644
@@ -130,7 +130,6 @@ CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_CDNS3=y
configs/j721e_hs_evm_a72_defconfig +0 -1
index 82b25e695a7..87825512692 100644
@@ -148,7 +148,6 @@ CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
configs/jetson-tk1_defconfig +2 -4
index 938e03b0573..31acb2770fb 100644
@@ -42,7 +42,6 @@ CONFIG_SF_DEFAULT_SPEED=24000000
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_RTL8169=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_TEGRA=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_AS3722=y
@@ -51,14 +50,13 @@ CONFIG_REGULATOR_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_TEGRA=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0955
 CONFIG_USB_GADGET_PRODUCT_NUM=0x701a
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_ASIX=y
configs/k2e_evm_defconfig +0 -1
index 44cba295f49..f095f977c77 100644
@@ -75,7 +75,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/k2e_hs_evm_defconfig +0 -1
index 62689162ed3..b59cf2bdae2 100644
@@ -60,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/k2g_evm_defconfig +0 -1
index 2d579764892..01df88210b4 100644
@@ -81,7 +81,6 @@ CONFIG_DM_SPI=y
 CONFIG_CADENCE_QSPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_DWC3=y
configs/k2g_hs_evm_defconfig +0 -1
index 296afa43fed..528b95f680a 100644
@@ -65,7 +65,6 @@ CONFIG_DM_SPI=y
 CONFIG_CADENCE_QSPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/k2hk_evm_defconfig +0 -1
index 2392aec37c3..312e3923d7c 100644
@@ -75,7 +75,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/k2hk_hs_evm_defconfig +0 -1
index 0665abd1a65..030dd47c191 100644
@@ -60,7 +60,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/k2l_evm_defconfig +0 -1
index 021129be244..35b93964b15 100644
@@ -75,7 +75,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/k2l_hs_evm_defconfig +0 -1
index 47275a28099..096d65b302e 100644
@@ -61,7 +61,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/khadas-vim2_defconfig +0 -1
index 32513998393..e3bba3edc09 100644
@@ -54,7 +54,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/khadas-vim3_defconfig +0 -1
index c4b24fc3142..5bdb9f7fa62 100644
@@ -65,7 +65,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/khadas-vim3l_defconfig +0 -1
index 0c731d4cee6..2bb2fa0487c 100644
@@ -65,7 +65,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/khadas-vim_defconfig +0 -1
index 2df00d54ec4..869ea2983b3 100644
@@ -45,7 +45,6 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_MESON_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/kmcent2_defconfig +0 -1
index a561de27406..dd6ba88d377 100644
@@ -69,7 +69,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_FMAN_ENET=y
 CONFIG_RGMII=y
 CONFIG_MII=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_REGION_MULTI_ENTRY=y
 CONFIG_PCIE_FSL=y
 CONFIG_U_QE=y
configs/koelsch_defconfig +0 -2
index ecbb4c9b8f0..ec0b5c41af3 100644
@@ -77,7 +77,6 @@ CONFIG_PHY_MICREL_KSZ8XXX=y
 CONFIG_DM_ETH=y
 CONFIG_SH_ETHER=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
@@ -90,7 +89,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_SH_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
configs/kylin-rk3036_defconfig +2 -2
index b7076672747..c051307939d 100644
@@ -56,11 +56,11 @@ CONFIG_SYSRESET=y
 # CONFIG_SPL_SYSRESET is not set
 CONFIG_USB=y
 CONFIG_USB_DWC2=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_SPL_TINY_MEMSET=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
configs/lager_defconfig +0 -2
index 0e7340e9587..13ea7cf13e7 100644
@@ -79,7 +79,6 @@ CONFIG_PHY_MICREL_KSZ8XXX=y
 CONFIG_DM_ETH=y
 CONFIG_SH_ETHER=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
@@ -92,7 +91,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_SH_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
configs/libretech-ac_defconfig +0 -1
index 9abbcad3c02..c494b581fb3 100644
@@ -63,7 +63,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/libretech-cc_defconfig +0 -1
index 4029039340d..8beb850ae24 100644
@@ -46,7 +46,6 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_MESON_SERIAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/libretech-cc_v2_defconfig +0 -1
index 7dc6ed2f29c..be9501052fc 100644
@@ -57,7 +57,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_XHCI_DWC3_OF_SIMPLE=y
configs/libretech-s905d-pc_defconfig +0 -1
index 93523c23cf6..825add43875 100644
@@ -59,7 +59,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/libretech-s912-pc_defconfig +0 -1
index 669f000f7fb..49e7d85ac76 100644
@@ -58,7 +58,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MESON_SPIFC=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
configs/linkit-smart-7688_defconfig +0 -2
index 05bc8240492..cf2f204ad46 100644
@@ -47,7 +47,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 # CONFIG_DM_DEVICE_REMOVE is not set
-CONFIG_BLK=y
 CONFIG_LED=y
 CONFIG_LED_BLINK=y
 CONFIG_LED_GPIO=y
@@ -66,7 +65,6 @@ CONFIG_CONS_INDEX=3
 CONFIG_SPI=y
 CONFIG_MT7621_SPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
configs/liteboard_defconfig +0 -1
index 106f472ad72..dbad0093c9a 100644
@@ -57,5 +57,4 @@ CONFIG_DM_REGULATOR=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/ls1012a2g5rdb_qspi_defconfig +0 -1
index bc200b8cb6b..79ac94a2334 100644
@@ -56,6 +56,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/ls1012a2g5rdb_tfa_defconfig +0 -1
index 94bd37ad018..7360a13cb55 100644
@@ -56,6 +56,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/ls1012afrdm_qspi_defconfig +0 -3
index aa018519813..3844691403b 100644
@@ -37,7 +37,6 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-CONFIG_BLK=y
 CONFIG_DM_I2C=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
@@ -50,7 +49,6 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_NVME=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -58,6 +56,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/ls1012afrdm_tfa_defconfig +0 -3
index d2d61afb4f0..9046ec7617d 100644
@@ -37,7 +37,6 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-CONFIG_BLK=y
 CONFIG_DM_I2C=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
@@ -50,7 +49,6 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_NVME=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
@@ -58,6 +56,5 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig +0 -2
index e913993f51e..9d357272487 100644
@@ -48,7 +48,6 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_NVME=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
 CONFIG_DM_SCSI=y
@@ -57,7 +56,6 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
-CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_RSA=y
configs/ls1012afrwy_qspi_defconfig +0 -2
index 0f1e42e0203..853014e76f8 100644
@@ -52,7 +52,6 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_NVME=y
 CONFIG_PCI=y
-CONFIG_DM_PCI=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig +0 -2
index 24b6660cab4..ca055570ea5 100644

Lines of this file are not shown. View the raw message.

configs/ls1012afrwy_tfa_defconfig +0 -2
index d04cffccf61..3282756be0e 100644

Lines of this file are not shown. View the raw message.

configs/ls1012aqds_qspi_defconfig +0 -2
index e5ff71a10d7..2124716d77c 100644

Lines of this file are not shown. View the raw message.

configs/ls1012aqds_tfa_SECURE_BOOT_defconfig +0 -2
index 3065863f243..ec92358b008 100644

Lines of this file are not shown. View the raw message.

configs/ls1012aqds_tfa_defconfig +0 -2
index 6267e48d660..82a698f6e33 100644

Lines of this file are not shown. View the raw message.

configs/ls1012ardb_qspi_SECURE_BOOT_defconfig +0 -2
index 60d42759d22..da45a3d9cfa 100644

Lines of this file are not shown. View the raw message.

configs/ls1012ardb_qspi_defconfig +0 -2
index 617cf91b365..830e7868c04 100644

Lines of this file are not shown. View the raw message.

configs/ls1012ardb_tfa_SECURE_BOOT_defconfig +0 -2
index 1524d27cb54..fd1f6fa62fe 100644

Lines of this file are not shown. View the raw message.

configs/ls1012ardb_tfa_defconfig +0 -2
index d02f87bf92f..c83248c3040 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aiot_qspi_defconfig +0 -2
index 01a870d310e..131026ca4d4 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aiot_sdcard_defconfig +0 -1
index dfdb3c0623c..7c198988b88 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_ddr4_nor_defconfig +1 -3
index 04ad8667314..cf64f0fc762 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_ddr4_nor_lpuart_defconfig +1 -3
index 700768294d6..cb63fb65e82 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_nand_defconfig +1 -3
index f969fdc4e08..a1c18472969 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_nor_SECURE_BOOT_defconfig +1 -3
index 43e77c95bc7..e9d29f43144 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_nor_defconfig +1 -3
index 26d2e5e5673..4c4050a403c 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_nor_lpuart_defconfig +1 -3
index f2d81ce0e17..3378fc1e787 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_qspi_defconfig +1 -3
index 1f6f819d91e..69a02a4af90 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_sdcard_ifc_defconfig +1 -3
index aa75d140435..738ddcd6613 100644

Lines of this file are not shown. View the raw message.

configs/ls1021aqds_sdcard_qspi_defconfig +1 -3
index 2427760dc61..280c231e18b 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atsn_qspi_defconfig +0 -2
index f0574c05300..6103ab32a49 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atsn_sdcard_defconfig +0 -2
index 52c29babaa2..34a48b4b4d7 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_nor_SECURE_BOOT_defconfig +0 -2
index bc3b1f927f4..d2d2fcc1ba1 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_nor_defconfig +0 -2
index adf43eed228..fa20ee8c0e9 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_nor_lpuart_defconfig +0 -2
index 4791cb0e820..11d210846c4 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_qspi_defconfig +0 -2
index bcc76a4423f..50337a874f1 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig +0 -2
index 1f807d6b24d..24d61935b67 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_sdcard_ifc_defconfig +0 -2
index 68e38ee5800..f44d72cec5c 100644

Lines of this file are not shown. View the raw message.

configs/ls1021atwr_sdcard_qspi_defconfig +0 -2
index b74463ac35e..12a5ab8dc63 100644

Lines of this file are not shown. View the raw message.

configs/ls1028aqds_tfa_SECURE_BOOT_defconfig +0 -2
index 0c79b517bec..5b60c4af8d9 100644

Lines of this file are not shown. View the raw message.

configs/ls1028aqds_tfa_defconfig +0 -2
index bacd044a1c5..311cfe3c7a2 100644

Lines of this file are not shown. View the raw message.

configs/ls1028aqds_tfa_lpuart_defconfig +0 -2
index 195c6f85ccf..6805f5eaaa1 100644

Lines of this file are not shown. View the raw message.

configs/ls1028ardb_tfa_SECURE_BOOT_defconfig +0 -2
index 3974918b298..7eecbae13e7 100644

Lines of this file are not shown. View the raw message.

configs/ls1028ardb_tfa_defconfig +0 -2
index 7210e9467e4..6934a597a52 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_defconfig +1 -3
index 6fc6c327bab..d89f6571bd0 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_lpuart_defconfig +1 -3
index b2223b8d4e3..8e4eaf22bec 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_nand_defconfig +1 -3
index 42830d3228d..3fde3301f44 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_nor_ddr3_defconfig +1 -3
index 481f6eaa6f6..1fbb5ea0b80 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_qspi_defconfig +1 -3
index 1a33968d37d..4f7e457a36c 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_sdcard_ifc_defconfig +1 -3
index f5185173098..24e7442d2e3 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_sdcard_qspi_defconfig +1 -3
index 10e87b7df9a..3c798dd6a11 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_tfa_SECURE_BOOT_defconfig +1 -3
index cafb09ab8c8..6b908edc868 100644

Lines of this file are not shown. View the raw message.

configs/ls1043aqds_tfa_defconfig +1 -3
index 848f571b8f8..a229001d8af 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_SECURE_BOOT_defconfig +0 -2
index 75fa56b85b2..8885896f7b1 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_defconfig +0 -2
index 55925089fc0..413e0c7941c 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_nand_SECURE_BOOT_defconfig +0 -2
index 5c687508a91..82ae5a1e4a2 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_nand_defconfig +0 -2
index 75f89b7bd64..e412ff0ef9b 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig +0 -2
index 9bf2dbb2d29..833cad74e72 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_sdcard_defconfig +0 -2
index 0085a032789..f0657525bb9 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_tfa_SECURE_BOOT_defconfig +0 -2
index 18e13d8210c..a3c17f0b9a0 100644

Lines of this file are not shown. View the raw message.

configs/ls1043ardb_tfa_defconfig +0 -2
index 1a1871b1d26..58313e4ae51 100644

Lines of this file are not shown. View the raw message.

configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig +1 -3
index f094ee7053e..b5100282dc1 100644

Lines of this file are not shown. View the raw message.

configs/ls1046afrwy_tfa_defconfig +1 -3
index 38d7df923f2..96ab70bfaf5 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_SECURE_BOOT_defconfig +1 -3
index 7b68ef1f9a7..1e70e37fe59 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_defconfig +1 -3
index 3a00325dc9c..7351e490566 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_lpuart_defconfig +1 -3
index 41c9e6c8f16..c6f8a363475 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_nand_defconfig +1 -3
index 92d7bb9204e..c406d866bd0 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_qspi_defconfig +1 -3
index 620d400a81f..a088c82904d 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_sdcard_ifc_defconfig +1 -3
index d16d4e8f1c6..b4017368dae 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_sdcard_qspi_defconfig +1 -3
index 6e6006f109a..2e4bcd81737 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_tfa_SECURE_BOOT_defconfig +1 -3
index 2711e242532..42d67dc7072 100644

Lines of this file are not shown. View the raw message.

configs/ls1046aqds_tfa_defconfig +1 -3
index aebd9e68f33..8ae5159f423 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_emmc_defconfig +0 -2
index 71bcbe6391d..19e178ada66 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_qspi_SECURE_BOOT_defconfig +0 -2
index 7f1848d3faf..edb20e7e9f8 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_qspi_defconfig +0 -2
index 12250f91108..087c17bb613 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_qspi_spl_defconfig +0 -2
index 2201242f19c..feabaa1d47a 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig +0 -2
index 0ce7c471946..e415aeddf95 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_sdcard_defconfig +0 -2
index d2c72ad5833..a441d1565fe 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_tfa_SECURE_BOOT_defconfig +0 -2
index 1fc4b21640e..bc37699c0a6 100644

Lines of this file are not shown. View the raw message.

configs/ls1046ardb_tfa_defconfig +0 -2
index 6ebda172910..997fa1936e7 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_defconfig +1 -3
index c36f37d5d17..ef35ae4a077 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_qspi_SECURE_BOOT_defconfig +1 -3
index d401b91c400..eddfd40733c 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_qspi_defconfig +1 -3
index 5711464e77e..255b97739cb 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_sdcard_ifc_defconfig +1 -3
index fdeddaef446..e33ede2c667 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_sdcard_qspi_defconfig +1 -3
index 6f30c6a2846..edb8f5608c1 100644

Lines of this file are not shown. View the raw message.

configs/ls1088aqds_tfa_defconfig +1 -3
index 0df21ccd21d..a2d0d6da57b 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_qspi_SECURE_BOOT_defconfig +1 -3
index 981da5f9af5..dae51c4e70c 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_qspi_defconfig +1 -3
index 1b3affc86a7..6032f6ca8b1 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig +1 -3
index a351ae48c53..bdbccdd5e8d 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_sdcard_qspi_defconfig +1 -3
index 790ccbdb514..27437fc2f68 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_tfa_SECURE_BOOT_defconfig +1 -3
index 344fa73a995..69a3cef7a40 100644

Lines of this file are not shown. View the raw message.

configs/ls1088ardb_tfa_defconfig +2 -4
index 082578d16b1..79490896252 100644

Lines of this file are not shown. View the raw message.

configs/ls2080aqds_SECURE_BOOT_defconfig +1 -3
index 8fca07fc931..fcbd732dd67 100644

Lines of this file are not shown. View the raw message.

configs/ls2080aqds_defconfig +1 -3
index 681afc027da..3a457a72d7a 100644

Lines of this file are not shown. View the raw message.

configs/ls2080aqds_nand_defconfig +1 -3
index 54cca1990df..c39fc370fc1 100644

Lines of this file are not shown. View the raw message.

configs/ls2080aqds_qspi_defconfig +1 -3
index 51ab47a583c..0b0e673816a 100644

Lines of this file are not shown. View the raw message.

configs/ls2080aqds_sdcard_defconfig +1 -3
index fec32278186..155cfa39154 100644

Lines of this file are not shown. View the raw message.

configs/ls2080ardb_SECURE_BOOT_defconfig +1 -3
index 6fb07177d30..b1477eac141 100644

Lines of this file are not shown. View the raw message.

configs/ls2080ardb_defconfig +1 -3
index eb511d83ea7..c107bcddad7 100644

Lines of this file are not shown. View the raw message.

configs/ls2080ardb_nand_defconfig +1 -3
index ec81987884d..07dd149894b 100644

Lines of this file are not shown. View the raw message.

configs/ls2081ardb_defconfig +1 -3
index d775f56a4e8..da02de270fb 100644

Lines of this file are not shown. View the raw message.

configs/ls2088aqds_tfa_defconfig +1 -3
index 6eb707206ec..113f6a4139f 100644

Lines of this file are not shown. View the raw message.

configs/ls2088ardb_qspi_SECURE_BOOT_defconfig +1 -3
index 2575345703f..0201fce1a72 100644

Lines of this file are not shown. View the raw message.

configs/ls2088ardb_qspi_defconfig +1 -3
index 1cc382c811e..336a0a7b32b 100644

Lines of this file are not shown. View the raw message.

configs/ls2088ardb_tfa_SECURE_BOOT_defconfig +1 -3
index b05bfbce716..1799c09fbfb 100644

Lines of this file are not shown. View the raw message.

configs/ls2088ardb_tfa_defconfig +1 -3
index decf6a84d78..cfd3df430f8 100644

Lines of this file are not shown. View the raw message.

configs/lschlv2_defconfig +0 -2
index 16611dc52a2..79f5960e71d 100644

Lines of this file are not shown. View the raw message.

configs/lsxhl_defconfig +0 -2
index dae76d34cfe..08405a1fc76 100644

Lines of this file are not shown. View the raw message.

configs/lx2160aqds_tfa_SECURE_BOOT_defconfig +1 -3
index 9c5d0067dcc..ed4304c7048 100644

Lines of this file are not shown. View the raw message.

configs/lx2160aqds_tfa_defconfig +1 -3
index 2a755e05740..faa8da770b5 100644

Lines of this file are not shown. View the raw message.

configs/lx2160ardb_tfa_SECURE_BOOT_defconfig +1 -3
index 40fbaca4ed0..f8511cb193d 100644

Lines of this file are not shown. View the raw message.

configs/lx2160ardb_tfa_defconfig +1 -3
index b75d217d67c..004eb7de74f 100644

Lines of this file are not shown. View the raw message.

configs/lx2160ardb_tfa_stmm_defconfig +1 -3
index 9d1e9dc5b7a..140f851ba27 100644

Lines of this file are not shown. View the raw message.

configs/lx2162aqds_tfa_SECURE_BOOT_defconfig +1 -3
index f9fdee8a093..7ade20205c6 100644

Lines of this file are not shown. View the raw message.

configs/lx2162aqds_tfa_defconfig +1 -3
index 76f4abab32d..2724f045ed6 100644

Lines of this file are not shown. View the raw message.

configs/lx2162aqds_tfa_verified_boot_defconfig +1 -3
index b31403a25e4..fa2a02753f4 100644

Lines of this file are not shown. View the raw message.

configs/m53menlo_defconfig +0 -1
index 277be6daaf9..ba9ec7bd774 100644

Lines of this file are not shown. View the raw message.

configs/marsboard_defconfig +0 -1
index 09f4a373b0b..62f0b2f1c2a 100644

Lines of this file are not shown. View the raw message.

configs/medcom-wide_defconfig +0 -1
index 8d7b9ef15e0..92378389168 100644

Lines of this file are not shown. View the raw message.

configs/meerkat96_defconfig +0 -1
index 0c40546cf19..ee6b9e14d05 100644

Lines of this file are not shown. View the raw message.

configs/miqi-rk3288_defconfig +2 -2
index 9a728ccaa1f..d815fda9a1e 100644

Lines of this file are not shown. View the raw message.

configs/mt7620_rfb_defconfig +0 -1
index 82b525c4d43..cbdd9b67baf 100644

Lines of this file are not shown. View the raw message.

configs/mt7622_rfb_defconfig +0 -1
index 6c0d4ba46d3..ebb4045cda2 100644

Lines of this file are not shown. View the raw message.

configs/mt7629_rfb_defconfig +0 -2
index a624e706d27..cc0e2633615 100644

Lines of this file are not shown. View the raw message.

configs/mt8183_pumpkin_defconfig +0 -1
index 4ff2cdfb2f1..a2f06a952ab 100644

Lines of this file are not shown. View the raw message.

configs/mt8512_bm1_emmc_defconfig +0 -1
index b835436735b..3e2d6458296 100644

Lines of this file are not shown. View the raw message.

configs/mt8516_pumpkin_defconfig +0 -1
index cafad0ef622..0a6c1fccaed 100644

Lines of this file are not shown. View the raw message.

configs/mt8518_ap1_emmc_defconfig +0 -1
index 09075765f85..e6c2dd019d6 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_crb_cn9130_defconfig +0 -2
index 65cce2e63bc..7acb8fedd4b 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_db-88f3720_defconfig +0 -2
index ff4668e8376..a9578570802 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_db_armada8k_defconfig +0 -2
index b11badb52a3..1ae7ea758c6 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_db_cn9130_defconfig +0 -2
index bc12b75c79d..73e778cdd50 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_espressobin-88f3720_defconfig +0 -2
index 78796115cd3..8ddc08dec07 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_mcbin-88f8040_defconfig +0 -2
index 68a98f07326..cc45999ac16 100644

Lines of this file are not shown. View the raw message.

configs/mvebu_puzzle-m801-88f8040_defconfig +0 -2
index dd5ac764198..c6822163209 100644

Lines of this file are not shown. View the raw message.

configs/mx23evk_defconfig +0 -1
index c6f3c3f9123..47fa05945be 100644

Lines of this file are not shown. View the raw message.

configs/mx28evk_auart_console_defconfig +0 -6
index 4fc764829e7..3b916ad82e0 100644

Lines of this file are not shown. View the raw message.

configs/mx28evk_defconfig +0 -6
index ff1d0ed24ee..3128af77584 100644

Lines of this file are not shown. View the raw message.

configs/mx28evk_nand_defconfig +0 -6
index 94e4244128e..7a96d7db4d4 100644

Lines of this file are not shown. View the raw message.

configs/mx28evk_spi_defconfig +0 -6
index 2122bbe870a..7caefa8e2e0 100644

Lines of this file are not shown. View the raw message.

configs/mx51evk_defconfig +0 -1
index a5bda10a2ed..6c8b9b62e51 100644

Lines of this file are not shown. View the raw message.

configs/mx53cx9020_defconfig +0 -1
index 4d25373966d..8ee442f2b90 100644

Lines of this file are not shown. View the raw message.

configs/mx53loco_defconfig +0 -1
index 6c68234746b..296886dd6c8 100644

Lines of this file are not shown. View the raw message.

configs/mx53ppd_defconfig +0 -1
index e34f72796ce..4a8fa34c275 100644

Lines of this file are not shown. View the raw message.

configs/mx6cuboxi_defconfig +0 -1
index 5252e3f46bc..c2b867146f8 100644

Lines of this file are not shown. View the raw message.

configs/mx6qsabrelite_defconfig +0 -1
index d9f54da3e7e..7d0453ac384 100644

Lines of this file are not shown. View the raw message.

configs/mx6sabreauto_defconfig +2 -3
index e1d8eb606bf..6c2997e60f3 100644

Lines of this file are not shown. View the raw message.

configs/mx6sabresd_defconfig +2 -4
index 6284d9daae0..8df4afd1a7b 100644

Lines of this file are not shown. View the raw message.

configs/mx6slevk_defconfig +0 -1
index 9469c35bbd6..9e1032938f1 100644

Lines of this file are not shown. View the raw message.

configs/mx6slevk_spinor_defconfig +0 -1
index 5dd0dfba266..8df10ed2ae5 100644

Lines of this file are not shown. View the raw message.

configs/mx6slevk_spl_defconfig +0 -1
index 99fd2186d0d..c67eb4b4ee7 100644

Lines of this file are not shown. View the raw message.

configs/mx6sllevk_defconfig +0 -1
index 771d69b3f0d..9f02ec838a0 100644

Lines of this file are not shown. View the raw message.

configs/mx6sllevk_plugin_defconfig +0 -1
index d0001223a9b..6fc49150b3c 100644

Lines of this file are not shown. View the raw message.

configs/mx6sxsabreauto_defconfig +0 -1
index 4bd1988c488..d888e7255d2 100644

Lines of this file are not shown. View the raw message.

configs/mx6sxsabresd_defconfig +0 -2
index 225b7e4b119..67dfcda8fa7 100644

Lines of this file are not shown. View the raw message.

configs/mx6ul_14x14_evk_defconfig +0 -1
index ee80038fdca..26280fb3b15 100644

Lines of this file are not shown. View the raw message.

configs/mx6ul_9x9_evk_defconfig +0 -1
index 6b8fd3b5995..150dbaf5726 100644

Lines of this file are not shown. View the raw message.

configs/mx7dsabresd_defconfig +2 -3
index dffb66ea354..d3079c1d9e4 100644

Lines of this file are not shown. View the raw message.

configs/mx7dsabresd_qspi_defconfig +2 -3
index 023f2bb60e0..f5d2f253657 100644

Lines of this file are not shown. View the raw message.

configs/mx7ulp_com_defconfig +0 -1
index 698e138910a..62992fecdf2 100644

Lines of this file are not shown. View the raw message.

configs/myir_mys_6ulx_defconfig +0 -1
index f16a1b663db..3c93f580690 100644

Lines of this file are not shown. View the raw message.

configs/nanopc-t4-rk3399_defconfig +1 -1
index ec040a2395c..a94f428deff 100644

Lines of this file are not shown. View the raw message.

configs/nas220_defconfig +0 -2
index 72f062e807c..10fcf214466 100644

Lines of this file are not shown. View the raw message.

configs/net2big_v2_defconfig +0 -2
index 712e029fa1c..841842cefb6 100644

Lines of this file are not shown. View the raw message.

configs/netgear_dgnd3700v2_ram_defconfig +0 -1
index 47c44812f1f..1f21f685996 100644

Lines of this file are not shown. View the raw message.

configs/netspace_lite_v2_defconfig +0 -2
index 07047d9592b..1c577faab74 100644

Lines of this file are not shown. View the raw message.

configs/netspace_max_v2_defconfig +0 -2
index 5fe88085306..d5af1150647 100644

Lines of this file are not shown. View the raw message.

configs/netspace_v2_defconfig +0 -2
index df1f6982af7..c152a310a27 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6dl2g_defconfig +0 -1
index df931c752ef..865f6fac84a 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6dl_defconfig +0 -1
index 9ea4546a75a..7852eb8638c 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6q2g_defconfig +0 -1
index 2de5b7cb0c4..2007126023d 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6q_defconfig +0 -1
index 7353081d0bd..af38dd711f2 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6s1g_defconfig +0 -1
index d885749d396..ae00482f9cb 100644

Lines of this file are not shown. View the raw message.

configs/nitrogen6s_defconfig +0 -1
index caf05de8d9b..92ccabaa26c 100644

Lines of this file are not shown. View the raw message.

configs/novena_defconfig +3 -3
index dcbbf4dac02..b24ac93b688 100644

Lines of this file are not shown. View the raw message.

configs/nsa310s_defconfig +7 -11
index fac0322e2be..8765dc3dd18 100644

Lines of this file are not shown. View the raw message.

configs/nyan-big_defconfig +2 -3
index e3716a90045..3f6bb94c7b8 100644

Lines of this file are not shown. View the raw message.

configs/o4-imx6ull-nano_defconfig +0 -1
index 36e10c659b5..45d4dcadb9d 100644

Lines of this file are not shown. View the raw message.

configs/octeon_ebb7304_defconfig +0 -2
index bf34ac8cbf2..e69e8730e97 100644

Lines of this file are not shown. View the raw message.

configs/octeon_nic23_defconfig +0 -1
index 2dd160a70c5..3d60b36160a 100644

Lines of this file are not shown. View the raw message.

configs/octeontx2_95xx_defconfig +0 -1
index 745eda9f456..8a912d86b1b 100644

Lines of this file are not shown. View the raw message.

configs/octeontx2_96xx_defconfig +0 -2
index baef32f3767..02bb0f6d5c1 100644

Lines of this file are not shown. View the raw message.

configs/octeontx_81xx_defconfig +0 -2
index ebc1d4c251a..e14957c9b1e 100644

Lines of this file are not shown. View the raw message.

configs/octeontx_83xx_defconfig +0 -2
index d61ea704d3e..f9f285a899b 100644

Lines of this file are not shown. View the raw message.

configs/odroid-c2_defconfig +0 -1
index 5457ab24002..7c968316404 100644

Lines of this file are not shown. View the raw message.

configs/odroid-c4_defconfig +0 -1
index 0c6989d4ba4..356a9c9be29 100644

Lines of this file are not shown. View the raw message.

configs/odroid-n2_defconfig +0 -1
index 065ecbcfb05..bac44b61abb 100644

Lines of this file are not shown. View the raw message.

configs/odroid-xu3_defconfig +1 -2
index e0b87dfc259..99ac4170a17 100644

Lines of this file are not shown. View the raw message.

configs/odroid_defconfig +2 -3
index 36719d91f66..b95cefd54d0 100644

Lines of this file are not shown. View the raw message.

configs/omap35_logic_defconfig +0 -1
index 896fc87c2ef..aed1f6f9f8b 100644

Lines of this file are not shown. View the raw message.

configs/omap35_logic_somlv_defconfig +0 -1
index 61b8cad7724..e300b2cda09 100644

Lines of this file are not shown. View the raw message.

configs/omap3_beagle_defconfig +4 -5
index f58112ef3fa..462f94ed056 100644

Lines of this file are not shown. View the raw message.

configs/omap3_evm_defconfig +4 -5
index 4d96505e361..2571545f0e4 100644

Lines of this file are not shown. View the raw message.

configs/omap3_logic_defconfig +0 -1
index 1a7421bd619..b3f763847b7 100644

Lines of this file are not shown. View the raw message.

configs/omap3_logic_somlv_defconfig +0 -1
index fa1bdbe33a6..aa8d4cebc7b 100644

Lines of this file are not shown. View the raw message.

configs/omap4_panda_defconfig +1 -2
index 9e99e8bc699..60ea53a51d4 100644

Lines of this file are not shown. View the raw message.

configs/omap4_sdp4430_defconfig +0 -1
index fd93dc5c785..4231bf3c5ae 100644

Lines of this file are not shown. View the raw message.

configs/omap5_uevm_defconfig +2 -3
index a08c7fa6704..16264ae457d 100644

Lines of this file are not shown. View the raw message.

configs/omapl138_lcdk_defconfig +0 -1
index 6f95fc4aa59..0cde86a2f96 100644

Lines of this file are not shown. View the raw message.

configs/opos6uldev_defconfig +0 -1
index e1b39435696..458cf5c888f 100644

Lines of this file are not shown. View the raw message.

configs/origen_defconfig +0 -1
index 43dbae206c9..932c107c57c 100644

Lines of this file are not shown. View the raw message.

configs/p212_defconfig +0 -1
index 338fcdebbbc..493b33391ee 100644

Lines of this file are not shown. View the raw message.

configs/p2371-0000_defconfig +2 -3
index 024afdb5dd1..039293feef4 100644

Lines of this file are not shown. View the raw message.

configs/p2371-2180_defconfig +2 -4
index 5c8452325ba..a4dfed72a1b 100644

Lines of this file are not shown. View the raw message.

configs/p2571_defconfig +2 -3
index b613e9f0335..8c3a184d195 100644

Lines of this file are not shown. View the raw message.

configs/p2771-0000-000_defconfig +0 -3
index 8634ed7dc63..18ec21aaa79 100644

Lines of this file are not shown. View the raw message.

configs/p2771-0000-500_defconfig +0 -3
index d5e9333af60..c0a9a459f75 100644

Lines of this file are not shown. View the raw message.

configs/p3450-0000_defconfig +2 -4
index 81f0ac44f31..9f9a5edd0e2 100644

Lines of this file are not shown. View the raw message.

configs/paz00_defconfig +0 -1
index e26445cc318..4ce36474e2b 100644

Lines of this file are not shown. View the raw message.

configs/peach-pi_defconfig +0 -1
index d3fbc4eca96..45162a5b168 100644

Lines of this file are not shown. View the raw message.

configs/peach-pit_defconfig +0 -1
index d6d97a84c36..1354aa78ae2 100644

Lines of this file are not shown. View the raw message.

configs/phycore-am335x-r2-regor_defconfig +0 -1
index 87de31d63a9..ec885dc837a 100644

Lines of this file are not shown. View the raw message.

configs/phycore-am335x-r2-wega_defconfig +0 -1
index 591ac755321..77ce723f91c 100644

Lines of this file are not shown. View the raw message.

configs/phycore-rk3288_defconfig +2 -2
index b7a52cfa5c7..8ee99e54c76 100644

Lines of this file are not shown. View the raw message.

configs/phycore_pcl063_defconfig +0 -1
index 104f6a4ebaa..346fae04ea1 100644

Lines of this file are not shown. View the raw message.

configs/phycore_pcl063_ull_defconfig +0 -1
index f76eb62603b..2520c895e56 100644

Lines of this file are not shown. View the raw message.

configs/pic32mzdask_defconfig +0 -1
index ff15d80b4d2..f8c46fa3470 100644

Lines of this file are not shown. View the raw message.

configs/pico-dwarf-imx7d_defconfig +0 -1
index a5dbcc8989b..169a0dacfcc 100644

Lines of this file are not shown. View the raw message.

configs/pico-hobbit-imx7d_defconfig +0 -1
index a3ba67fe852..7aecb7c8c44 100644

Lines of this file are not shown. View the raw message.

configs/pico-imx6_defconfig +0 -1
index 798eaf363a7..ad9221efe43 100644

Lines of this file are not shown. View the raw message.

configs/pico-imx6ul_defconfig +0 -1
index 40e64e80ddb..34cdf85879a 100644

Lines of this file are not shown. View the raw message.

configs/pico-imx7d_bl33_defconfig +0 -1
index 415b2a15224..9970eebef25 100644

Lines of this file are not shown. View the raw message.

configs/pico-imx7d_defconfig +0 -1
index 41207fbde1b..f8a80f20eba 100644

Lines of this file are not shown. View the raw message.

configs/pico-nymph-imx7d_defconfig +0 -1
index a5dbcc8989b..169a0dacfcc 100644

Lines of this file are not shown. View the raw message.

configs/pico-pi-imx7d_defconfig +0 -1
index 4f1219f3e68..3f62372fc98 100644

Lines of this file are not shown. View the raw message.

configs/plutux_defconfig +0 -1
index d55bf467536..f47a8f57673 100644

Lines of this file are not shown. View the raw message.

configs/pm9261_defconfig +0 -3
index b27fc8dbc1a..f253deacc43 100644

Lines of this file are not shown. View the raw message.

configs/pm9263_defconfig +0 -3
index ef18e742d27..193622e5945 100644

Lines of this file are not shown. View the raw message.

configs/pm9g45_defconfig +0 -1
index dd5000e7db0..7941ee27724 100644

Lines of this file are not shown. View the raw message.

configs/poplar_defconfig +2 -2
index 31bfa09a5e3..82833ff0967 100644

Lines of this file are not shown. View the raw message.

configs/popmetal-rk3288_defconfig +2 -2
index 697c5545fbe..5b6d8cab870 100644

Lines of this file are not shown. View the raw message.

configs/porter_defconfig +0 -2
index a7f5deb2703..ab890ee20a1 100644

Lines of this file are not shown. View the raw message.

configs/qemu-ppce500_defconfig +0 -1
index a1b9ea56cad..55f646537b2 100644

Lines of this file are not shown. View the raw message.

configs/qemu_arm64_defconfig +0 -3
index f6e586627a8..c31d9340d28 100644

Lines of this file are not shown. View the raw message.

configs/qemu_arm_defconfig +0 -3
index 278d8f41f48..cd60f816ef2 100644

Lines of this file are not shown. View the raw message.

configs/r2dplus_defconfig +0 -1
index a2d666ebd6e..73b2c99c6ae 100644

Lines of this file are not shown. View the raw message.

configs/r8a774a1_beacon_defconfig +0 -1
index ee74e89778b..23c423060d2 100644

Lines of this file are not shown. View the raw message.

configs/r8a774b1_beacon_defconfig +0 -1
index 90074f0ae80..034ed219e2b 100644

Lines of this file are not shown. View the raw message.

configs/r8a774e1_beacon_defconfig +0 -1
index 7463618fa72..a6e1ea0e161 100644

Lines of this file are not shown. View the raw message.

configs/r8a77970_eagle_defconfig +0 -2
index 99a99e13ffd..5455eb7f49c 100644

Lines of this file are not shown. View the raw message.

configs/r8a77980_condor_defconfig +0 -2
index d7c34a719cb..b1c422f20d0 100644

Lines of this file are not shown. View the raw message.

configs/r8a77990_ebisu_defconfig +0 -1
index 0c5dcb0a201..12d04dada9c 100644

Lines of this file are not shown. View the raw message.

configs/r8a77995_draak_defconfig +0 -1
index b1186eef146..58d5299ab03 100644

Lines of this file are not shown. View the raw message.

configs/rcar3_salvator-x_defconfig +0 -2
index 8e492ceec70..61b984084ff 100644

Lines of this file are not shown. View the raw message.

configs/rcar3_ulcb_defconfig +1 -2
index e3487589b84..0528dc99d78 100644

Lines of this file are not shown. View the raw message.

configs/riotboard_defconfig +0 -1
index 6769cf86f50..0e487b9d4e6 100644

Lines of this file are not shown. View the raw message.

configs/roc-pc-mezzanine-rk3399_defconfig +1 -1
index 9db842287ad..d2372cbc8a4 100644

Lines of this file are not shown. View the raw message.

configs/roc-pc-rk3399_defconfig +1 -1
index ed6628c9228..0c647e0900f 100644

Lines of this file are not shown. View the raw message.

configs/rock-pi-4-rk3399_defconfig +1 -1
index b1ea38e92b8..f01b6a39354 100644

Lines of this file are not shown. View the raw message.

configs/rock-pi-4c-rk3399_defconfig +1 -1
index 81516e9144f..ae35633292e 100644

Lines of this file are not shown. View the raw message.

configs/rpi_0_w_defconfig +0 -1
index ca92645c033..dfa72532ce8 100644

Lines of this file are not shown. View the raw message.

configs/rpi_2_defconfig +0 -1
index b0aab1bfc53..9001e2b20bc 100644

Lines of this file are not shown. View the raw message.

configs/rpi_3_32b_defconfig +0 -1
index 7b1b08cc4d9..a2a44aa63eb 100644

Lines of this file are not shown. View the raw message.

configs/rpi_3_b_plus_defconfig +0 -1
index 62ef2dd51a4..e34302ddf8e 100644

Lines of this file are not shown. View the raw message.

configs/rpi_3_defconfig +0 -1
index a19a42839e2..c48ec9c3ef1 100644

Lines of this file are not shown. View the raw message.

configs/rpi_4_32b_defconfig +0 -2
index e3ccdf7adfb..b1503e91fbd 100644

Lines of this file are not shown. View the raw message.

configs/rpi_4_defconfig +0 -2
index b41d29836df..9375885622a 100644

Lines of this file are not shown. View the raw message.

configs/rpi_arm64_defconfig +0 -2
index 84e223790cc..6b18a8cada7 100644

Lines of this file are not shown. View the raw message.

configs/rpi_defconfig +0 -1
index 1880f22c5d2..48ed929afa2 100644

Lines of this file are not shown. View the raw message.

configs/s400_defconfig +0 -1
index 2b55eedd5e5..313c6575cda 100644

Lines of this file are not shown. View the raw message.

configs/s5pc210_universal_defconfig +0 -1
index 734a99f8efa..f6bb60e9ca8 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_giantboard_defconfig +0 -1
index f3bec6a1a29..34f259f446f 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_som1_ek_mmc1_defconfig +0 -1
index 525b7a50280..4d00bb0b737 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_som1_ek_mmc_defconfig +0 -1
index 3eb1cdcd078..920e3519505 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_som1_ek_qspiflash_defconfig +0 -1
index 0ddc36fbb28..e832c908c4e 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_wlsom1_ek_mmc_defconfig +0 -1
index 1ca5e44a796..5bcf6715fad 100644

Lines of this file are not shown. View the raw message.

configs/sama5d27_wlsom1_ek_qspiflash_defconfig +0 -1
index 04d7e423999..61189d68302 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_ptc_ek_mmc_defconfig +0 -1
index 31c5dccf293..8e8d41bb509 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_ptc_ek_nandflash_defconfig +0 -1
index 4d0d2b525f8..cd73859db12 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_xplained_emmc_defconfig +0 -1
index f4fb7e6c2a9..69b30621846 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_xplained_mmc_defconfig +0 -1
index 9322647071f..d1e8a5beb6f 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_xplained_qspiflash_defconfig +0 -1
index 0f9a827616e..5280dec7446 100644

Lines of this file are not shown. View the raw message.

configs/sama5d2_xplained_spiflash_defconfig +0 -1
index 8897fea6722..051dab1d50e 100644

Lines of this file are not shown. View the raw message.

configs/sama5d3_xplained_mmc_defconfig +0 -1
index 6d42a7ab2d6..b07eebd4b86 100644

Lines of this file are not shown. View the raw message.

configs/sama5d3_xplained_nandflash_defconfig +0 -1
index c0e36860b0f..4666dd07945 100644

Lines of this file are not shown. View the raw message.

configs/sama5d3xek_mmc_defconfig +0 -1
index 69d1f3ec75c..65b6d75a2e2 100644

Lines of this file are not shown. View the raw message.

configs/sama5d3xek_nandflash_defconfig +0 -1
index 9107eee738b..a1852a485eb 100644

Lines of this file are not shown. View the raw message.

configs/sama5d3xek_spiflash_defconfig +0 -1
index bf2d5164d25..e1706d9d43f 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4_xplained_mmc_defconfig +0 -1
index 01aa9d0ffa9..e7638636237 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4_xplained_nandflash_defconfig +0 -1
index a27293e57f5..b717e2e2882 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4_xplained_spiflash_defconfig +0 -1
index bafad6b5fb3..2885d6caea2 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4ek_mmc_defconfig +0 -1
index 4420a507823..972038afbff 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4ek_nandflash_defconfig +0 -1
index 0ad8e84ea2e..4de5e015f10 100644

Lines of this file are not shown. View the raw message.

configs/sama5d4ek_spiflash_defconfig +0 -1
index 97fafcca4d1..ec9fdd8d6ec 100644

Lines of this file are not shown. View the raw message.

configs/sandbox64_defconfig +0 -2
index 5fb1da49e4b..f7098b49698 100644

Lines of this file are not shown. View the raw message.

configs/sandbox_defconfig +10 -15
index a1e77a511db..96c9f617a07 100644

Lines of this file are not shown. View the raw message.

configs/sandbox_flattree_defconfig +0 -2
index 869b2bc95ab..a6e2544dc13 100644

Lines of this file are not shown. View the raw message.

configs/sandbox_noinst_defconfig +0 -2
index 13f62729f1b..d837029a93b 100644

Lines of this file are not shown. View the raw message.

configs/sandbox_spl_defconfig +0 -2
index 66bda2a1ac1..edb21035413 100644

Lines of this file are not shown. View the raw message.

configs/seaboard_defconfig +0 -1
index c0bef12c3a9..aef9a1c681b 100644

Lines of this file are not shown. View the raw message.

configs/seeed_npi_imx6ull_defconfig +0 -1
index 71ab08fb7dc..46daa03af2b 100644

Lines of this file are not shown. View the raw message.

configs/sei510_defconfig +0 -1
index 8ff99cbea04..63b3043a152 100644

Lines of this file are not shown. View the raw message.

configs/sei610_defconfig +0 -1
index 51c7d600518..56f136ed961 100644

Lines of this file are not shown. View the raw message.

configs/sfr_nb4-ser_ram_defconfig +0 -1
index ca4ef80d181..752c17d3d4a 100644

Lines of this file are not shown. View the raw message.

configs/sheevaplug_defconfig +4 -6
index 4c7259e6d71..d09789a96e0 100644

Lines of this file are not shown. View the raw message.

configs/sifive_unmatched_defconfig +0 -1
index 4caf0de5dc7..c90b7bbeef0 100644

Lines of this file are not shown. View the raw message.

configs/silinux_ek874_defconfig +0 -1
index 10c7af1a2f0..0377c9e28e9 100644

Lines of this file are not shown. View the raw message.

configs/silk_defconfig +0 -2
index 73440cd98ce..268451ff9f3 100644

Lines of this file are not shown. View the raw message.

configs/smartweb_defconfig +0 -5
index 56ea0fe6dff..6ef61efb8cc 100644

Lines of this file are not shown. View the raw message.

configs/smdk5250_defconfig +0 -1
index a2a20cf6c4c..0a7f1c515f0 100644

Lines of this file are not shown. View the raw message.

configs/smdk5420_defconfig +0 -1
index 04b560a8a80..b3cb188f5fe 100644

Lines of this file are not shown. View the raw message.

configs/smdkv310_defconfig +0 -1
index 568f95a813c..fcc655c1f57 100644

Lines of this file are not shown. View the raw message.

configs/sniper_defconfig +0 -12
index c52e7cbd886..20a8211f615 100644

Lines of this file are not shown. View the raw message.

configs/snow_defconfig +0 -1
index cb7dabfaba6..d6b16802b18 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_agilex_atf_defconfig +0 -1
index 1a57a6e5d9d..39e3eba461c 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_agilex_defconfig +0 -1
index 2dfac1db799..15713ee6db9 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_agilex_vab_defconfig +0 -1
index 3135b61d6bf..d494528a58b 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_arria10_defconfig +0 -1
index 17f13ff4d56..01ebb0e3e91 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_arria5_defconfig +0 -1
index b9198abbf12..80f3cd1892d 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_cyclone5_defconfig +0 -1
index fb51921006d..5d03b81a17a 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_dbm_soc1_defconfig +0 -1
index e622bb85e6c..fb1a5050e77 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_de0_nano_soc_defconfig +0 -1
index 20626c115a1..6b1b6d1921f 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_de10_nano_defconfig +0 -1
index ef2ce3c4f86..dd9a71e1d9a 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_de1_soc_defconfig +0 -1
index b99a22bd68d..945ff08d5b6 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_mcvevk_defconfig +0 -1
index 435b46ff623..f39c97d6d1a 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_sockit_defconfig +0 -1
index fe707d6bac9..fed6792e4d3 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_socrates_defconfig +0 -1
index 75ce57256c0..cc4dd95eed7 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_stratix10_atf_defconfig +0 -1
index 4eed5476a98..ab83e246bdf 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_stratix10_defconfig +1 -2
index f83a90c5aea..99b2fbd4ef4 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_vining_fpga_defconfig +0 -1
index 09b00f5b494..0334e36f737 100644

Lines of this file are not shown. View the raw message.

configs/socrates_defconfig +0 -3
index 1631b4f162a..72c07179dbf 100644

Lines of this file are not shown. View the raw message.

configs/somlabs_visionsom_6ull_defconfig +0 -1
index 52e34e3b3f7..0c407b3ff9b 100644

Lines of this file are not shown. View the raw message.

configs/spring_defconfig +0 -1
index bbe5ab29a8c..a6cc2b42bf3 100644

Lines of this file are not shown. View the raw message.

configs/stih410-b2260_defconfig +0 -1
index f86eff94f42..071dac96aff 100644

Lines of this file are not shown. View the raw message.

configs/stm32mp15_basic_defconfig +0 -1
index ab02c35b124..e6d50b7f7ef 100644

Lines of this file are not shown. View the raw message.

configs/stm32mp15_dhcom_basic_defconfig +2 -3
index 17f2c8799e5..d054d94f55d 100644

Lines of this file are not shown. View the raw message.

configs/stm32mp15_dhcor_basic_defconfig +2 -3
index cd248747d36..17dae194556 100644

Lines of this file are not shown. View the raw message.

configs/stm32mp15_trusted_defconfig +0 -1
index a58ea91d3ef..1671cb24f56 100644

Lines of this file are not shown. View the raw message.

configs/stout_defconfig +0 -2
index e8ac46fb7dc..1c87b6fd626 100644

Lines of this file are not shown. View the raw message.

configs/synquacer_developerbox_defconfig +0 -1
index ed372f7df90..13736a4f039 100644

Lines of this file are not shown. View the raw message.

configs/taurus_defconfig +0 -5
index 4c47d7b5eab..440e9d5d29d 100644

Lines of this file are not shown. View the raw message.

configs/tbs2910_defconfig +0 -2
index a1f1884bd2f..a14f9d46c9d 100644

Lines of this file are not shown. View the raw message.

configs/tec-ng_defconfig +0 -1
index d6a072e4e5a..9d0b1f01e5a 100644

Lines of this file are not shown. View the raw message.

configs/tec_defconfig +0 -1
index 1de5c5769c6..529016841fe 100644

Lines of this file are not shown. View the raw message.

configs/theadorable_debug_defconfig +0 -3
index 6d32e6c5be2..a298e417b0d 100644

Lines of this file are not shown. View the raw message.

configs/tinker-rk3288_defconfig +2 -2
index 196348ac6f4..a2d2aa21baf 100644

Lines of this file are not shown. View the raw message.

configs/tinker-s-rk3288_defconfig +2 -2
index 3720caabde5..a4c1ff4db7a 100644

Lines of this file are not shown. View the raw message.

configs/tools-only_defconfig +0 -1
index c6f287e9cbf..f54bc1802ca 100644

Lines of this file are not shown. View the raw message.

configs/total_compute_defconfig +0 -1
index 63f2e9c3750..d95918ee993 100644

Lines of this file are not shown. View the raw message.

configs/tplink_wdr4300_defconfig +0 -1
index 7573c8883f4..849d3329c4e 100644

Lines of this file are not shown. View the raw message.

configs/trats2_defconfig +0 -1
index a3955e1ffc5..17c8c755455 100644

Lines of this file are not shown. View the raw message.

configs/trats_defconfig +0 -1
index 64cd5dcdb3b..5709c4fd3c3 100644

Lines of this file are not shown. View the raw message.

configs/trimslice_defconfig +0 -2
index 3826cc10cec..0b418e731bb 100644

Lines of this file are not shown. View the raw message.

configs/turris_mox_defconfig +0 -2
index fd5b6f351ee..56c027e5fec 100644

Lines of this file are not shown. View the raw message.

configs/turris_omnia_defconfig +3 -4
index 5f7b1a67a20..f98cd207888 100644

Lines of this file are not shown. View the raw message.

configs/u200_defconfig +0 -1
index 3b31aa4a1e7..909afc59ea1 100644

Lines of this file are not shown. View the raw message.

configs/uDPU_defconfig +0 -2
index 649248d74dc..c7f362a3cdc 100644

Lines of this file are not shown. View the raw message.

configs/usbarmory_defconfig +0 -1
index 91eb3a49650..b52cfc6673e 100644

Lines of this file are not shown. View the raw message.

configs/variscite_dart6ul_defconfig +0 -1
index 595e8ecc23b..01cb13f7d77 100644

Lines of this file are not shown. View the raw message.

configs/venice2_defconfig +2 -3
index 8caaefeae98..cdc76062b0b 100644

Lines of this file are not shown. View the raw message.

configs/ventana_defconfig +0 -1
index bf1965d0b5f..d628840047c 100644

Lines of this file are not shown. View the raw message.

configs/verdin-imx8mm_defconfig +0 -1
index d969370e25a..2f9c89c5daa 100644

Lines of this file are not shown. View the raw message.

configs/vexpress_aemv8a_juno_defconfig +0 -1
index d73d0d678e2..118b917dfd8 100644

Lines of this file are not shown. View the raw message.

configs/vinco_defconfig +2 -4
index 434d90ccd21..07fb27f68b7 100644

Lines of this file are not shown. View the raw message.

configs/vining_2000_defconfig +2 -4
index 92034b34f75..010873882f9 100644

Lines of this file are not shown. View the raw message.

configs/vocore2_defconfig +0 -1
index 86692bffeb8..9ca285285ec 100644

Lines of this file are not shown. View the raw message.

configs/vyasa-rk3288_defconfig +3 -3
index dd9c0d4a651..2faaa801c5a 100644

Lines of this file are not shown. View the raw message.

configs/wandboard_defconfig +0 -1
index d6b34454c82..fa6e2b123f7 100644

Lines of this file are not shown. View the raw message.

configs/warp7_bl33_defconfig +0 -1
index 0617018f42f..ec078178abf 100644

Lines of this file are not shown. View the raw message.

configs/warp7_defconfig +0 -1
index 5bac902dd0a..19c0c183f7e 100644

Lines of this file are not shown. View the raw message.

configs/warp_defconfig +0 -8
index ffad519cd0b..dce2170354b 100644

Lines of this file are not shown. View the raw message.

configs/wetek-core2_defconfig +0 -1
index 7d3e7cc4d18..40726735ba9 100644

Lines of this file are not shown. View the raw message.

configs/x530_defconfig +0 -2
index dbde3923743..0ff095671c4 100644

Lines of this file are not shown. View the raw message.

configs/xilinx_versal_virt_defconfig +0 -1
index 121c3ae7205..fe0afbfb0c3 100644

Lines of this file are not shown. View the raw message.

configs/xilinx_zynqmp_virt_defconfig +2 -2
index 5f32ca49300..bf1081331d3 100644

Lines of this file are not shown. View the raw message.

configs/zmx25_defconfig +0 -3
index f479146e201..2afe4299868 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.32.0.432.gabb21c7263-goog

Part of the diff is not shown here. View the raw message.

#2 lore raw

PATCH 2/33 pci: Drop old code from pci command

In reply to Simon Glass

Drop the pre-driver model code from this file.

---

 cmd/pci.c | 212 ------------------------------------------------------
 1 file changed, 212 deletions(-)
cmd/pci.c +0 -212
index e53b7c858c6..8cfa5bbdaa7 100644
@@ -47,7 +47,6 @@ static int pci_field_width(enum pci_size_t size)
 	return pci_byte_size(size) * 2;
 }
 
-#ifdef CONFIG_DM_PCI
 static void pci_show_regs(struct udevice *dev, struct pci_reg_info *regs)
 {
 	for (; regs->name; regs++) {
@@ -59,40 +58,7 @@ static void pci_show_regs(struct udevice *dev, struct pci_reg_info *regs)
 		       pci_field_width(regs->size), val);
 	}
 }
-#else
-static unsigned long pci_read_config(pci_dev_t dev, int offset,
-				     enum pci_size_t size)
-{
-	u32 val32;
-	u16 val16;
-	u8 val8;
 
-	switch (size) {
-	case PCI_SIZE_8:
-		pci_read_config_byte(dev, offset, &val8);
-		return val8;
-	case PCI_SIZE_16:
-		pci_read_config_word(dev, offset, &val16);
-		return val16;
-	case PCI_SIZE_32:
-	default:
-		pci_read_config_dword(dev, offset, &val32);
-		return val32;
-	}
-}
-
-static void pci_show_regs(pci_dev_t dev, struct pci_reg_info *regs)
-{
-	for (; regs->name; regs++) {
-		printf("  %s =%*s%#.*lx\n", regs->name,
-		       (int)(28 - strlen(regs->name)), "",
-		       pci_field_width(regs->size),
-		       pci_read_config(dev, regs->offset, regs->size));
-	}
-}
-#endif
-
-#ifdef CONFIG_DM_PCI
 int pci_bar_show(struct udevice *dev)
 {
 	u8 header_type;
@@ -162,7 +128,6 @@ int pci_bar_show(struct udevice *dev)
 
 	return 0;
 }
-#endif
 
 static struct pci_reg_info regs_start[] = {
 	{ "vendor ID", PCI_SIZE_16, PCI_VENDOR_ID },
@@ -258,23 +223,12 @@ static struct pci_reg_info regs_cardbus[] = {
  *
  * @dev: Bus+Device+Function number
  */
-#ifdef CONFIG_DM_PCI
 void pci_header_show(struct udevice *dev)
-#else
-void pci_header_show(pci_dev_t dev)
-#endif
 {
-#ifdef CONFIG_DM_PCI
 	unsigned long class, header_type;
 
 	dm_pci_read_config(dev, PCI_CLASS_CODE, &class, PCI_SIZE_8);
 	dm_pci_read_config(dev, PCI_HEADER_TYPE, &header_type, PCI_SIZE_8);
-#else
-	u8 class, header_type;
-
-	pci_read_config_byte(dev, PCI_CLASS_CODE, &class);
-	pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type);
-#endif
 	pci_show_regs(dev, regs_start);
 	printf("  class code =                  0x%.2x (%s)\n", (int)class,
 	       pci_class_str(class));
@@ -307,7 +261,6 @@ void pciinfo_header(int busnum, bool short_listing)
 	}
 }
 
-#ifdef CONFIG_DM_PCI
 /**
  * pci_header_show_brief() - Show the short-form PCI device header
  *
@@ -355,102 +308,6 @@ static void pciinfo(struct udevice *bus, bool short_listing)
 	}
 }
 
-#else
-
-/**
- * pci_header_show_brief() - Show the short-form PCI device header
- *
- * Reads and prints the header of the specified PCI device in short form.
- *
- * @dev: Bus+Device+Function number
- */
-void pci_header_show_brief(pci_dev_t dev)
-{
-	u16 vendor, device;
-	u8 class, subclass;
-
-	pci_read_config_word(dev, PCI_VENDOR_ID, &vendor);
-	pci_read_config_word(dev, PCI_DEVICE_ID, &device);
-	pci_read_config_byte(dev, PCI_CLASS_CODE, &class);
-	pci_read_config_byte(dev, PCI_CLASS_SUB_CODE, &subclass);
-
-	printf("0x%.4x     0x%.4x     %-23s 0x%.2x\n",
-	       vendor, device,
-	       pci_class_str(class), subclass);
-}
-
-/**
- * pciinfo() - Show a list of devices on the PCI bus
- *
- * Show information about devices on PCI bus. Depending on @short_pci_listing
- * the output will be more or less exhaustive.
- *
- * @bus_num: The number of the bus to be scanned
- * @short_pci_listing: true to use short form, showing only a brief header
- * for each device
- */
-void pciinfo(int bus_num, int short_pci_listing)
-{
-	struct pci_controller *hose = pci_bus_to_hose(bus_num);
-	int device;
-	int function;
-	unsigned char header_type;
-	unsigned short vendor_id;
-	pci_dev_t dev;
-	int ret;
-
-	if (!hose)
-		return;
-
-	pciinfo_header(bus_num, short_pci_listing);
-
-	for (device = 0; device < PCI_MAX_PCI_DEVICES; device++) {
-		header_type = 0;
-		vendor_id = 0;
-		for (function = 0; function < PCI_MAX_PCI_FUNCTIONS;
-		     function++) {
-			/*
-			 * If this is not a multi-function device, we skip
-			 * the rest.
-			 */
-			if (function && !(header_type & 0x80))
-				break;
-
-			dev = PCI_BDF(bus_num, device, function);
-
-			if (pci_skip_dev(hose, dev))
-				continue;
-
-			ret = pci_read_config_word(dev, PCI_VENDOR_ID,
-						   &vendor_id);
-			if (ret)
-				goto error;
-			if ((vendor_id == 0xFFFF) || (vendor_id == 0x0000))
-				continue;
-
-			if (!function) {
-				pci_read_config_byte(dev, PCI_HEADER_TYPE,
-						     &header_type);
-			}
-
-			if (short_pci_listing) {
-				printf("%02x.%02x.%02x   ", bus_num, device,
-				       function);
-				pci_header_show_brief(dev);
-			} else {
-				printf("\nFound PCI device %02x.%02x.%02x:\n",
-				       bus_num, device, function);
-				pci_header_show(dev);
-			}
-		}
-	}
-
-	return;
-error:
-	printf("Cannot read bus configuration: %d\n", ret);
-}
-#endif
-
 /**
  * get_pci_dev() - Convert the "bus.device.function" identifier into a number
  *
@@ -482,13 +339,8 @@ static pci_dev_t get_pci_dev(char *name)
 	return PCI_BDF(bdfs[0], bdfs[1], bdfs[2]);
 }
 
-#ifdef CONFIG_DM_PCI
 static int pci_cfg_display(struct udevice *dev, ulong addr,
 			   enum pci_size_t size, ulong length)
-#else
-static int pci_cfg_display(pci_dev_t bdf, ulong addr, enum pci_size_t size,
-			   ulong length)
-#endif
 {
 #define DISP_LINE_LEN	16
 	ulong i, nbytes, linebytes;
@@ -509,11 +361,7 @@ static int pci_cfg_display(pci_dev_t bdf, ulong addr, enum pci_size_t size,
 		for (i = 0; i < linebytes; i += byte_size) {
 			unsigned long val;
 
-#ifdef CONFIG_DM_PCI
 			dm_pci_read_config(dev, addr, &val, size);
-#else
-			val = pci_read_config(bdf, addr, size);
-#endif
 			printf(" %0*lx", pci_field_width(size), val);
 			addr += byte_size;
 		}
@@ -528,31 +376,8 @@ static int pci_cfg_display(pci_dev_t bdf, ulong addr, enum pci_size_t size,
 	return (rc);
 }
 
-#ifndef CONFIG_DM_PCI
-static int pci_cfg_write (pci_dev_t bdf, ulong addr, ulong size, ulong value)
-{
-	if (size == 4) {
-		pci_write_config_dword(bdf, addr, value);
-	}
-	else if (size == 2) {
-		ushort val = value & 0xffff;
-		pci_write_config_word(bdf, addr, val);
-	}
-	else {
-		u_char val = value & 0xff;
-		pci_write_config_byte(bdf, addr, val);
-	}
-	return 0;
-}
-#endif
-
-#ifdef CONFIG_DM_PCI
 static int pci_cfg_modify(struct udevice *dev, ulong addr, ulong size,
 			  ulong value, int incrflag)
-#else
-static int pci_cfg_modify(pci_dev_t bdf, ulong addr, ulong size, ulong value,
-			  int incrflag)
-#endif
 {
 	ulong	i;
 	int	nbytes;
@@ -563,11 +388,7 @@ static int pci_cfg_modify(pci_dev_t bdf, ulong addr, ulong size, ulong value,
 	 */
 	do {
 		printf("%08lx:", addr);
-#ifdef CONFIG_DM_PCI
 		dm_pci_read_config(dev, addr, &val, size);
-#else
-		val = pci_read_config(bdf, addr, size);
-#endif
 		printf(" %0*lx", pci_field_width(size), val);
 
 		nbytes = cli_readline(" ? ");
@@ -594,11 +415,7 @@ static int pci_cfg_modify(pci_dev_t bdf, ulong addr, ulong size, ulong value,
 				/* good enough to not time out
 				 */
 				bootretry_reset_cmd_timeout();
-#ifdef CONFIG_DM_PCI
 				dm_pci_write_config(dev, addr, i, size);
-#else
-				pci_cfg_write(bdf, addr, size, i);
-#endif
 				if (incrflag)
 					addr += size;
 			}
@@ -608,7 +425,6 @@ static int pci_cfg_modify(pci_dev_t bdf, ulong addr, ulong size, ulong value,
 	return 0;
 }
 
-#ifdef CONFIG_DM_PCI
 static const struct pci_flag_info {
 	uint flag;
 	const char *name;
@@ -647,7 +463,6 @@ static void pci_show_regions(struct udevice *bus)
 		printf("\n");
 	}
 }
-#endif
 
 /* PCI Configuration Space access commands
  *
@@ -661,11 +476,7 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
 	ulong addr = 0, value = 0, cmd_size = 0;
 	enum pci_size_t size = PCI_SIZE_32;
-#ifdef CONFIG_DM_PCI
 	struct udevice *dev, *bus;
-#else
-	pci_dev_t dev;
-#endif
 	int busnum = 0;
 	pci_dev_t bdf = 0;
 	char cmd = 's';
@@ -687,19 +498,15 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 		if (argc > 4)
 			value = simple_strtoul(argv[4], NULL, 16);
 	case 'h':		/* header */
-#ifdef CONFIG_DM_PCI
 	case 'b':		/* bars */
-#endif
 		if (argc < 3)
 			goto usage;
 		if ((bdf = get_pci_dev(argv[2])) == -1)
 			return 1;
 		break;
-#if defined(CONFIG_DM_PCI)
 	case 'e':
 		pci_init();
 		return 0;
-#endif
 	case 'r': /* no break */
 	default:		/* scan bus */
 		value = 1; /* short listing */
@@ -711,7 +518,6 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 			if (argc > 1)
 				busnum = simple_strtoul(argv[1], NULL, 16);
 		}
-#ifdef CONFIG_DM_PCI
 		ret = uclass_get_device_by_seq(UCLASS_PCI, busnum, &bus);
 		if (ret) {
 			printf("No such bus\n");
@@ -721,21 +527,14 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 			pci_show_regions(bus);
 		else
 			pciinfo(bus, value);
-#else
-		pciinfo(busnum, value);
-#endif
 		return 0;
 	}
 
-#ifdef CONFIG_DM_PCI
 	ret = dm_pci_bus_find_bdf(bdf, &dev);
 	if (ret) {
 		printf("No such device\n");
 		return CMD_RET_FAILURE;
 	}
-#else
-	dev = bdf;
-#endif
 
 	switch (argv[1][0]) {
 	case 'h':		/* header */
@@ -756,17 +555,10 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 	case 'w':		/* write */
 		if (argc < 5)
 			goto usage;
-#ifdef CONFIG_DM_PCI
 		ret = dm_pci_write_config(dev, addr, value, size);
-#else
-		ret = pci_cfg_write(dev, addr, size, value);
-#endif
 		break;
-#ifdef CONFIG_DM_PCI
-
 	case 'b':		/* bars */
 		return pci_bar_show(dev);
-#endif
 	default:
 		ret = CMD_RET_USAGE;
 		break;
@@ -783,18 +575,14 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 static char pci_help_text[] =
 	"[bus] [long]\n"
 	"    - short or long list of PCI devices on bus 'bus'\n"
-#if defined(CONFIG_DM_PCI)
 	"pci enum\n"
 	"    - Enumerate PCI buses\n"
-#endif
 	"pci header b.d.f\n"
 	"    - show header of PCI device 'bus.device.function'\n"
-#ifdef CONFIG_DM_PCI
 	"pci bar b.d.f\n"
 	"    - show BARs base and size for device b.d.f'\n"
 	"pci regions\n"
 	"    - show PCI regions\n"
-#endif
 	"pci display[.b, .w, .l] b.d.f [address] [# of objects]\n"
 	"    - display PCI configuration space (CFG)\n"
 	"pci next[.b, .w, .l] b.d.f address\n"
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#3 lore raw

PATCH 3/33 ppc: Remove UCP1020 board

In reply to Simon Glass

This board has not been converted to CONFIG_DM by the deadline. Remove it.

Leave the Kconfig options to avoid warnings on other boards.

---

 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 --
 configs/UCP1020_defconfig            |  58 --
 include/configs/UCP1020.h            | 832 ---------------------------
 14 files changed, 1 insertion(+), 2313 deletions(-)
 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 configs/UCP1020_defconfig
 delete mode 100644 include/configs/UCP1020.h
board/Arcturus/ucp1020/Kconfig +1 -27
index fe2c3be1b7a..60d80bab822 100644
@@ -1,28 +1,4 @@
-if TARGET_UCP1020
-
-config SYS_BOARD
-	string
-	default "ucp1020"
-
-config SYS_VENDOR
-	string
-	default "Arcturus"
-
-config SYS_CONFIG_NAME
-	string
-	default "UCP1020"
-
-choice
-	prompt "Target image select"
-
-config TARGET_UCP1020_NOR
-	bool "NOR flash u-boot image"
-
-config TARGET_UCP1020_SPIFLASH
-	bool "SPI flash u-boot image"
-
-endchoice
-
+# This exists only to avoid a warning for an unconverted value
 if TARGET_UCP1020_SPIFLASH
 config UCBOOT
 	bool
@@ -32,5 +8,3 @@ config SPIFLASH
 	bool
 	default y
 endif
-
-endif
board/Arcturus/ucp1020/MAINTAINERS deleted +0 -7
deleted file mode 100644
index e4a4718188f..00000000000
@@ -1,7 +0,0 @@
-UCP1020 BOARD
-M:	Oleksandr Zhadan and Michael Durrant <[email protected]>
-S:	Maintained
-F:	board/Arcturus/ucp1020/
-F:	include/configs/UCP1020.h
-F:	configs/UCP1020_defconfig
-F:	configs/UCP1020_SPIFLASH_defconfig
board/Arcturus/ucp1020/Makefile deleted +0 -31
deleted file mode 100644
index 46d04fb78c1..00000000000
@@ -1,31 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright 2013-2015 Arcturus Networks, Inc.
-# based on board/freescale/p1_p2_rdb_pc/Makefile
-# original copyright follows:
-# Copyright 2010-2011 Freescale Semiconductor, Inc.
-
-MINIMAL=
-
-ifdef CONFIG_SPL_BUILD
-ifdef CONFIG_SPL_INIT_MINIMAL
-MINIMAL=y
-endif
-endif
-
-ifdef MINIMAL
-
-obj-y	+= spl_minimal.o tlb.o law.o
-
-else
-ifdef CONFIG_SPL_BUILD
-obj-y += spl.o
-endif
-
-obj-y        += ucp1020.o
-obj-y        += ddr.o
-obj-y        += law.o
-obj-y        += tlb.o
-obj-y        += cmd_arc.o
-
-endif
board/Arcturus/ucp1020/README deleted +0 -54

54 lines not on this page · raw message

board/Arcturus/ucp1020/cmd_arc.c deleted +0 -408

408 lines not on this page · raw message

board/Arcturus/ucp1020/ddr.c deleted +0 -161

161 lines not on this page · raw message

board/Arcturus/ucp1020/law.c deleted +0 -24
deleted file mode 100644
index cb53692a32b..00000000000
@@ -1,24 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2013-2015 Arcturus Networks, Inc.
- *           http://www.arcturusnetworks.com/products/ucp1020/
- * based on board/freescale/p1_p2_rdb_pc/spl.c
- * original copyright follows:
- * Copyright 2013 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <asm/fsl_law.h>
-#include <asm/mmu.h>
-
-struct law_entry law_table[] = {
-#ifdef CONFIG_VSC7385_ENET
-	SET_LAW(CONFIG_SYS_VSC7385_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC),
-#endif
-	SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_64M, LAW_TRGT_IF_LBC),
-#ifdef CONFIG_SYS_NAND_BASE_PHYS
-	SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_32K, LAW_TRGT_IF_LBC),
-#endif
-};
-
-int num_law_entries = ARRAY_SIZE(law_table);
board/Arcturus/ucp1020/spl.c deleted +0 -127

127 lines not on this page · raw message

board/Arcturus/ucp1020/spl_minimal.c deleted +0 -67

67 lines not on this page · raw message

board/Arcturus/ucp1020/tlb.c deleted +0 -100

100 lines not on this page · raw message

board/Arcturus/ucp1020/ucp1020.c deleted +0 -372

372 lines not on this page · raw message

board/Arcturus/ucp1020/ucp1020.h deleted +0 -45

45 lines not on this page · raw message

configs/UCP1020_defconfig deleted +0 -58

58 lines not on this page · raw message

include/configs/UCP1020.h deleted +0 -832

832 lines not on this page · raw message

Signature · 1 line
2.32.0.432.gabb21c7263-goog
#4 lore raw

Re: [PATCH 03/33] ppc: Remove UCP1020 board

Quoted 6 lines · Simon Glass

This board has not been converted to CONFIG_DM by the deadline. Remove it.

Leave the Kconfig options to avoid warnings on other boards.

Note the big missed migration deadline here is DM_PCI, although the usage of CONFIG_PCI_INDIRECT_BRIDGE without CONFIG_PCI directly is why this particular board wasn't caught before.

Signature · 1 line
Tom
#5 lore raw

PATCH 4/33 pci: Drop old code from header file

In reply to Simon Glass

We don't need this code anymore since when PCI is enabled, driver model is always used.

---

 include/pci.h | 60 +++------------------------------------------------
 1 file changed, 3 insertions(+), 57 deletions(-)
include/pci.h +3 -57
index 258c8f831ce..e07d6c31bc1 100644
@@ -623,13 +623,9 @@ extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t dev
  *	about a small subset of PCI devices. This is normally false.
  */
 struct pci_controller {
-#ifdef CONFIG_DM_PCI
 	struct udevice *bus;
 	struct udevice *ctlr;
 	bool skip_auto_config_until_reloc;
-#else
-	struct pci_controller *next;
-#endif
 
 	int first_busno;
 	int last_busno;
@@ -655,54 +651,16 @@ struct pci_controller {
 	struct pci_config_table *config_table;
 
 	void (*fixup_irq)(struct pci_controller *, pci_dev_t);
-#ifndef CONFIG_DM_PCI
-	/* Low-level architecture-dependent routines */
-	int (*read_byte)(struct pci_controller*, pci_dev_t, int where, u8 *);
-	int (*read_word)(struct pci_controller*, pci_dev_t, int where, u16 *);
-	int (*read_dword)(struct pci_controller*, pci_dev_t, int where, u32 *);
-	int (*write_byte)(struct pci_controller*, pci_dev_t, int where, u8);
-	int (*write_word)(struct pci_controller*, pci_dev_t, int where, u16);
-	int (*write_dword)(struct pci_controller*, pci_dev_t, int where, u32);
-#endif
 
 	/* Used by auto config */
 	struct pci_region *pci_mem, *pci_io, *pci_prefetch;
-
-#ifndef CONFIG_DM_PCI
-	int current_busno;
-
-	void *priv_data;
-#endif
 };
 
-#ifndef CONFIG_DM_PCI
-static inline void pci_set_ops(struct pci_controller *hose,
-				   int (*read_byte)(struct pci_controller*,
-						    pci_dev_t, int where, u8 *),
-				   int (*read_word)(struct pci_controller*,
-						    pci_dev_t, int where, u16 *),
-				   int (*read_dword)(struct pci_controller*,
-						     pci_dev_t, int where, u32 *),
-				   int (*write_byte)(struct pci_controller*,
-						     pci_dev_t, int where, u8),
-				   int (*write_word)(struct pci_controller*,
-						     pci_dev_t, int where, u16),
-				   int (*write_dword)(struct pci_controller*,
-						      pci_dev_t, int where, u32)) {
-	hose->read_byte   = read_byte;
-	hose->read_word   = read_word;
-	hose->read_dword  = read_dword;
-	hose->write_byte  = write_byte;
-	hose->write_word  = write_word;
-	hose->write_dword = write_dword;
-}
-#endif
-
 #ifdef CONFIG_PCI_INDIRECT_BRIDGE
 extern void pci_setup_indirect(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data);
 #endif
 
-#if !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT)
+#if defined(CONFIG_DM_PCI_COMPAT)
 extern phys_addr_t pci_hose_bus_to_phys(struct pci_controller* hose,
 					pci_addr_t addr, unsigned long flags);
 extern pci_addr_t pci_hose_phys_to_bus(struct pci_controller* hose,
@@ -752,15 +710,6 @@ extern int pci_hose_write_config_dword(struct pci_controller *hose,
 				       pci_dev_t dev, int where, u32 val);
 #endif
 
-#ifndef CONFIG_DM_PCI
-extern int pci_read_config_byte(pci_dev_t dev, int where, u8 *val);
-extern int pci_read_config_word(pci_dev_t dev, int where, u16 *val);
-extern int pci_read_config_dword(pci_dev_t dev, int where, u32 *val);
-extern int pci_write_config_byte(pci_dev_t dev, int where, u8 val);
-extern int pci_write_config_word(pci_dev_t dev, int where, u16 val);
-extern int pci_write_config_dword(pci_dev_t dev, int where, u32 val);
-#endif
-
 void pciauto_region_init(struct pci_region *res);
 void pciauto_region_align(struct pci_region *res, pci_size_t size);
 void pciauto_config_init(struct pci_controller *hose);
@@ -780,7 +729,7 @@ void pciauto_config_init(struct pci_controller *hose);
 int pciauto_region_allocate(struct pci_region *res, pci_size_t size,
 			    pci_addr_t *bar, bool supports_64bit);
 
-#if !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT)
+#if defined(CONFIG_DM_PCI_COMPAT)
 extern int pci_hose_read_config_byte_via_dword(struct pci_controller *hose,
 					       pci_dev_t dev, int where, u8 *val);
 extern int pci_hose_read_config_word_via_dword(struct pci_controller *hose,
@@ -827,7 +776,7 @@ int pci_find_next_ext_capability(struct pci_controller *hose,
 int pci_hose_find_ext_capability(struct pci_controller *hose,
 				 pci_dev_t dev, int cap);
 
-#endif /* !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT) */
+#endif /* defined(CONFIG_DM_PCI_COMPAT) */
 
 const char * pci_class_str(u8 class);
 int pci_last_busno(void);
@@ -890,7 +839,6 @@ enum pci_size_t {
 
 struct udevice;
 
-#ifdef CONFIG_DM_PCI
 /**
  * struct pci_child_plat - information stored about each PCI device
  *
@@ -1691,8 +1639,6 @@ int sandbox_pci_get_client(struct udevice *emul, struct udevice **devp);
  */
 extern void board_pci_fixup_dev(struct udevice *bus, struct udevice *dev);
 
-#endif /* CONFIG_DM_PCI */
-
 /**
  * PCI_DEVICE - macro used to describe a specific pci device
  * @vend: the 16 bit PCI Vendor ID
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#6 lore raw

PATCH 5/33 pci: Remove guard around compatibility functions

In reply to Simon Glass

This prevents use of IS_ENABLED() in other files. Functions should be visible in headers even if they are not available at link time.

Fix it.

---

 include/pci.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
include/pci.h +6 -2
index e07d6c31bc1..ca086420ff2 100644
@@ -789,7 +789,6 @@ extern void pci_mpc85xx_init (struct pci_controller *hose);
 extern void imx_pcie_remove(void);
 #endif
 
-#if !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT)
 /**
  * pci_write_bar32() - Write the address of a BAR including control bits
  *
@@ -797,6 +796,8 @@ extern void imx_pcie_remove(void);
  * with devices which require hard-coded addresses, not part of the normal
  * PCI enumeration process.
  *
+ * This is only available if CONFIG_DM_PCI_COMPAT is enabled
+ *
  * @hose:	PCI hose to use
  * @dev:	PCI device to update
  * @barnum:	BAR number (0-5)
@@ -808,6 +809,8 @@ void pci_write_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum,
 /**
  * pci_read_bar32() - read the address of a bar
  *
+ * This is only available if CONFIG_DM_PCI_COMPAT is enabled
+ *
  * @hose:	PCI hose to use
  * @dev:	PCI device to inspect
  * @barnum:	BAR number (0-5)
@@ -818,6 +821,8 @@ u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum);
 /**
  * pci_hose_find_devices() - Find devices by vendor/device ID
  *
+ * This is only available if CONFIG_DM_PCI_COMPAT is enabled
+ *
  * @hose:	PCI hose to search
  * @busnum:	Bus number to search
  * @ids:	PCI vendor/device IDs to look for, terminated by 0, 0 record
@@ -828,7 +833,6 @@ u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum);
  */
 pci_dev_t pci_hose_find_devices(struct pci_controller *hose, int busnum,
 				struct pci_device_id *ids, int *indexp);
-#endif /* !CONFIG_DM_PCI || CONFIG_DM_PCI_COMPAT */
 
 /* Access sizes for PCI reads and writes */
 enum pci_size_t {
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#7 lore raw

PATCH 6/33 pci: Drop DM_PCI check from fdtdec

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Sadly this doesn't work with nds32 for some reason to do with the toolchain. Add a work-around for that.

---

 lib/fdtdec.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
lib/fdtdec.c +8 -2
index 4b097fb588e..d12c6d340a0 100644
@@ -192,7 +192,6 @@ fdt_addr_t fdtdec_get_addr(const void *blob, int node, const char *prop_name)
 	return fdtdec_get_addr_size(blob, node, prop_name, NULL);
 }
 
-#if CONFIG_IS_ENABLED(PCI) && defined(CONFIG_DM_PCI)
 int fdtdec_get_pci_vendev(const void *blob, int node, u16 *vendor, u16 *device)
 {
 	const char *list, *end;
@@ -240,7 +239,15 @@ int fdtdec_get_pci_bar32(const struct udevice *dev, struct fdt_pci_addr *addr,
 		return -EINVAL;
 
 	barnum = (barnum - PCI_BASE_ADDRESS_0) / 4;
+
+	/*
+	 * There is a strange toolchain bug with nds32 which complains about
+	 * an undefined reference here, even if fdtdec_get_pci_bar32() is never
+	 * called. An #ifdef seems to be the only fix!
+	 */
+#if !IS_ENABLED(CONFIG_NDS32)
 	*bar = dm_pci_read_bar32(dev, barnum);
+#endif
 
 	return 0;
 }
@@ -260,7 +267,6 @@ int fdtdec_get_pci_bus_range(const void *blob, int node,
 
 	return 0;
 }
-#endif
 
 uint64_t fdtdec_get_uint64(const void *blob, int node, const char *prop_name,
 			   uint64_t default_val)
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#8 lore raw

PATCH 7/33 pci: Drop DM_PCI check from pci_common

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

---

 drivers/pci/pci_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pci/pci_common.c +2 -2
index 5231b69dc9a..02a71da30fa 100644
@@ -99,7 +99,7 @@ __weak int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev)
 	return 0;
 }
 
-#if !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT)
+#if defined(CONFIG_DM_PCI_COMPAT)
 /* Get a virtual address associated with a BAR region */
 void *pci_map_bar(pci_dev_t pdev, int bar, int flags)
 {
@@ -361,4 +361,4 @@ pci_dev_t pci_find_class(uint find_class, int index)
 
 	return -ENODEV;
 }
-#endif /* !CONFIG_DM_PCI || CONFIG_DM_PCI_COMPAT */
+#endif /* CONFIG_DM_PCI_COMPAT */
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#9 lore raw

PATCH 8/33 ppc: Drop CONFIG_SYS_PCI_SUBSYS_VENDORID

In reply to Simon Glass

This is not used. Drop it.

---

 include/configs/MPC8349EMDS.h       | 1 -
 include/configs/MPC8349EMDS_SDRAM.h | 1 -
 include/configs/MPC837XERDB.h       | 1 -
 include/configs/MPC8540ADS.h        | 1 -
 include/configs/MPC8560ADS.h        | 1 -
 scripts/config_whitelist.txt        | 1 -
 6 files changed, 6 deletions(-)
include/configs/MPC8349EMDS.h +0 -1
index 2cf2e2de5e6..11959e509a5 100644
@@ -228,7 +228,6 @@
 #endif
 
 #undef CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1957  /* Freescale */
 
 #endif	/* CONFIG_PCI */
 
include/configs/MPC8349EMDS_SDRAM.h +0 -1
index cfec59e8605..d424427e0c8 100644
@@ -283,7 +283,6 @@
 #endif
 
 #undef CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1957  /* Freescale */
 
 #endif	/* CONFIG_PCI */
 
include/configs/MPC837XERDB.h +0 -1
index ae368a1f1e3..c37cdae07f8 100644
@@ -258,7 +258,6 @@
 #define CONFIG_PCI_INDIRECT_BRIDGE
 
 #undef CONFIG_PCI_SCAN_SHOW	/* show pci devices on startup */
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1957	/* Freescale */
 #endif	/* CONFIG_PCI */
 
 /*
include/configs/MPC8540ADS.h +0 -1
index af90fe167a7..afe972ee105 100644
@@ -241,7 +241,6 @@
 #endif
 
 #undef CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057  /* Motorola */
 
 #endif	/* CONFIG_PCI */
 
include/configs/MPC8560ADS.h +0 -1
index 5e1bef8f3b0..d24b5b5eac3 100644
@@ -238,7 +238,6 @@
 #endif
 
 #undef CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057  /* Motorola */
 
 #endif	/* CONFIG_PCI */
 
scripts/config_whitelist.txt +0 -1
index 042ca116e99..f947ecdb3eb 100644
@@ -2959,7 +2959,6 @@ CONFIG_SYS_PCI_NR_INBOUND_WIN
 CONFIG_SYS_PCI_SLV_MEM_BUS
 CONFIG_SYS_PCI_SLV_MEM_LOCAL
 CONFIG_SYS_PCI_SLV_MEM_SIZE
-CONFIG_SYS_PCI_SUBSYS_VENDORID
 CONFIG_SYS_PCI_SYS_MEM_BUS
 CONFIG_SYS_PCI_SYS_MEM_PHYS
 CONFIG_SYS_PCI_SYS_MEM_SIZE
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#10 lore raw

PATCH 9/33 pci: powerpc: Drop old code

In reply to Simon Glass

Drop the old pre-driver model code from these drivers.

---

 arch/powerpc/cpu/mpc83xx/pci.c    | 160 -------------------------
 arch/powerpc/cpu/mpc85xx/Makefile |   1 -
 arch/powerpc/cpu/mpc85xx/pci.c    | 191 ------------------------------
 3 files changed, 352 deletions(-)
 delete mode 100644 arch/powerpc/cpu/mpc85xx/pci.c
arch/powerpc/cpu/mpc83xx/pci.c +0 -160
index 507ab3417b3..65ef0497c2a 100644
@@ -27,166 +27,6 @@ DECLARE_GLOBAL_DATA_PTR;
 static struct pci_controller pci_hose[MAX_BUSES];
 static int pci_num_buses;
 
-#if !defined(CONFIG_DM_PCI)
-static void pci_init_bus(int bus, struct pci_region *reg)
-{
-	volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR;
-	volatile pot83xx_t *pot = immr->ios.pot;
-	volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[bus];
-	struct pci_controller *hose = &pci_hose[bus];
-	u32 dev;
-	u16 reg16;
-	int i;
-
-	if (bus == 1)
-		pot += 3;
-
-	/* Setup outbound translation windows */
-	for (i = 0; i < 3; i++, reg++, pot++) {
-		if (reg->size == 0)
-			break;
-
-		hose->regions[i] = *reg;
-		hose->region_count++;
-
-		pot->potar = reg->bus_start >> 12;
-		pot->pobar = reg->phys_start >> 12;
-		pot->pocmr = ~(reg->size - 1) >> 12;
-
-		if (reg->flags & PCI_REGION_IO)
-			pot->pocmr |= POCMR_IO;
-#ifdef CONFIG_83XX_PCI_STREAMING
-		else if (reg->flags & PCI_REGION_PREFETCH)
-			pot->pocmr |= POCMR_SE;
-#endif
-
-		if (bus == 1)
-			pot->pocmr |= POCMR_DST;
-
-		pot->pocmr |= POCMR_EN;
-	}
-
-	/* Point inbound translation at RAM */
-	pci_ctrl->pitar1 = 0;
-	pci_ctrl->pibar1 = 0;
-	pci_ctrl->piebar1 = 0;
-	pci_ctrl->piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP |
-			   PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1));
-
-	i = hose->region_count++;
-	hose->regions[i].bus_start = 0;
-	hose->regions[i].phys_start = 0;
-	hose->regions[i].size = gd->ram_size;
-	hose->regions[i].flags = PCI_REGION_MEM | PCI_REGION_SYS_MEMORY;
-
-	hose->first_busno = pci_last_busno() + 1;
-	hose->last_busno = 0xff;
-
-	pci_setup_indirect(hose, CONFIG_SYS_IMMR + 0x8300 + bus * 0x80,
-				 CONFIG_SYS_IMMR + 0x8304 + bus * 0x80);
-
-	pci_register_hose(hose);
-
-	/*
-	 * Write to Command register
-	 */
-	reg16 = 0xff;
-	dev = PCI_BDF(hose->first_busno, 0, 0);
-	pci_hose_read_config_word(hose, dev, PCI_COMMAND, &reg16);
-	reg16 |= PCI_COMMAND_SERR | PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY;
-	pci_hose_write_config_word(hose, dev, PCI_COMMAND, reg16);
-
-	/*
-	 * Clear non-reserved bits in status register.
-	 */
-	pci_hose_write_config_word(hose, dev, PCI_STATUS, 0xffff);
-	pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80);
-	pci_hose_write_config_byte(hose, dev, PCI_CACHE_LINE_SIZE, 0x08);
-
-#ifdef CONFIG_PCI_SCAN_SHOW
-	printf("PCI:   Bus Dev VenId DevId Class Int\n");
-#endif
-#ifndef CONFIG_PCISLAVE
-	/*
-	 * Hose scan.
-	 */
-	hose->last_busno = pci_hose_scan(hose);
-#endif
-}
-
-/*
- * The caller must have already set OCCR, and the PCI_LAW BARs
- * must have been set to cover all of the requested regions.
- *
- * If fewer than three regions are requested, then the region
- * list is terminated with a region of size 0.
- */
-void mpc83xx_pci_init(int num_buses, struct pci_region **reg)
-{
-	volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR;
-	int i;
-
-	if (num_buses > MAX_BUSES) {
-		printf("%d PCI buses requested, %d supported\n",
-		       num_buses, MAX_BUSES);
-
-		num_buses = MAX_BUSES;
-	}
-
-	pci_num_buses = num_buses;
-
-	/*
-	 * Release PCI RST Output signal.
-	 * Power on to RST high must be at least 100 ms as per PCI spec.
-	 * On warm boots only 1 ms is required, but we play it safe.
-	 */
-	udelay(100000);
-
-	for (i = 0; i < num_buses; i++)
-		immr->pci_ctrl[i].gcr = 1;
-
-	/*
-	 * RST high to first config access must be at least 2^25 cycles
-	 * as per PCI spec.  This could be cut in half if we know we're
-	 * running at 66MHz.  This could be insufficiently long if we're
-	 * running the PCI bus at significantly less than 33MHz.
-	 */
-	udelay(1020000);
-
-	for (i = 0; i < num_buses; i++)
-		pci_init_bus(i, reg[i]);
-}
-
-#ifdef CONFIG_PCISLAVE
-
-#define PCI_FUNCTION_CONFIG	0x44
-#define PCI_FUNCTION_CFG_LOCK	0x20
-
-/*
- * Unlock the configuration bit so that the host system can begin booting
- *
- * This should be used after you have:
- * 1) Called mpc83xx_pci_init()
- * 2) Set up your inbound translation windows to the appropriate size
- */
-void mpc83xx_pcislave_unlock(int bus)
-{
-	struct pci_controller *hose = &pci_hose[bus];
-	u32 dev;
-	u16 reg16;
-
-	/* Unlock configuration lock in PCI function configuration register */
-	dev = PCI_BDF(hose->first_busno, 0, 0);
-	pci_hose_read_config_word (hose, dev, PCI_FUNCTION_CONFIG, &reg16);
-	reg16 &= ~(PCI_FUNCTION_CFG_LOCK);
-	pci_hose_write_config_word (hose, dev, PCI_FUNCTION_CONFIG, reg16);
-
-	/* The configuration bit is now unlocked, so we can scan the bus */
-	hose->last_busno = pci_hose_scan(hose);
-}
-#endif
-#endif /* CONFIG_DM_PCI */
-
 #if defined(CONFIG_OF_LIBFDT)
 void ft_pci_setup(void *blob, struct bd_info *bd)
 {
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
index 993e4873184..15248a40824 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_CPM2)	+= ether_fcc.o
 obj-$(CONFIG_OF_LIBFDT) += fdt.o
 obj-$(CONFIG_FSL_CORENET) += liodn.o
 obj-$(CONFIG_MP)	+= mp.o
-obj-$(CONFIG_PCI)	+= pci.o
 obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
 
 # various SoC specific assignments
arch/powerpc/cpu/mpc85xx/pci.c deleted +0 -191

191 lines not on this page · raw message

Signature · 1 line
2.32.0.432.gabb21c7263-goog
#11 lore raw

PATCH 10/33 pci: freescale: Drop old code

In reply to Simon Glass

Drop this old pre-driver model code.

---

 board/freescale/common/cds_pci_ft.c         |  59 ----------
 board/freescale/common/p_corenet/Makefile   |   1 -
 board/freescale/common/p_corenet/pci.c      |  25 -----
 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 -----
 16 files changed, 351 deletions(-)
 delete mode 100644 board/freescale/common/p_corenet/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
board/freescale/common/cds_pci_ft.c +0 -59
index be97a28ed25..dc2d62850d1 100644
@@ -9,68 +9,9 @@
 #include "cadmus.h"
 
 #if defined(CONFIG_OF_BOARD_SETUP)
-#if defined(CONFIG_PCI) && !defined(CONFIG_DM_PCI)
-static void cds_pci_fixup(void *blob)
-{
-	int node;
-	const char *path;
-	int len, slot, i;
-	u32 *map = NULL, *piccells = NULL;
-	int off, cells;
-
-	node = fdt_path_offset(blob, "/aliases");
-	if (node >= 0) {
-		path = fdt_getprop(blob, node, "pci0", NULL);
-		if (path) {
-			node = fdt_path_offset(blob, path);
-			if (node >= 0) {
-				map = fdt_getprop_w(blob, node, "interrupt-map", &len);
-			}
-			/* Each item in "interrupt-map" property is translated with
-			 * following cells:
-			 * PCI #address-cells, PCI #interrupt-cells,
-			 * PIC address, PIC #address-cells, PIC #interrupt-cells.
-			 */
-			cells = fdt_getprop_u32_default(blob, path, "#address-cells", 1);
-			cells += fdt_getprop_u32_default(blob, path, "#interrupt-cells", 1);
-			off = fdt_node_offset_by_phandle(blob, fdt32_to_cpu(*(map+cells)));
-			if (off <= 0)
-				return;
-			cells += 1;
-			piccells = (u32 *)fdt_getprop(blob, off, "#address-cells", NULL);
-			if (piccells == NULL)
-				return;
-			cells += *piccells;
-			piccells = (u32 *)fdt_getprop(blob, off, "#interrupt-cells", NULL);
-			if (piccells == NULL)
-				return;
-			cells += *piccells;
-		}
-	}
-
-	if (map) {
-		len /= sizeof(u32);
-
-		slot = get_pci_slot();
-
-		for (i=0;i<len;i+=cells) {
-			/* We rotate the interrupt pins so that the mapping
-			 * changes depending on the slot the carrier card is in.
-			 */
-			map[3] = ((map[3] + slot - 2) % 4) + 1;
-			map+=cells;
-		}
-	}
-}
-#endif
-
 int ft_board_setup(void *blob, struct bd_info *bd)
 {
 	ft_cpu_setup(blob, bd);
-#if defined(CONFIG_PCI) && !defined(CONFIG_DM_PCI)
-	ft_pci_setup(blob, bd);
-	cds_pci_fixup(blob);
-#endif
 
 	return 0;
 }
board/freescale/common/p_corenet/Makefile +0 -1
index 29c9d544ae5..ce156018a06 100644
@@ -4,5 +4,4 @@
 # Wolfgang Denk, DENX Software Engineering, [email protected].
 
 obj-y			+= law.o
-obj-$(CONFIG_PCI)	+= pci.o
 obj-y			+= tlb.o
board/freescale/common/p_corenet/pci.c deleted +0 -25
deleted file mode 100644
index 636334863e1..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2007-2011 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
board/freescale/mpc8548cds/mpc8548cds.c +0 -114

123 lines not on this page · raw message

board/freescale/p1010rdb/p1010rdb.c +0 -11
index 90436337df1..84fc891b67c 100644
@@ -129,13 +129,6 @@ int board_early_init_r(void)
 	return 0;
 }
 
-#if defined(CONFIG_PCI) && !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-#endif /* ifdef CONFIG_PCI */
-
 int config_board_mux(int ctrl_type)
 {
 	ccsr_gur_t __iomem *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
@@ -617,10 +610,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 	base = env_get_bootm_low();
 	size = env_get_bootm_size();
 
-#if defined(CONFIG_PCI) && !defined(CONFIG_DM_PCI)
-	FT_FSL_PCI_SETUP;
-#endif
-
 	fdt_fixup_memory(blob, (u64)base, (u64)size);
 
 #if defined(CONFIG_HAS_FSL_DR_USB)
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +0 -11
index 8273384f2d5..fb9bf795e30 100644
@@ -239,13 +239,6 @@ int checkboard(void)
 	return 0;
 }
 
-#if defined(CONFIG_PCI) && !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-#endif
-
 int board_early_init_r(void)
 {
 	const unsigned int flashbase = CONFIG_SYS_FLASH_BASE;
@@ -363,10 +356,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 
 	fdt_fixup_memory(blob, (u64)base, (u64)size);
 
-#if !defined(CONFIG_DM_PCI)
-	FT_FSL_PCI_SETUP;
-#endif
-
 #ifdef CONFIG_QE
 	do_fixup_by_compat(blob, "fsl,qe", "status", "okay",
 			sizeof("okay"), 0);
board/freescale/t102xrdb/Makefile +0 -1
index ddeb44f36e2..e597486c940 100644
@@ -10,7 +10,6 @@ else
 obj-y   += t102xrdb.o
 obj-$(CONFIG_TARGET_T1024RDB)   += cpld.o
 obj-y   += eth_t102xrdb.o
-obj-$(CONFIG_PCI)       += pci.o
 endif
 obj-y   += ddr.o
 obj-y   += law.o
board/freescale/t102xrdb/pci.c deleted +0 -25
deleted file mode 100644
index 45ab9223ae1..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2007-2014 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
board/freescale/t104xrdb/Makefile +0 -1
index 31abbd9aca0..d67e9412ecd 100644
@@ -8,7 +8,6 @@ else
 obj-y	+= t104xrdb.o
 obj-y	+= cpld.o
 obj-y	+= eth.o
-obj-$(CONFIG_PCI)	+= pci.o
 obj-$(CONFIG_FSL_DIU_FB)+= diu.o
 endif
 obj-y	+= ddr.o
board/freescale/t104xrdb/pci.c deleted +0 -25
deleted file mode 100644
index 1fd24027000..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2013 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
board/freescale/t208xqds/Makefile +0 -1
index 55b1e7390a0..de8613058de 100644
@@ -8,7 +8,6 @@ ifdef CONFIG_SPL_BUILD
 obj-y += spl.o
 else
 obj-$(CONFIG_TARGET_T2080QDS) += t208xqds.o eth_t208xqds.o
-obj-$(CONFIG_PCI)      += pci.o
 endif
 
 obj-y   += ddr.o
board/freescale/t208xqds/pci.c deleted +0 -25
deleted file mode 100644
index a03b11ccb50..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2007-2013 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
board/freescale/t208xrdb/Makefile +0 -1
index 25ea66a0248..7af3cd0ac4c 100644
@@ -8,7 +8,6 @@ ifdef CONFIG_SPL_BUILD
 obj-y	+= spl.o
 else
 obj-$(CONFIG_TARGET_T2080RDB) += t208xrdb.o eth_t208xrdb.o cpld.o
-obj-$(CONFIG_PCI)      += pci.o
 endif
 
 obj-y   += ddr.o
board/freescale/t208xrdb/pci.c deleted +0 -25
deleted file mode 100644
index 45ab9223ae1..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2007-2014 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
board/freescale/t4rdb/Makefile +0 -1
index f1fd623339c..3106848639c 100644
@@ -10,7 +10,6 @@ else
 obj-$(CONFIG_TARGET_T4240RDB)	+= t4240rdb.o
 obj-y			+= cpld.o
 obj-y			+= eth.o
-obj-$(CONFIG_PCI)	+= pci.o
 endif
 
 obj-y	+= ddr.o
board/freescale/t4rdb/pci.c deleted +0 -25
deleted file mode 100644
index c2bc05164dd..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2014 Freescale Semiconductor, Inc.
- */
-
-#include <common.h>
-#include <command.h>
-#include <init.h>
-#include <pci.h>
-#include <asm/fsl_pci.h>
-#include <linux/libfdt.h>
-#include <fdt_support.h>
-#include <asm/fsl_serdes.h>
-
-#if !defined(CONFIG_DM_PCI)
-void pci_init_board(void)
-{
-	fsl_pcie_init_board(0);
-}
-
-void pci_of_setup(void *blob, struct bd_info *bd)
-{
-	FT_FSL_PCI_SETUP;
-}
-#endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#12 lore raw

PATCH 11/33 pci: dm: core: Drop DM_PCI check from devfdt_get_addr_pci()

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

---

 drivers/core/fdtaddr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/core/fdtaddr.c +1 -2
index b9874c743d1..4ffbd6b2ebc 100644
@@ -200,8 +200,7 @@ fdt_addr_t devfdt_get_addr_pci(const struct udevice *dev)
 	ulong addr;
 
 	addr = devfdt_get_addr(dev);
-	if (CONFIG_IS_ENABLED(PCI) && IS_ENABLED(CONFIG_DM_PCI) &&
-	    addr == FDT_ADDR_T_NONE) {
+	if (CONFIG_IS_ENABLED(PCI) && addr == FDT_ADDR_T_NONE) {
 		struct fdt_pci_addr pci_addr;
 		u32 bar;
 		int ret;
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#13 lore raw

PATCH 12/33 ppc: Drop DM_PCI from config files

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 include/configs/MPC8548CDS.h   | 16 ----------------
 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/corenet_ds.h   | 21 ---------------------
 include/configs/p1_p2_rdb_pc.h | 24 ------------------------
 10 files changed, 204 deletions(-)
include/configs/MPC8548CDS.h +0 -16
index 9f83931bed5..bcb02b0612e 100644
@@ -371,23 +371,7 @@ extern unsigned long get_clock_freq(void);
 #endif
 
 #if defined(CONFIG_PCI)
-
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT		1	/* Use common FSL init code */
-#define CONFIG_PCI_INDIRECT_BRIDGE	1
-#define CONFIG_SYS_PCIE1_NAME		"Slot"
-#ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#else
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xa0000000
-#endif
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00100000	/*   1M */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
-
 #endif	/* CONFIG_PCI */
 
 #if defined(CONFIG_TSEC_ENET)
include/configs/P1010RDB.h +0 -28
index 1b68fd10728..7f14e99595c 100644
@@ -150,34 +150,6 @@
 #define CONFIG_SYS_PCIE2_IO_PHYS	0xffc10000
 #endif
 
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT		/* Use common FSL init code */
-#define CONFIG_PCI_INDIRECT_BRIDGE	/* indirect PCI bridge support */
-#define CONFIG_SYS_PCIE1_NAME		"mini PCIe Slot"
-#ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_PCIE1_MEM_BUS	0x80000000
-#else
-#define CONFIG_SYS_PCIE1_MEM_BUS	0x80000000
-#endif
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-
-#if defined(CONFIG_TARGET_P1010RDB_PA)
-#define CONFIG_SYS_PCIE2_NAME		"PCIe Slot"
-#elif defined(CONFIG_TARGET_P1010RDB_PB)
-#define CONFIG_SYS_PCIE2_NAME		"mini PCIe Slot"
-#endif
-#ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xc0000000
-#else
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xa0000000
-#endif
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif
 
include/configs/P2041RDB.h +0 -17
index 715154a0ddf..498735ed85c 100644
@@ -417,23 +417,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
 
 #ifdef CONFIG_PCI
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/T102xRDB.h +0 -17
index 35b11ad88a8..dd0160b9bad 100644
@@ -487,23 +487,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PCIE3_IO_PHYS	0xff8020000ull
 #endif
 
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x10000000 /* 256M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/T104xRDB.h +0 -20
index ea239f74c14..2c496551233 100644
@@ -537,26 +537,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 #define CONFIG_SYS_PCIE4_IO_PHYS	0xff8030000ull
 #endif
 
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE4_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE4_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE4_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE4_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/T208xQDS.h +0 -20
index 7bc792b8d19..4dcc49583f7 100644
@@ -486,26 +486,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PCIE4_IO_PHYS	0xff8030000ull
 
 #ifdef CONFIG_PCI
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x10000000 /* 256M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE4_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE4_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE4_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE4_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
 #define CONFIG_PCI_SCAN_SHOW	/* show pci devices on startup */
 #endif
 
include/configs/T208xRDB.h +0 -20
index 9449e30bfca..c3c93783ed7 100644
@@ -435,26 +435,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PCIE4_IO_PHYS	0xff8030000ull
 
 #ifdef CONFIG_PCI
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x10000000 /* 256M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE4_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE4_MEM_SIZE	0x10000000	/* 256M */
-#define CONFIG_SYS_PCIE4_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE4_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
 #define CONFIG_PCI_SCAN_SHOW	/* show pci devices on startup */
 #endif
 
include/configs/T4240RDB.h +0 -21
index 139beae08db..89e9d62bb2d 100644
@@ -196,27 +196,6 @@
 #define CONFIG_SYS_PCIE4_IO_PHYS	0xff8030000ull
 
 #ifdef CONFIG_PCI
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE4_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE4_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE4_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE4_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/corenet_ds.h +0 -21
index d0843c284e6..b343ac83519 100644
@@ -430,27 +430,6 @@
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
 
 #ifdef CONFIG_PCI
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_SYS_PCIE1_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000      /* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE3_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE3_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE3_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE3_IO_SIZE	0x00010000	/* 64k */
-#define CONFIG_SYS_PCIE4_MEM_BUS	0xe0000000
-#define CONFIG_SYS_PCIE4_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE4_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE4_IO_SIZE	0x00010000	/* 64k */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/p1_p2_rdb_pc.h +0 -24
index 066311a97e4..84e330dd691 100644
@@ -529,30 +529,6 @@
 #define CONFIG_SYS_PCIE1_IO_PHYS	0xffc00000
 #endif
 
-#if !defined(CONFIG_DM_PCI)
-#define CONFIG_FSL_PCI_INIT	/* Use common FSL init code */
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_SYS_PCIE2_NAME		"PCIe SLOT"
-#ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xc0000000
-#else
-#define CONFIG_SYS_PCIE2_MEM_BUS	0xa0000000
-#endif
-#define CONFIG_SYS_PCIE2_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE2_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE2_IO_SIZE	0x00010000	/* 64k */
-
-#define CONFIG_SYS_PCIE1_NAME		"mini PCIe SLOT"
-#ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_PCIE1_MEM_BUS	0x80000000
-#else
-#define CONFIG_SYS_PCIE1_MEM_BUS	0x80000000
-#endif
-#define CONFIG_SYS_PCIE1_MEM_SIZE	0x20000000	/* 512M */
-#define CONFIG_SYS_PCIE1_IO_BUS		0x00000000
-#define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW	/* show pci devices on startup */
 #endif /* CONFIG_PCI */
 
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#14 lore raw

PATCH 13/33 pci: acpi: Drop DM_PCI check from ahci

In reply to Simon Glass

We don't need these checks anymore since when PCI is enabled, driver model is always used.

Drop them.

---

 drivers/ata/ahci.c | 55 ----------------------------------------------
 include/ahci.h     |  4 ----
 2 files changed, 59 deletions(-)
drivers/ata/ahci.c +0 -55
index d4047c04f5d..2062197afcd 100644
@@ -170,13 +170,8 @@ int ahci_reset(void __iomem *base)
 static int ahci_host_init(struct ahci_uc_priv *uc_priv)
 {
 #if !defined(CONFIG_SCSI_AHCI_PLAT) && !defined(CONFIG_DM_SCSI)
-# ifdef CONFIG_DM_PCI
 	struct udevice *dev = uc_priv->dev;
 	struct pci_child_plat *pplat = dev_get_parent_plat(dev);
-# else
-	pci_dev_t pdev = uc_priv->dev;
-	unsigned short vendor;
-# endif
 	u16 tmp16;
 #endif
 	void __iomem *mmio = uc_priv->mmio_base;
@@ -200,23 +195,12 @@ static int ahci_host_init(struct ahci_uc_priv *uc_priv)
 	writel_with_flush(0xf, mmio + HOST_PORTS_IMPL);
 
 #if !defined(CONFIG_SCSI_AHCI_PLAT) && !defined(CONFIG_DM_SCSI)
-# ifdef CONFIG_DM_PCI
 	if (pplat->vendor == PCI_VENDOR_ID_INTEL) {
 		u16 tmp16;
 
 		dm_pci_read_config16(dev, 0x92, &tmp16);
 		dm_pci_write_config16(dev, 0x92, tmp16 | 0xf);
 	}
-# else
-	pci_read_config_word(pdev, PCI_VENDOR_ID, &vendor);
-
-	if (vendor == PCI_VENDOR_ID_INTEL) {
-		u16 tmp16;
-		pci_read_config_word(pdev, 0x92, &tmp16);
-		tmp16 |= 0xf;
-		pci_write_config_word(pdev, 0x92, tmp16);
-	}
-# endif
 #endif
 	uc_priv->cap = readl(mmio + HOST_CAP);
 	uc_priv->port_map = readl(mmio + HOST_PORTS_IMPL);
@@ -331,15 +315,9 @@ static int ahci_host_init(struct ahci_uc_priv *uc_priv)
 	debug("HOST_CTL 0x%x\n", tmp);
 #if !defined(CONFIG_DM_SCSI)
 #ifndef CONFIG_SCSI_AHCI_PLAT
-# ifdef CONFIG_DM_PCI
 	dm_pci_read_config16(dev, PCI_COMMAND, &tmp16);
 	tmp |= PCI_COMMAND_MASTER;
 	dm_pci_write_config16(dev, PCI_COMMAND, tmp16);
-# else
-	pci_read_config_word(pdev, PCI_COMMAND, &tmp16);
-	tmp |= PCI_COMMAND_MASTER;
-	pci_write_config_word(pdev, PCI_COMMAND, tmp16);
-# endif
 #endif
 #endif
 	return 0;
@@ -349,11 +327,7 @@ static int ahci_host_init(struct ahci_uc_priv *uc_priv)
 static void ahci_print_info(struct ahci_uc_priv *uc_priv)
 {
 #if !defined(CONFIG_SCSI_AHCI_PLAT) && !defined(CONFIG_DM_SCSI)
-# if defined(CONFIG_DM_PCI)
 	struct udevice *dev = uc_priv->dev;
-# else
-	pci_dev_t pdev = uc_priv->dev;
-# endif
 	u16 cc;
 #endif
 	void __iomem *mmio = uc_priv->mmio_base;
@@ -379,11 +353,7 @@ static void ahci_print_info(struct ahci_uc_priv *uc_priv)
 #if defined(CONFIG_SCSI_AHCI_PLAT) || defined(CONFIG_DM_SCSI)
 	scc_s = "SATA";
 #else
-# ifdef CONFIG_DM_PCI
 	dm_pci_read_config16(dev, 0x0a, &cc);
-# else
-	pci_read_config_word(pdev, 0x0a, &cc);
-# endif
 	if (cc == 0x0101)
 		scc_s = "IDE";
 	else if (cc == 0x0106)
@@ -428,11 +398,7 @@ static void ahci_print_info(struct ahci_uc_priv *uc_priv)
 }
 
 #if defined(CONFIG_DM_SCSI) || !defined(CONFIG_SCSI_AHCI_PLAT)
-# if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
 static int ahci_init_one(struct ahci_uc_priv *uc_priv, struct udevice *dev)
-# else
-static int ahci_init_one(struct ahci_uc_priv *uc_priv, pci_dev_t dev)
-# endif
 {
 #if !defined(CONFIG_DM_SCSI)
 	u16 vendor;
@@ -450,7 +416,6 @@ static int ahci_init_one(struct ahci_uc_priv *uc_priv, pci_dev_t dev)
 	uc_priv->udma_mask = 0x7f;	/*Fixme,assume to support UDMA6 */
 
 #if !defined(CONFIG_DM_SCSI)
-#ifdef CONFIG_DM_PCI
 	uc_priv->mmio_base = dm_pci_map_bar(dev, PCI_BASE_ADDRESS_5,
 					      PCI_REGION_MEM);
 
@@ -461,18 +426,6 @@ static int ahci_init_one(struct ahci_uc_priv *uc_priv, pci_dev_t dev)
 	dm_pci_read_config16(dev, PCI_VENDOR_ID, &vendor);
 	if (vendor == 0x197b)
 		dm_pci_write_config8(dev, 0x41, 0xa1);
-#else
-	uc_priv->mmio_base = pci_map_bar(dev, PCI_BASE_ADDRESS_5,
-					   PCI_REGION_MEM);
-
-	/* Take from kernel:
-	 * JMicron-specific fixup:
-	 * make sure we're in AHCI mode
-	 */
-	pci_read_config_word(dev, PCI_VENDOR_ID, &vendor);
-	if (vendor == 0x197b)
-		pci_write_config_byte(dev, 0x41, 0xa1);
-#endif
 #else
 	struct scsi_plat *plat = dev_get_uclass_plat(dev);
 	uc_priv->mmio_base = (void *)plat->base;
@@ -1006,7 +959,6 @@ void scsi_low_level_init(int busdevfunc)
 		return;
 	}
 	uc_priv = probe_ent;
-# if defined(CONFIG_DM_PCI)
 	struct udevice *dev;
 	int ret;
 
@@ -1014,9 +966,6 @@ void scsi_low_level_init(int busdevfunc)
 	if (ret)
 		return;
 	ahci_init_one(uc_priv, dev);
-# else
-	ahci_init_one(uc_priv, busdevfunc);
-# endif
 #else
 	uc_priv = probe_ent;
 #endif
@@ -1026,7 +975,6 @@ void scsi_low_level_init(int busdevfunc)
 #endif
 
 #ifndef CONFIG_SCSI_AHCI_PLAT
-# if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
 int ahci_init_one_dm(struct udevice *dev)
 {
 	struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev);
@@ -1034,7 +982,6 @@ int ahci_init_one_dm(struct udevice *dev)
 	return ahci_init_one(uc_priv, dev);
 }
 #endif
-#endif
 
 int ahci_start_ports_dm(struct udevice *dev)
 {
@@ -1196,7 +1143,6 @@ int ahci_probe_scsi(struct udevice *ahci_dev, ulong base)
 	return 0;
 }
 
-#ifdef CONFIG_DM_PCI
 int ahci_probe_scsi_pci(struct udevice *ahci_dev)
 {
 	ulong base;
@@ -1221,7 +1167,6 @@ int ahci_probe_scsi_pci(struct udevice *ahci_dev)
 						 PCI_REGION_MEM);
 	return ahci_probe_scsi(ahci_dev, base);
 }
-#endif
 
 struct scsi_ops scsi_ops = {
 	.exec		= ahci_scsi_exec,
include/ahci.h +0 -4
index fb96dd88611..d5453042d15 100644
@@ -148,16 +148,12 @@ struct ahci_ioports {
  * where dev is the controller (although at present it sometimes stands alone).
  */
 struct ahci_uc_priv {
-#if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
 	/*
 	 * TODO([email protected]): Drop this once this structure is only used
 	 * in a driver-model context (i.e. attached to a device with
 	 * dev_get_uclass_priv()
 	 */
 	struct udevice *dev;
-#else
-	pci_dev_t	dev;
-#endif
 	struct ahci_ioports	port[AHCI_MAX_PORTS];
 	u16 *ataid[AHCI_MAX_PORTS];
 	u32	n_ports;
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#15 lore raw

PATCH 14/33 pci: usb: Drop DM_PCI from ohci

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old condition and update the comment.

---

 drivers/usb/host/ohci-hcd.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
drivers/usb/host/ohci-hcd.c +5 -10
index c62d8feecce..7fa84f8bbe4 100644
@@ -52,13 +52,6 @@
 #include <asm/arch/hardware.h>	/* needed for AT91_USB_HOST_BASE */
 #endif
 
-#if defined(CONFIG_CPU_ARM920T) || \
-	defined(CONFIG_PCI_OHCI) || \
-	defined(CONFIG_DM_PCI) || \
-	defined(CONFIG_SYS_OHCI_USE_NPS)
-# define OHCI_USE_NPS		/* force NoPowerSwitching mode */
-#endif
-
 #undef OHCI_VERBOSE_DEBUG	/* not always helpful */
 #undef DEBUG
 #undef SHOW_INFO
@@ -1885,12 +1878,14 @@ static int hc_start(ohci_t *ohci)
 	mask = OHCI_INTR_RHSC | OHCI_INTR_UE | OHCI_INTR_WDH | OHCI_INTR_SO;
 	ohci_writel(mask, &ohci->regs->intrenable);
 
-#ifdef	OHCI_USE_NPS
-	/* required for AMD-756 and some Mac platforms */
+	/*
+	 * required for AMD-756 and some Mac platforms
+	 * Note: this is always enabled at present, since driver model is used
+	 * for PCI
+	 */
 	ohci_writel((roothub_a(ohci) | RH_A_NPS) & ~RH_A_PSM,
 		&ohci->regs->roothub.a);
 	ohci_writel(RH_HS_LPSC, &ohci->regs->roothub.status);
-#endif	/* OHCI_USE_NPS */
 
 	/* connect the virtual root hub */
 	ohci->rh.devnum = 0;
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#16 lore raw

PATCH 15/33 ppc: malta: Drop use of DM_PCI

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 board/imgtec/malta/malta.c | 67 --------------------------------------
 1 file changed, 67 deletions(-)
board/imgtec/malta/malta.c +0 -67
index 9af1f92e5db..d2e2e4ae209 100644
@@ -196,7 +196,6 @@ int board_fix_fdt(void *rw_fdt_blob)
 }
 #endif
 
-#if IS_ENABLED(CONFIG_DM_PCI)
 int board_early_init_r(void)
 {
 	struct udevice *dev;
@@ -243,69 +242,3 @@ int board_early_init_r(void)
 
 	return 0;
 }
-#else
-void pci_init_board(void)
-{
-	pci_dev_t bdf;
-	u32 val32;
-	u8 val8;
-
-	switch (malta_sys_con()) {
-	case SYSCON_GT64120:
-		gt64120_pci_init((void *)CKSEG1ADDR(MALTA_GT_BASE),
-				 0x00000000, 0x00000000, CONFIG_SYS_MEM_SIZE,
-				 0x10000000, 0x10000000, 128 * 1024 * 1024,
-				 0x00000000, 0x00000000, 0x20000);
-		break;
-
-	default:
-	case SYSCON_MSC01:
-		msc01_pci_init((void *)CKSEG1ADDR(MALTA_MSC01_PCI_BASE),
-			       0x00000000, 0x00000000, CONFIG_SYS_MEM_SIZE,
-			       MALTA_MSC01_PCIMEM_MAP,
-			       CKSEG1ADDR(MALTA_MSC01_PCIMEM_BASE),
-			       MALTA_MSC01_PCIMEM_SIZE, MALTA_MSC01_PCIIO_MAP,
-			       0x00000000, MALTA_MSC01_PCIIO_SIZE);
-		break;
-	}
-
-	bdf = pci_find_device(PCI_VENDOR_ID_INTEL,
-			      PCI_DEVICE_ID_INTEL_82371AB_0, 0);
-	if (bdf == -1)
-		panic("Failed to find PIIX4 PCI bridge\n");
-
-	/* setup PCI interrupt routing */
-	pci_write_config_byte(bdf, PCI_CFG_PIIX4_PIRQRCA, 10);
-	pci_write_config_byte(bdf, PCI_CFG_PIIX4_PIRQRCB, 10);
-	pci_write_config_byte(bdf, PCI_CFG_PIIX4_PIRQRCC, 11);
-	pci_write_config_byte(bdf, PCI_CFG_PIIX4_PIRQRCD, 11);
-
-	/* mux SERIRQ onto SERIRQ pin */
-	pci_read_config_dword(bdf, PCI_CFG_PIIX4_GENCFG, &val32);
-	val32 |= PCI_CFG_PIIX4_GENCFG_SERIRQ;
-	pci_write_config_dword(bdf, PCI_CFG_PIIX4_GENCFG, val32);
-
-	/* enable SERIRQ - Linux currently depends upon this */
-	pci_read_config_byte(bdf, PCI_CFG_PIIX4_SERIRQC, &val8);
-	val8 |= PCI_CFG_PIIX4_SERIRQC_EN | PCI_CFG_PIIX4_SERIRQC_CONT;
-	pci_write_config_byte(bdf, PCI_CFG_PIIX4_SERIRQC, val8);
-
-	bdf = pci_find_device(PCI_VENDOR_ID_INTEL,
-			      PCI_DEVICE_ID_INTEL_82371AB, 0);
-	if (bdf == -1)
-		panic("Failed to find PIIX4 IDE controller\n");
-
-	/* enable bus master & IO access */
-	val32 |= PCI_COMMAND_MASTER | PCI_COMMAND_IO;
-	pci_write_config_dword(bdf, PCI_COMMAND, val32);
-
-	/* set latency */
-	pci_write_config_byte(bdf, PCI_LATENCY_TIMER, 0x40);
-
-	/* enable IDE/ATA */
-	pci_write_config_dword(bdf, PCI_CFG_PIIX4_IDETIM_PRI,
-			       PCI_CFG_PIIX4_IDETIM_IDE);
-	pci_write_config_dword(bdf, PCI_CFG_PIIX4_IDETIM_SEC,
-			       PCI_CFG_PIIX4_IDETIM_IDE);
-}
-#endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
Reviewed-by on v1 15/33
#17 lore raw

Re: [PATCH 15/33] ppc: malta: Drop use of DM_PCI

Am Montag, den 26.07.2021, 07:34 -0600 schrieb Simon Glass:

Quoted 4 lines

Now that DM_PCI is always enabled we don't need to check it. Drop this
old code.

Quoted 8 lines

---

 board/imgtec/malta/malta.c | 67 ------------------------------------
--
 1 file changed, 67 deletions(-)

commit subject should be "mips: malta: ..." and not "ppc: malta: ..." ;)

Signature · 1 line
- Daniel
#18 lore raw

PATCH 16/33 ppc: socrates: Drop use of DM_PCI

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 board/socrates/socrates.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
board/socrates/socrates.c +1 -3
index 3444af6a8c7..3ba2fbbd560 100644
@@ -53,7 +53,7 @@ int checkboard (void)
 	}
 	putc('\n');
 
-#if defined(CONFIG_PCI) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_PCI)
 	/* Check the PCI_clk sel bit */
 	if (in_be32(&gur->porpllsr) & (1<<15)) {
 		src = "SYSCLK";
@@ -130,9 +130,7 @@ int misc_init_r (void)
 			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 	}
 
-#if defined(CONFIG_DM_PCI)
 	pci_init();
-#endif
 
 	return 0;
 }
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#19 lore raw

PATCH 17/33 pci: gt64120: Drop use of DM_PCI

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 drivers/pci/pci_gt64120.c | 64 ---------------------------------------
 1 file changed, 64 deletions(-)
drivers/pci/pci_gt64120.c +0 -64
index e57fedf036e..153c65b119a 100644
@@ -114,69 +114,6 @@ static int gt_config_access(struct gt64120_pci_controller *gt,
 	return 0;
 }
 
-#if !IS_ENABLED(CONFIG_DM_PCI)
-static int gt_read_config_dword(struct pci_controller *hose, pci_dev_t dev,
-				int where, u32 *value)
-{
-	struct gt64120_pci_controller *gt = hose_to_gt64120(hose);
-
-	*value = 0xffffffff;
-	return gt_config_access(gt, PCI_ACCESS_READ, dev, where, value);
-}
-
-static int gt_write_config_dword(struct pci_controller *hose, pci_dev_t dev,
-				 int where, u32 value)
-{
-	struct gt64120_pci_controller *gt = hose_to_gt64120(hose);
-	u32 data = value;
-
-	return gt_config_access(gt, PCI_ACCESS_WRITE, dev, where, &data);
-}
-
-void gt64120_pci_init(void *regs, unsigned long sys_bus, unsigned long sys_phys,
-		     unsigned long sys_size, unsigned long mem_bus,
-		     unsigned long mem_phys, unsigned long mem_size,
-		     unsigned long io_bus, unsigned long io_phys,
-		     unsigned long io_size)
-{
-	static struct gt64120_pci_controller global_gt;
-	struct gt64120_pci_controller *gt;
-	struct pci_controller *hose;
-
-	gt = &global_gt;
-	gt->regs = regs;
-
-	hose = &gt->hose;
-
-	hose->first_busno = 0;
-	hose->last_busno = 0;
-
-	/* System memory space */
-	pci_set_region(&hose->regions[0], sys_bus, sys_phys, sys_size,
-		       PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
-
-	/* PCI memory space */
-	pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size,
-		       PCI_REGION_MEM);
-
-	/* PCI I/O space */
-	pci_set_region(&hose->regions[2], io_bus, io_phys, io_size,
-		       PCI_REGION_IO);
-
-	hose->region_count = 3;
-
-	pci_set_ops(hose,
-		    pci_hose_read_config_byte_via_dword,
-		    pci_hose_read_config_word_via_dword,
-		    gt_read_config_dword,
-		    pci_hose_write_config_byte_via_dword,
-		    pci_hose_write_config_word_via_dword,
-		    gt_write_config_dword);
-
-	pci_register_hose(hose);
-	hose->last_busno = pci_hose_scan(hose);
-}
-#else
 static int gt64120_pci_read_config(const struct udevice *dev, pci_dev_t bdf,
 				   uint where, ulong *val,
 				   enum pci_size_t size)
@@ -246,4 +183,3 @@ U_BOOT_DRIVER(gt64120_pci) = {
 	.probe		= gt64120_pci_probe,
 	.priv_auto	= sizeof(struct gt64120_pci_controller),
 };
-#endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
Reviewed-by on v1 17/33
#20 lore raw

Re: [PATCH 17/33] pci: gt64120: Drop use of DM_PCI

Am Montag, den 26.07.2021, 07:34 -0600 schrieb Simon Glass:

Quoted 4 lines

Now that DM_PCI is always enabled we don't need to check it. Drop this
old code.

Quoted 8 lines

---

 drivers/pci/pci_gt64120.c | 64 -----------------------------------
----
 1 file changed, 64 deletions(-)
Signature · 1 line
- Daniel
#21 lore raw

PATCH 18/33 pci: msc01: Drop use of DM_PCI

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 drivers/pci/pci_msc01.c | 64 -----------------------------------------
 1 file changed, 64 deletions(-)
drivers/pci/pci_msc01.c +0 -64
index c17da475d01..2f1b688fc32 100644
@@ -62,69 +62,6 @@ static int msc01_config_access(struct msc01_pci_controller *msc01,
 	return 0;
 }
 
-#if !IS_ENABLED(CONFIG_DM_PCI)
-static int msc01_read_config_dword(struct pci_controller *hose, pci_dev_t dev,
-				   int where, u32 *value)
-{
-	struct msc01_pci_controller *msc01 = hose_to_msc01(hose);
-
-	*value = 0xffffffff;
-	return msc01_config_access(msc01, PCI_ACCESS_READ, dev, where, value);
-}
-
-static int msc01_write_config_dword(struct pci_controller *hose, pci_dev_t dev,
-				    int where, u32 value)
-{
-	struct msc01_pci_controller *gt = hose_to_msc01(hose);
-	u32 data = value;
-
-	return msc01_config_access(gt, PCI_ACCESS_WRITE, dev, where, &data);
-}
-
-void msc01_pci_init(void *base, unsigned long sys_bus, unsigned long sys_phys,
-		    unsigned long sys_size, unsigned long mem_bus,
-		    unsigned long mem_phys, unsigned long mem_size,
-		    unsigned long io_bus, unsigned long io_phys,
-		    unsigned long io_size)
-{
-	static struct msc01_pci_controller global_msc01;
-	struct msc01_pci_controller *msc01;
-	struct pci_controller *hose;
-
-	msc01 = &global_msc01;
-	msc01->base = base;
-
-	hose = &msc01->hose;
-
-	hose->first_busno = 0;
-	hose->last_busno = 0;
-
-	/* System memory space */
-	pci_set_region(&hose->regions[0], sys_bus, sys_phys, sys_size,
-		       PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
-
-	/* PCI memory space */
-	pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size,
-		       PCI_REGION_MEM);
-
-	/* PCI I/O space */
-	pci_set_region(&hose->regions[2], io_bus, io_phys, io_size,
-		       PCI_REGION_IO);
-
-	hose->region_count = 3;
-
-	pci_set_ops(hose,
-		    pci_hose_read_config_byte_via_dword,
-		    pci_hose_read_config_word_via_dword,
-		    msc01_read_config_dword,
-		    pci_hose_write_config_byte_via_dword,
-		    pci_hose_write_config_word_via_dword,
-		    msc01_write_config_dword);
-
-	pci_register_hose(hose);
-	hose->last_busno = pci_hose_scan(hose);
-}
-#else
 static int msc01_pci_read_config(const struct udevice *dev, pci_dev_t bdf,
 				 uint where, ulong *val, enum pci_size_t size)
 {
@@ -192,4 +129,3 @@ U_BOOT_DRIVER(msc01_pci) = {
 	.probe		= msc01_pci_probe,
 	.priv_auto	= sizeof(struct msc01_pci_controller),
 };
-#endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
Reviewed-by on v1 18/33
#22 lore raw

Re: [PATCH 18/33] pci: msc01: Drop use of DM_PCI

Am Montag, den 26.07.2021, 07:34 -0600 schrieb Simon Glass:

Quoted 4 lines

Now that DM_PCI is always enabled we don't need to check it. Drop this
old code.

Quoted 8 lines

---

 drivers/pci/pci_msc01.c | 64 -------------------------------------
----
 1 file changed, 64 deletions(-)
Signature · 1 line
- Daniel
#23 lore raw

PATCH 19/33 pci: imx: Drop use of DM_PCI

In reply to Simon Glass

Now that DM_PCI is always enabled we don't need to check it. Drop this old code.

---

 drivers/pci/pcie_imx.c | 81 ------------------------------------------
 1 file changed, 81 deletions(-)
drivers/pci/pcie_imx.c +0 -81
index 7b46fdb89a3..756166fd3ea 100644
@@ -681,86 +681,6 @@ static int imx_pcie_link_up(struct imx_pcie_priv *priv)
 	return 0;
 }
 
-#if !CONFIG_IS_ENABLED(DM_PCI)
-static struct imx_pcie_priv imx_pcie_priv = {
-	.dbi_base	= (void __iomem *)MX6_DBI_ADDR,
-	.cfg_base	= (void __iomem *)MX6_ROOT_ADDR,
-};
-
-static struct imx_pcie_priv *priv = &imx_pcie_priv;
-
-static int imx_pcie_read_config(struct pci_controller *hose, pci_dev_t d,
-				int where, u32 *val)
-{
-	struct imx_pcie_priv *priv = hose->priv_data;
-
-	return imx_pcie_read_cfg(priv, d, where, val);
-}
-
-static int imx_pcie_write_config(struct pci_controller *hose, pci_dev_t d,
-				 int where, u32 val)
-{
-	struct imx_pcie_priv *priv = hose->priv_data;
-
-	return imx_pcie_write_cfg(priv, d, where, val);
-}
-
-void imx_pcie_init(void)
-{
-	/* Static instance of the controller. */
-	static struct pci_controller	pcc;
-	struct pci_controller		*hose = &pcc;
-	int ret;
-
-	memset(&pcc, 0, sizeof(pcc));
-
-	hose->priv_data = priv;
-
-	/* PCI I/O space */
-	pci_set_region(&hose->regions[0],
-		       MX6_IO_ADDR, MX6_IO_ADDR,
-		       MX6_IO_SIZE, PCI_REGION_IO);
-
-	/* PCI memory space */
-	pci_set_region(&hose->regions[1],
-		       MX6_MEM_ADDR, MX6_MEM_ADDR,
-		       MX6_MEM_SIZE, PCI_REGION_MEM);
-
-	/* System memory space */
-	pci_set_region(&hose->regions[2],
-		       MMDC0_ARB_BASE_ADDR, MMDC0_ARB_BASE_ADDR,
-		       0xefffffff, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
-
-	hose->region_count = 3;
-
-	pci_set_ops(hose,
-		    pci_hose_read_config_byte_via_dword,
-		    pci_hose_read_config_word_via_dword,
-		    imx_pcie_read_config,
-		    pci_hose_write_config_byte_via_dword,
-		    pci_hose_write_config_word_via_dword,
-		    imx_pcie_write_config);
-
-	/* Start the controller. */
-	ret = imx_pcie_link_up(priv);
-
-	if (!ret) {
-		pci_register_hose(hose);
-		hose->last_busno = pci_hose_scan(hose);
-	}
-}
-
-void imx_pcie_remove(void)
-{
-	imx6_pcie_assert_core_reset(priv, true);
-}
-
-/* Probe function. */
-void pci_init_board(void)
-{
-	imx_pcie_init();
-}
-#else
 static int imx_pcie_dm_read_config(const struct udevice *dev, pci_dev_t bdf,
 				   uint offset, ulong *value,
 				   enum pci_size_t size)
@@ -852,4 +772,3 @@ U_BOOT_DRIVER(imx_pcie) = {
 	.priv_auto	= sizeof(struct imx_pcie_priv),
 	.flags			= DM_FLAG_OS_PREPARE,
 };
-#endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#24 lore raw

PATCH 20/33 pci: scsi: pci: Drop DM_PCI check from scsi

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Drop it.

---

 drivers/scsi/scsi.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/scsi/scsi.c +0 -6
index ce69750c7ff..d93d2419285 100644
@@ -284,7 +284,6 @@ void scsi_init(void)
 	 */
 	for (i = 0; i < ARRAY_SIZE(scsi_device_list); i++) {
 		/* get PCI Device ID */
-#ifdef CONFIG_DM_PCI
 		struct udevice *dev;
 		int ret;
 
@@ -294,11 +293,6 @@ void scsi_init(void)
 			busdevfunc = dm_pci_get_bdf(dev);
 			break;
 		}
-#else
-		busdevfunc = pci_find_device(scsi_device_list[i].vendor,
-					     scsi_device_list[i].device,
-					     0);
-#endif
 		if (busdevfunc != -1)
 			break;
 	}
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#25 lore raw

PATCH 21/33 pci: Drop DM_PCI check from bios_emul

In reply to Simon Glass

We don't need these checks anymore since when PCI is enabled, driver model is always used.

Drop them.

---

 drivers/bios_emulator/atibios.c | 98 ---------------------------------
 drivers/bios_emulator/bios.c    | 39 -------------
 include/bios_emul.h             | 16 ------
 3 files changed, 153 deletions(-)
drivers/bios_emulator/atibios.c +0 -98
index 6c7cc24cbd9..9547470a2f7 100644
@@ -230,19 +230,12 @@ This function executes the BIOS POST code on the controller. We assume that
 at this stage the controller has its I/O and memory space enabled and
 that all other controllers are in a disabled state.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 static void PCI_doBIOSPOST(struct udevice *pcidev, BE_VGAInfo *vga_info,
 			   int vesa_mode, struct vbe_mode_info *mode_info)
-#else
-static void PCI_doBIOSPOST(pci_dev_t pcidev, BE_VGAInfo *vga_info,
-			   int vesa_mode, struct vbe_mode_info *mode_info)
-#endif
 {
 	RMREGS regs;
 	RMSREGS sregs;
-#ifdef CONFIG_DM_PCI
 	pci_dev_t bdf;
-#endif
 
 	/* Determine the value to store in AX for BIOS POST. Per the PCI specs,
 	 AH must contain the bus and AL must contain the devfn, encoded as
@@ -250,14 +243,9 @@ static void PCI_doBIOSPOST(pci_dev_t pcidev, BE_VGAInfo *vga_info,
 	 */
 	memset(&regs, 0, sizeof(regs));
 	memset(&sregs, 0, sizeof(sregs));
-#ifdef CONFIG_DM_PCI
 	bdf = dm_pci_get_bdf(pcidev);
 	regs.x.ax = (int)PCI_BUS(bdf) << 8 |
 			(int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf);
-#else
-	regs.x.ax = ((int)PCI_BUS(pcidev) << 8) |
-	    ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev);
-#endif
 	/*Setup the X86 emulator for the VGA BIOS*/
 	BE_setVGA(vga_info);
 
@@ -300,28 +288,15 @@ NOTE: This function leaves the original memory aperture disabled by leaving
       it programmed to all 1's. It must be restored to the correct value
       later.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 static u32 PCI_findBIOSAddr(struct udevice *pcidev, int *bar)
-#else
-static u32 PCI_findBIOSAddr(pci_dev_t pcidev, int *bar)
-#endif
 {
 	u32 base, size;
 
 	for (*bar = 0x10; *bar <= 0x14; (*bar) += 4) {
-#ifdef CONFIG_DM_PCI
 		dm_pci_read_config32(pcidev, *bar, &base);
-#else
-		pci_read_config_dword(pcidev, *bar, &base);
-#endif
 		if (!(base & 0x1)) {
-#ifdef CONFIG_DM_PCI
 			dm_pci_write_config32(pcidev, *bar, 0xFFFFFFFF);
 			dm_pci_read_config32(pcidev, *bar, &size);
-#else
-			pci_write_config_dword(pcidev, *bar, 0xFFFFFFFF);
-			pci_read_config_dword(pcidev, *bar, &size);
-#endif
 			size = ~(size & ~0xFF) + 1;
 			if (size >= MAX_BIOSLEN)
 				return base & ~0xFF;
@@ -344,19 +319,11 @@ necessary).
 Anyway to fix this we change all I/O mapped base registers and
 chop off the top bits.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 static void PCI_fixupIObase(struct udevice *pcidev, int reg, u32 *base)
-#else
-static void PCI_fixupIObase(pci_dev_t pcidev, int reg, u32 * base)
-#endif
 {
 	if ((*base & 0x1) && (*base > 0xFFFE)) {
 		*base &= 0xFFFF;
-#ifdef CONFIG_DM_PCI
 		dm_pci_write_config32(pcidev, reg, *base);
-#else
-		pci_write_config_dword(pcidev, reg, *base);
-#endif
 
 	}
 }
@@ -371,30 +338,18 @@ Pointers to the mapped BIOS image
 REMARKS:
 Maps a pointer to the BIOS image on the graphics card on the PCI bus.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 void *PCI_mapBIOSImage(struct udevice *pcidev)
-#else
-void *PCI_mapBIOSImage(pci_dev_t pcidev)
-#endif
 {
 	u32 BIOSImageBus;
 	int BIOSImageBAR;
 	u8 *BIOSImage;
 
 	/*Save PCI BAR registers that might get changed*/
-#ifdef CONFIG_DM_PCI
 	dm_pci_read_config32(pcidev, PCI_ROM_ADDRESS, &saveROMBaseAddress);
 	dm_pci_read_config32(pcidev, PCI_BASE_ADDRESS_0, &saveBaseAddress10);
 	dm_pci_read_config32(pcidev, PCI_BASE_ADDRESS_1, &saveBaseAddress14);
 	dm_pci_read_config32(pcidev, PCI_BASE_ADDRESS_2, &saveBaseAddress18);
 	dm_pci_read_config32(pcidev, PCI_BASE_ADDRESS_4, &saveBaseAddress20);
-#else
-	pci_read_config_dword(pcidev, PCI_ROM_ADDRESS, &saveROMBaseAddress);
-	pci_read_config_dword(pcidev, PCI_BASE_ADDRESS_0, &saveBaseAddress10);
-	pci_read_config_dword(pcidev, PCI_BASE_ADDRESS_1, &saveBaseAddress14);
-	pci_read_config_dword(pcidev, PCI_BASE_ADDRESS_2, &saveBaseAddress18);
-	pci_read_config_dword(pcidev, PCI_BASE_ADDRESS_4, &saveBaseAddress20);
-#endif
 
 	/*Fix up I/O base registers to less than 64K */
 	if(saveBaseAddress14 != 0)
@@ -413,21 +368,12 @@ void *PCI_mapBIOSImage(pci_dev_t pcidev)
 		return NULL;
 	}
 
-#ifdef CONFIG_DM_PCI
 	BIOSImage = dm_pci_bus_to_virt(pcidev, BIOSImageBus,
 				       PCI_REGION_MEM, 0, MAP_NOCACHE);
 
 	/*Change the PCI BAR registers to map it onto the bus.*/
 	dm_pci_write_config32(pcidev, BIOSImageBAR, 0);
 	dm_pci_write_config32(pcidev, PCI_ROM_ADDRESS, BIOSImageBus | 0x1);
-#else
-	BIOSImage = pci_bus_to_virt(pcidev, BIOSImageBus,
-				    PCI_REGION_MEM, 0, MAP_NOCACHE);
-
-	/*Change the PCI BAR registers to map it onto the bus.*/
-	pci_write_config_dword(pcidev, BIOSImageBAR, 0);
-	pci_write_config_dword(pcidev, PCI_ROM_ADDRESS, BIOSImageBus | 0x1);
-#endif
 	udelay(1);
 
 	/*Check that the BIOS image is valid. If not fail, or return the
@@ -447,7 +393,6 @@ pcidev	- PCI device info for the video card on the bus
 REMARKS:
 Unmaps the BIOS image for the device and restores framebuffer mappings
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 void PCI_unmapBIOSImage(struct udevice *pcidev, void *BIOSImage)
 {
 	dm_pci_write_config32(pcidev, PCI_ROM_ADDRESS, saveROMBaseAddress);
@@ -456,16 +401,6 @@ void PCI_unmapBIOSImage(struct udevice *pcidev, void *BIOSImage)
 	dm_pci_write_config32(pcidev, PCI_BASE_ADDRESS_2, saveBaseAddress18);
 	dm_pci_write_config32(pcidev, PCI_BASE_ADDRESS_4, saveBaseAddress20);
 }
-#else
-void PCI_unmapBIOSImage(pci_dev_t pcidev, void *BIOSImage)
-{
-	pci_write_config_dword(pcidev, PCI_ROM_ADDRESS, saveROMBaseAddress);
-	pci_write_config_dword(pcidev, PCI_BASE_ADDRESS_0, saveBaseAddress10);
-	pci_write_config_dword(pcidev, PCI_BASE_ADDRESS_1, saveBaseAddress14);
-	pci_write_config_dword(pcidev, PCI_BASE_ADDRESS_2, saveBaseAddress18);
-	pci_write_config_dword(pcidev, PCI_BASE_ADDRESS_4, saveBaseAddress20);
-}
-#endif
 
 /****************************************************************************
 PARAMETERS:
@@ -479,22 +414,14 @@ REMARKS:
 Loads and POST's the display controllers BIOS, directly from the BIOS
 image we can extract over the PCI bus.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 static int PCI_postController(struct udevice *pcidev, uchar *bios_rom,
 			      int bios_len, BE_VGAInfo *vga_info,
 			      int vesa_mode, struct vbe_mode_info *mode_info)
-#else
-static int PCI_postController(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
-			      BE_VGAInfo *vga_info, int vesa_mode,
-			      struct vbe_mode_info *mode_info)
-#endif
 {
 	u32 bios_image_len;
 	uchar *mapped_bios;
 	uchar *copy_of_bios;
-#ifdef CONFIG_DM_PCI
 	pci_dev_t bdf;
-#endif
 
 	if (bios_rom) {
 		copy_of_bios = bios_rom;
@@ -522,16 +449,10 @@ static int PCI_postController(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
 	}
 
 	/*Save information in vga_info structure*/
-#ifdef CONFIG_DM_PCI
 	bdf = dm_pci_get_bdf(pcidev);
 	vga_info->function = PCI_FUNC(bdf);
 	vga_info->device = PCI_DEV(bdf);
 	vga_info->bus = PCI_BUS(bdf);
-#else
-	vga_info->function = PCI_FUNC(pcidev);
-	vga_info->device = PCI_DEV(pcidev);
-	vga_info->bus = PCI_BUS(pcidev);
-#endif
 	vga_info->pcidev = pcidev;
 	vga_info->BIOSImage = copy_of_bios;
 	vga_info->BIOSImageLen = bios_image_len;
@@ -549,22 +470,13 @@ static int PCI_postController(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
 	return true;
 }
 
-#ifdef CONFIG_DM_PCI
 int biosemu_setup(struct udevice *pcidev, BE_VGAInfo **vga_infop)
-#else
-int biosemu_setup(pci_dev_t pcidev, BE_VGAInfo **vga_infop)
-#endif
 {
 	BE_VGAInfo *VGAInfo;
-#ifdef CONFIG_DM_PCI
 	pci_dev_t bdf = dm_pci_get_bdf(pcidev);
 
 	printf("videoboot: Booting PCI video card bus %d, function %d, device %d\n",
 	       PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf));
-#else
-	printf("videoboot: Booting PCI video card bus %d, function %d, device %d\n",
-	       PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev));
-#endif
 	/*Initialise the x86 BIOS emulator*/
 	if ((VGAInfo = malloc(sizeof(*VGAInfo))) == NULL) {
 		printf("videoboot: Out of memory!\n");
@@ -582,15 +494,9 @@ void biosemu_set_interrupt_handler(int intnum, int (*int_func)(void))
 	X86EMU_setupIntrFunc(intnum, (X86EMU_intrFuncs)int_func);
 }
 
-#ifdef CONFIG_DM_PCI
 int biosemu_run(struct udevice *pcidev, uchar *bios_rom, int bios_len,
 		BE_VGAInfo *vga_info, int clean_up, int vesa_mode,
 		struct vbe_mode_info *mode_info)
-#else
-int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
-		BE_VGAInfo *vga_info, int clean_up, int vesa_mode,
-		struct vbe_mode_info *mode_info)
-#endif
 {
 	/*Post all the display controller BIOS'es*/
 	if (!PCI_postController(pcidev, bios_rom, bios_len, vga_info,
@@ -623,12 +529,8 @@ REMARKS:
 Boots the PCI/AGP video card on the bus using the Video ROM BIOS image
 and the X86 BIOS emulator module.
 ****************************************************************************/
-#ifdef CONFIG_DM_PCI
 int BootVideoCardBIOS(struct udevice *pcidev, BE_VGAInfo **pVGAInfo,
 		      int clean_up)
-#else
-int BootVideoCardBIOS(pci_dev_t pcidev, BE_VGAInfo **pVGAInfo, int clean_up)
-#endif
 {
 	BE_VGAInfo *VGAInfo;
 	int ret;
drivers/bios_emulator/bios.c +0 -39
index 77c7f94bc63..9596a1fdd3e 100644
@@ -185,21 +185,12 @@ static void X86API int1A(int unused)
 	case 0xB103:		/* Find PCI class code */
 		M.x86.R_AH = DEVICE_NOT_FOUND;
 #ifdef __KERNEL__
-#ifdef CONFIG_DM_PCI
 		dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
 				    &interface);
 		dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE,
 				    &subclass);
 		dm_pci_read_config8(_BE_env.vgaInfo.pcidev,
 				    PCI_CLASS_DEVICE + 1, &baseclass);
-#else
-		pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
-				     &interface);
-		pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE,
-				     &subclass);
-		pci_read_config_byte(_BE_env.vgaInfo.pcidev,
-				     PCI_CLASS_DEVICE + 1, &baseclass);
-#endif
 		if (M.x86.R_CL == interface && M.x86.R_CH == subclass
 		    && (u8) (M.x86.R_ECX >> 16) == baseclass) {
 #else
@@ -218,13 +209,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_read_config8(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
 					    &M.x86.R_CL);
-# else
-			pci_read_config_byte(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
-					     &M.x86.R_CL);
-# endif
 #else
 			M.x86.R_CL =
 			    (u8) PCI_accessReg(M.x86.R_DI, 0, PCI_READ_BYTE,
@@ -238,13 +224,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_read_config16(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
 					     &M.x86.R_CX);
-# else
-			pci_read_config_word(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
-					     &M.x86.R_CX);
-# endif
 #else
 			M.x86.R_CX =
 			    (u16) PCI_accessReg(M.x86.R_DI, 0, PCI_READ_WORD,
@@ -258,13 +239,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_read_config32(_BE_env.vgaInfo.pcidev,
 					     M.x86.R_DI, &M.x86.R_ECX);
-# else
-			pci_read_config_dword(_BE_env.vgaInfo.pcidev,
-					      M.x86.R_DI, &M.x86.R_ECX);
-# endif
 #else
 			M.x86.R_ECX =
 			    (u32) PCI_accessReg(M.x86.R_DI, 0, PCI_READ_DWORD,
@@ -278,13 +254,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_write_config8(_BE_env.vgaInfo.pcidev,
 					     M.x86.R_DI, M.x86.R_CL);
-# else
-			pci_write_config_byte(_BE_env.vgaInfo.pcidev,
-					      M.x86.R_DI, M.x86.R_CL);
-# endif
 #else
 			PCI_accessReg(M.x86.R_DI, M.x86.R_CL, PCI_WRITE_BYTE,
 				      _BE_env.vgaInfo.pciInfo);
@@ -297,13 +268,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_write_config32(_BE_env.vgaInfo.pcidev,
 					      M.x86.R_DI, M.x86.R_CX);
-# else
-			pci_write_config_word(_BE_env.vgaInfo.pcidev,
-					      M.x86.R_DI, M.x86.R_CX);
-# endif
 #else
 			PCI_accessReg(M.x86.R_DI, M.x86.R_CX, PCI_WRITE_WORD,
 				      _BE_env.vgaInfo.pciInfo);
@@ -316,13 +282,8 @@ static void X86API int1A(int unused)
 		if (M.x86.R_BX == pciSlot) {
 			M.x86.R_AH = SUCCESSFUL;
 #ifdef __KERNEL__
-# ifdef CONFIG_DM_PCI
 			dm_pci_write_config32(_BE_env.vgaInfo.pcidev,
 					      M.x86.R_DI, M.x86.R_ECX);
-# else
-			pci_write_config_dword(_BE_env.vgaInfo.pcidev,
-					       M.x86.R_DI, M.x86.R_ECX);
-# endif
 #else
 			PCI_accessReg(M.x86.R_DI, M.x86.R_ECX, PCI_WRITE_DWORD,
 				      _BE_env.vgaInfo.pciInfo);
include/bios_emul.h +0 -16
index 158e0f223d8..72410dc7948 100644
@@ -30,11 +30,7 @@ typedef struct {
 	int bus;
 	u32 VendorID;
 	u32 DeviceID;
-#ifdef CONFIG_DM_PCI
 	struct udevice *pcidev;
-#else
-	pci_dev_t pcidev;
-#endif
 	void *BIOSImage;
 	u32 BIOSImageLen;
 	u8 LowMem[1536];
@@ -42,12 +38,8 @@ typedef struct {
 
 struct vbe_mode_info;
 
-#ifdef CONFIG_DM_PCI
 int BootVideoCardBIOS(struct udevice *pcidev, BE_VGAInfo **pVGAInfo,
 		      int clean_up);
-#else
-int BootVideoCardBIOS(pci_dev_t pcidev, BE_VGAInfo **pVGAInfo, int clean_up);
-#endif
 
 /* Run a BIOS ROM natively (only supported on x86 machines) */
 void bios_run_on_x86(struct udevice *dev, unsigned long addr, int vesa_mode,
@@ -65,18 +57,10 @@ void bios_set_interrupt_handler(int intnum, int (*int_handler_func)(void));
 
 void biosemu_set_interrupt_handler(int intnum, int (*int_func)(void));
 
-#ifdef CONFIG_DM_PCI
 int biosemu_setup(struct udevice *pcidev, BE_VGAInfo **pVGAInfo);
 
 int biosemu_run(struct udevice *dev, uchar *bios_rom, int bios_len,
 		BE_VGAInfo *vga_info, int clean_up, int vesa_mode,
 		struct vbe_mode_info *mode_info);
-#else
-int biosemu_setup(pci_dev_t pcidev, BE_VGAInfo **pVGAInfo);
-
-int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
-		BE_VGAInfo *vga_info, int clean_up, int vesa_mode,
-		struct vbe_mode_info *mode_info);
-#endif
 
 #endif
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#26 lore raw

PATCH 22/33 net: Drop DM_PCI check from designware driver

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Drop it.

---

 drivers/net/designware.c | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)
drivers/net/designware.c +10 -12
index 5d92257e74d..5aaac603a0e 100644
@@ -756,16 +756,16 @@ int designware_eth_write_hwaddr(struct udevice *dev)
 
 static int designware_eth_bind(struct udevice *dev)
 {
-#ifdef CONFIG_DM_PCI
-	static int num_cards;
-	char name[20];
-
-	/* Create a unique device name for PCI type devices */
-	if (device_is_on_pci_bus(dev)) {
-		sprintf(name, "eth_designware#%u", num_cards++);
-		device_set_name(dev, name);
+	if (IS_ENABLED(CONFIG_PCI)) {
+		static int num_cards;
+		char name[20];
+
+		/* Create a unique device name for PCI type devices */
+		if (device_is_on_pci_bus(dev)) {
+			sprintf(name, "eth_designware#%u", num_cards++);
+			device_set_name(dev, name);
+		}
 	}
-#endif
 
 	return 0;
 }
@@ -831,12 +831,11 @@ int designware_eth_probe(struct udevice *dev)
 	else
 		reset_deassert_bulk(&reset_bulk);
 
-#ifdef CONFIG_DM_PCI
 	/*
 	 * If we are on PCI bus, either directly attached to a PCI root port,
 	 * or via a PCI bridge, fill in plat before we probe the hardware.
 	 */
-	if (device_is_on_pci_bus(dev)) {
+	if (IS_ENABLED(CONFIG_PCI) && device_is_on_pci_bus(dev)) {
 		dm_pci_read_config32(dev, PCI_BASE_ADDRESS_0, &iobase);
 		iobase &= PCI_BASE_ADDRESS_MEM_MASK;
 		iobase = dm_pci_mem_to_phys(dev, iobase);
@@ -844,7 +843,6 @@ int designware_eth_probe(struct udevice *dev)
 		pdata->iobase = iobase;
 		pdata->phy_interface = PHY_INTERFACE_MODE_RMII;
 	}
-#endif
 
 	debug("%s, iobase=%x, priv=%p\n", __func__, iobase, priv);
 	ioaddr = iobase;
Signature · 1 line
2.32.0.432.gabb21c7263-goog
Reviewed-by on v1 22/33
#27 lore raw

Re: [PATCH 22/33] net: Drop DM_PCI check from designware driver

Quoted 65 lines · Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Drop it.

---

 drivers/net/designware.c | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)
drivers/net/designware.c +10 -13
index 5d92257e74d..5aaac603a0e 100644
@@ -756,16 +756,16 @@ int designware_eth_write_hwaddr(struct udevice *dev)
 
 static int designware_eth_bind(struct udevice *dev)
 {
-#ifdef CONFIG_DM_PCI
-       static int num_cards;
-       char name[20];
-
-       /* Create a unique device name for PCI type devices */
-       if (device_is_on_pci_bus(dev)) {
-               sprintf(name, "eth_designware#%u", num_cards++);
-               device_set_name(dev, name);
+       if (IS_ENABLED(CONFIG_PCI)) {
+               static int num_cards;
+               char name[20];
+
+               /* Create a unique device name for PCI type devices */
+               if (device_is_on_pci_bus(dev)) {
+                       sprintf(name, "eth_designware#%u", num_cards++);
+                       device_set_name(dev, name);
+               }
        }
-#endif
 
        return 0;
 }
@@ -831,12 +831,11 @@ int designware_eth_probe(struct udevice *dev)
        else
                reset_deassert_bulk(&reset_bulk);
 
-#ifdef CONFIG_DM_PCI
        /*
         * If we are on PCI bus, either directly attached to a PCI root port,
         * or via a PCI bridge, fill in plat before we probe the hardware.
         */
-       if (device_is_on_pci_bus(dev)) {
+       if (IS_ENABLED(CONFIG_PCI) && device_is_on_pci_bus(dev)) {
                dm_pci_read_config32(dev, PCI_BASE_ADDRESS_0, &iobase);
                iobase &= PCI_BASE_ADDRESS_MEM_MASK;
                iobase = dm_pci_mem_to_phys(dev, iobase);
@@ -844,7 +843,6 @@ int designware_eth_probe(struct udevice *dev)
                pdata->iobase = iobase;
                pdata->phy_interface = PHY_INTERFACE_MODE_RMII;
        }
-#endif
 
        debug("%s, iobase=%x, priv=%p\n", __func__, iobase, priv);
        ioaddr = iobase;
--
Quoted 2 lines

2.32.0.432.gabb21c7263-goog

#28 lore raw

PATCH 23/33 pci: imx: Drop DM_PCI check from cpu driver

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Drop it.

---

 arch/arm/mach-imx/cpu.c | 4 ----
 include/pci.h           | 4 ----
 2 files changed, 8 deletions(-)
arch/arm/mach-imx/cpu.c +0 -4
index 423b7153522..8eb05c8dd67 100644
@@ -283,10 +283,6 @@ u32 get_ahb_clk(void)
 
 void arch_preboot_os(void)
 {
-#if defined(CONFIG_PCIE_IMX) && !CONFIG_IS_ENABLED(DM_PCI)
-	imx_pcie_remove();
-#endif
-
 #if defined(CONFIG_IMX_AHCI)
 	struct udevice *dev;
 	int rc;
include/pci.h +0 -4
index ca086420ff2..2c2930e7a74 100644
@@ -785,10 +785,6 @@ int pci_last_busno(void);
 extern void pci_mpc85xx_init (struct pci_controller *hose);
 #endif
 
-#ifdef CONFIG_PCIE_IMX
-extern void imx_pcie_remove(void);
-#endif
-
 /**
  * pci_write_bar32() - Write the address of a BAR including control bits
  *
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#29 lore raw

PATCH 24/33 pci: arm: mvebu: Drop DM_PCI check from

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

Use CONFIG_PCI instead.

---

 arch/arm/mach-mvebu/arm64-common.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-mvebu/arm64-common.c +2 -3
index fa687d8abbb..06c4994e065 100644
@@ -104,10 +104,9 @@ int arch_early_init_r(void)
 	/* Cause the SATA device to do its early init */
 	uclass_first_device(UCLASS_AHCI, &dev);
 
-#ifdef CONFIG_DM_PCI
 	/* Trigger PCIe devices detection */
-	pci_init();
-#endif
+	if (IS_ENABLED(PCI))
+		pci_init();
 
 	return 0;
 }
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#30 lore raw

PATCH 25/33 pci: sata_sil: Drop DM_PCI checks

In reply to Simon Glass

We don't need these checks anymore since when PCI is enabled, driver model is always used.

Drop them.

---

 drivers/ata/sata_sil.c | 8 --------
 drivers/ata/sata_sil.h | 4 ----
 2 files changed, 12 deletions(-)
drivers/ata/sata_sil.c +0 -8
index 7e4e97d803e..dda712f42cb 100644
@@ -27,11 +27,7 @@
 
 #include "sata_sil.h"
 
-#ifdef CONFIG_DM_PCI
 #define virt_to_bus(devno, v)	dm_pci_virt_to_mem(devno, (void *) (v))
-#else
-#define virt_to_bus(devno, v)	pci_virt_to_mem(devno, (void *) (v))
-#endif
 
 /* just compatible ahci_ops */
 struct sil_ops {
@@ -616,11 +612,7 @@ static int sil_init_sata(struct udevice *uc_dev, int dev)
 #else
 	priv->sil_sata_desc[dev] = sata;
 	priv->port_num = dev;
-#ifdef CONFIG_DM_PCI
 	sata->devno = uc_dev->parent;
-#else
-	sata->devno = sata_info.devno;
-#endif	/* CONFIG_DM_PCI */
 #endif
 	sata->id = dev;
 	sata->port = port;
drivers/ata/sata_sil.h +0 -4
index a300c0c3887..bea4322c919 100644
@@ -21,11 +21,7 @@ struct sil_sata {
 	u16		pio;
 	u16		mwdma;
 	u16		udma;
-#ifdef CONFIG_DM_PCI
 	struct udevice	*devno;
-#else
-	pci_dev_t	devno;
-#endif
 	int		wcache;
 	int		flush;
 	int		flush_ext;
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#31 lore raw

PATCH 26/33 distro_bootcmd: Drop DM_PCI check

In reply to Simon Glass

We don't need this check anymore since when PCI is enabled, driver model is always used.

---

 include/config_distro_bootcmd.h | 5 -----
 1 file changed, 5 deletions(-)
include/config_distro_bootcmd.h +0 -5
index e70423f25dd..9b9dd308e68 100644
@@ -265,14 +265,9 @@
 	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
 #endif
 
-#if defined(CONFIG_DM_PCI)
 #define BOOTENV_RUN_PCI_ENUM "run boot_pci_enum; "
 #define BOOTENV_SHARED_PCI \
 	"boot_pci_enum=pci enum\0"
-#else
-#define BOOTENV_RUN_PCI_ENUM
-#define BOOTENV_SHARED_PCI
-#endif
 
 #ifdef CONFIG_CMD_USB
 #define BOOTENV_RUN_NET_USB_START "run boot_net_usb_start; "
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#32 lore raw

PATCH 27/33 pci: Drop pci_init_board()

In reply to Simon Glass

With the conversion to driver model, this is not needed now. Drop it.

---

 board/cavium/thunderx/thunderx.c     |   7 --
 board/freescale/mpc8349emds/pci.c    |  73 ------------------
 board/freescale/mpc837xerdb/Makefile |   1 -
 board/freescale/mpc837xerdb/pci.c    | 109 ---------------------------
 board/xes/common/fsl_8xxx_pci.c      |  50 ------------
 include/init.h                       |   3 -
 6 files changed, 243 deletions(-)
 delete mode 100644 board/freescale/mpc837xerdb/pci.c
board/cavium/thunderx/thunderx.c +0 -7
index a7dc5c6aeb6..a8f8c785584 100644
@@ -123,10 +123,3 @@ int board_eth_init(struct bd_info *bis)
 
 	return rc;
 }
-
-#ifdef CONFIG_PCI
-void pci_init_board(void)
-{
-	printf("DEBUG: PCI Init TODO *****\n");
-}
-#endif
board/freescale/mpc8349emds/pci.c +0 -73

77 lines not on this page · raw message

board/freescale/mpc837xerdb/Makefile +0 -1
index c683b017b55..4661e4cf232 100644
@@ -4,4 +4,3 @@
 # Wolfgang Denk, DENX Software Engineering, [email protected].
 
 obj-y += mpc837xerdb.o
-obj-$(CONFIG_PCI) += pci.o
board/freescale/mpc837xerdb/pci.c deleted +0 -109

109 lines not on this page · raw message

board/xes/common/fsl_8xxx_pci.c +0 -50

56 lines not on this page · raw message

include/init.h +0 -3
index fd51d7f9667..c781789e367 100644
@@ -297,9 +297,6 @@ int board_late_init(void);
 int board_postclk_init(void); /* after clocks/timebase, before env/serial */
 int board_early_init_r(void);
 
-/* TODO([email protected]): Drop this when DM_PCI migration is completed */
-void pci_init_board(void);
-
 /**
  * arch_initr_trap() - Init traps
  *
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#33 lore raw

PATCH 28/33 pci: ppc: Drop ftpci100 driver

In reply to Simon Glass

This is not used in U-Boot at present. Drop it and related config options.

---

 arch/nds32/include/asm/arch-ag102/ag102.h |   2 -
 drivers/pci/Makefile                      |   1 -
 drivers/pci/pci_ftpci100.c                | 319 ----------------------
 scripts/config_whitelist.txt              |   4 -
 4 files changed, 326 deletions(-)
 delete mode 100644 drivers/pci/pci_ftpci100.c
arch/nds32/include/asm/arch-ag102/ag102.h +0 -2
index d1f4b02e10e..3255db6592e 100644
@@ -11,8 +11,6 @@
  * Hardware register bases
  */
 
-/* PCI Controller */
-#define CONFIG_FTPCI100_BASE		0x90000000
 /* LPC Controller */
 #define CONFIG_LPC_IO_BASE		0x90100000
 /* LPC Controller */
drivers/pci/Makefile +0 -1
index 83d7a4e403c..bdfdec98a08 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_PCI_GT64120) += pci_gt64120.o
 obj-$(CONFIG_PCI_MPC85XX) += pci_mpc85xx.o
 obj-$(CONFIG_PCI_MSC01) += pci_msc01.o
 obj-$(CONFIG_PCIE_IMX) += pcie_imx.o
-obj-$(CONFIG_FTPCI100) += pci_ftpci100.o
 obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o
 obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
 obj-$(CONFIG_PCI_RCAR_GEN3) += pci-rcar-gen3.o
drivers/pci/pci_ftpci100.c deleted +0 -319

319 lines not on this page · raw message

scripts/config_whitelist.txt +0 -4
index f947ecdb3eb..98a80680f6e 100644
@@ -505,10 +505,6 @@ CONFIG_FTINTC010_BASE
 CONFIG_FTLCDC100_BASE
 CONFIG_FTMAC100_BASE
 CONFIG_FTMAC110_BASE
-CONFIG_FTPCI100_BASE
-CONFIG_FTPCI100_IO_SIZE
-CONFIG_FTPCI100_MEM_BASE
-CONFIG_FTPCI100_MEM_SIZE
 CONFIG_FTPMU010
 CONFIG_FTPMU010_BASE
 CONFIG_FTPMU010_POWER
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#34 lore raw

PATCH 29/33 ppc: Drop idt8t49n222a_serdes_clk driver

In reply to Simon Glass

This is not used. Drop it.

---

 board/freescale/common/Makefile               |   1 -
 .../common/idt8t49n222a_serdes_clk.c          | 208 ------------------
 .../common/idt8t49n222a_serdes_clk.h          | 106 ---------
 3 files changed, 315 deletions(-)
 delete mode 100644 board/freescale/common/idt8t49n222a_serdes_clk.c
 delete mode 100644 board/freescale/common/idt8t49n222a_serdes_clk.h
board/freescale/common/Makefile +0 -1
index 116c1e71cc1..3a171688c3f 100644
@@ -63,7 +63,6 @@ obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
 obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
-obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
 obj-$(CONFIG_ZM7300)		+= zm7300.o
 obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
 obj-$(CONFIG_DM_PMIC_PFUZE100)	+= pfuze.o
board/freescale/common/idt8t49n222a_serdes_clk.c deleted +0 -208

208 lines not on this page · raw message

board/freescale/common/idt8t49n222a_serdes_clk.h deleted +0 -106

106 lines not on this page · raw message

Signature · 1 line
2.32.0.432.gabb21c7263-goog
#35 lore raw

PATCH 30/33 ppc: Drop t4qds and b4860qds references

In reply to Simon Glass

These boards have been removed. Drop the config file and other references.

---

 .azure-pipelines.yml             |   4 +-
 doc/board/freescale/b4860qds.rst | 453 -------------------------------
 doc/board/freescale/index.rst    |   1 -
 include/configs/t4qds.h          | 240 ----------------
 4 files changed, 2 insertions(+), 696 deletions(-)
 delete mode 100644 doc/board/freescale/b4860qds.rst
 delete mode 100644 include/configs/t4qds.h
.azure-pipelines.yml +2 -2
index e3a994e0c44..6c8eb55423f 100644
@@ -411,11 +411,11 @@ jobs:
         non_fsl_ppc:
           BUILDMAN: "powerpc -x freescale"
         mpc85xx_freescale:
-          BUILDMAN: "mpc85xx&freescale -x t208xrdb -x t4qds -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet_ds -x b4860qds -x bsc91*"
+          BUILDMAN: "mpc85xx&freescale -x t208xrdb -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet_ds -x bsc91*"
         t208xrdb_corenet_ds:
           BUILDMAN: "t208xrdb corenet_ds"
         fsl_ppc:
-          BUILDMAN: "t4qds b4860qds mpc83xx&freescale"
+          BUILDMAN: "mpc83xx&freescale"
         t102x:
           BUILDMAN: "t102*"
         p1_p2_rdb_pc:
doc/board/freescale/b4860qds.rst deleted +0 -453

453 lines not on this page · raw message

doc/board/freescale/index.rst +0 -1
index 313cf409a69..bddc6c6c2c7 100644
@@ -6,7 +6,6 @@ Freescale
 .. toctree::
    :maxdepth: 2
 
-   b4860qds
    imx8mm_evk
    imx8mn_evk
    imx8mp_evk
include/configs/t4qds.h deleted +0 -240

240 lines not on this page · raw message

Signature · 1 line
2.32.0.432.gabb21c7263-goog
#36 lore raw

PATCH 31/33 pci: Drop PCI_INDIRECT_BRIDGE

In reply to Simon Glass

This does not work with driver model so can be removed.

---

 README                              |  3 --
 drivers/pci/Makefile                |  1 -
 drivers/pci/pci_indirect.c          | 71 -----------------------------
 include/configs/MPC8349EMDS.h       |  4 --
 include/configs/MPC8349EMDS_SDRAM.h |  4 --
 include/configs/MPC837XERDB.h       |  2 -
 include/configs/MPC8540ADS.h        |  1 -
 include/configs/MPC8560ADS.h        |  1 -
 include/pci.h                       |  4 --
 scripts/config_whitelist.txt        |  1 -
 10 files changed, 92 deletions(-)
 delete mode 100644 drivers/pci/pci_indirect.c
README +0 -3
index 1472b40bc45..a84a094a854 100644
@@ -2773,9 +2773,6 @@ Low Level (hardware related) configuration options:
   CONFIG_SYS_OR3_PRELIM, CONFIG_SYS_BR3_PRELIM:
 		Memory Controller Definitions: BR2/3 and OR2/3 (SDRAM)
 
-- CONFIG_PCI_INDIRECT_BRIDGE:
-		Enable support for indirect PCI bridges.
-
 - CONFIG_SYS_SRIO:
 		Chip has SRIO or not
 
drivers/pci/Makefile +0 -1
index bdfdec98a08..4a131bf5ca4 100644
@@ -14,7 +14,6 @@ obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o
 obj-$(CONFIG_PCIE_ECAM_GENERIC) += pcie_ecam_generic.o
 obj-$(CONFIG_PCIE_ECAM_SYNQUACER) += pcie_ecam_synquacer.o
 obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o
-obj-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o
 obj-$(CONFIG_PCI_GT64120) += pci_gt64120.o
 obj-$(CONFIG_PCI_MPC85XX) += pci_mpc85xx.o
 obj-$(CONFIG_PCI_MSC01) += pci_msc01.o
drivers/pci/pci_indirect.c deleted +0 -71

71 lines not on this page · raw message

include/configs/MPC8349EMDS.h +0 -4
index 11959e509a5..42fb165001f 100644
@@ -303,10 +303,6 @@
 #define CONFIG_SYS_SICRH 0
 #define CONFIG_SYS_SICRL SICRL_LDP_A
 
-#ifdef CONFIG_PCI
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
-
 #if defined(CONFIG_CMD_KGDB)
 #define CONFIG_KGDB_BAUDRATE	230400	/* speed of kgdb serial port */
 #endif
include/configs/MPC8349EMDS_SDRAM.h +0 -4
index d424427e0c8..bab9a1ce159 100644
@@ -360,10 +360,6 @@
 #define CONFIG_SYS_SICRH 0
 #define CONFIG_SYS_SICRL SICRL_LDP_A
 
-#ifdef CONFIG_PCI
-#define CONFIG_PCI_INDIRECT_BRIDGE
-#endif
-
 #if defined(CONFIG_CMD_KGDB)
 #define CONFIG_KGDB_BAUDRATE	230400	/* speed of kgdb serial port */
 #endif
include/configs/MPC837XERDB.h +0 -2
index c37cdae07f8..a6b2ebe8c73 100644
@@ -255,8 +255,6 @@
 #define CONFIG_SYS_PCIE2_IO_SIZE	0x00800000
 
 #ifdef CONFIG_PCI
-#define CONFIG_PCI_INDIRECT_BRIDGE
-
 #undef CONFIG_PCI_SCAN_SHOW	/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
 
include/configs/MPC8540ADS.h +0 -1
index afe972ee105..3842851a120 100644
@@ -26,7 +26,6 @@
 #define CONFIG_HAS_FEC		1	/* 8540 has FEC */
 #endif
 
-#define CONFIG_PCI_INDIRECT_BRIDGE
 #define CONFIG_SYS_PCI_64BIT	1	/* enable 64-bit PCI resources */
 
 /*
include/configs/MPC8560ADS.h +0 -1
index d24b5b5eac3..26f95270d43 100644
@@ -27,7 +27,6 @@
  * assume U-Boot is less than 0.5MB
  */
 
-#define CONFIG_PCI_INDIRECT_BRIDGE
 #define CONFIG_SYS_PCI_64BIT	1	/* enable 64-bit PCI resources */
 #undef CONFIG_ETHER_ON_FCC             /* cpm FCC ethernet support */
 #define CONFIG_RESET_PHY_R	1	/* Call reset_phy() */
include/pci.h +0 -4
index 2c2930e7a74..0fc22adffd0 100644
@@ -656,10 +656,6 @@ struct pci_controller {
 	struct pci_region *pci_mem, *pci_io, *pci_prefetch;
 };
 
-#ifdef CONFIG_PCI_INDIRECT_BRIDGE
-extern void pci_setup_indirect(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data);
-#endif
-
 #if defined(CONFIG_DM_PCI_COMPAT)
 extern phys_addr_t pci_hose_bus_to_phys(struct pci_controller* hose,
 					pci_addr_t addr, unsigned long flags);
scripts/config_whitelist.txt +0 -1
index 98a80680f6e..c66b1194f4b 100644
@@ -1097,7 +1097,6 @@ CONFIG_PCI_EHCI_DEVICE
 CONFIG_PCI_EHCI_DEVNO
 CONFIG_PCI_FIXUP_DEV
 CONFIG_PCI_GT64120
-CONFIG_PCI_INDIRECT_BRIDGE
 CONFIG_PCI_IO_BUS
 CONFIG_PCI_IO_PHYS
 CONFIG_PCI_IO_SIZE
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#37 lore raw

PATCH 32/33 pci: Drop DM_PCI

In reply to Simon Glass

This option has not effect now. Drop it, using PCI instead where needed.

---

 arch/Kconfig                         |  1 -
 arch/arm/Kconfig                     |  2 +-
 arch/arm/mach-imx/mx6/Kconfig        |  2 +-
 arch/mips/Kconfig                    |  2 +-
 board/emulation/qemu-riscv/Kconfig   |  1 -
 board/socionext/developerbox/Kconfig |  1 -
 common/Kconfig                       |  1 -
 drivers/gpio/Kconfig                 |  2 +-
 drivers/i2c/Makefile                 |  2 +-
 drivers/net/Kconfig                  |  6 ++---
 drivers/net/mscc_eswitch/Kconfig     |  2 +-
 drivers/pci/Kconfig                  | 40 +++-------------------------
 drivers/spi/Kconfig                  |  2 +-
 drivers/virtio/Kconfig               |  2 +-
 test/dm/Makefile                     |  2 +-
 15 files changed, 14 insertions(+), 54 deletions(-)
arch/Kconfig +0 -1
index 49813a4c9b8..e5df36f9922 100644
@@ -182,7 +182,6 @@ config X86
 	select SUPPORT_TPL
 	select CREATE_ARCH_SYMLINK
 	select DM
-	select DM_PCI
 	select HAVE_ARCH_IOMAP
 	select HAVE_PRIVATE_LIBGCC
 	select OF_CONTROL
arch/arm/Kconfig +1 -1
index 9de97cc1015..b3123178f79 100644
@@ -1669,7 +1669,7 @@ config TARGET_SL28
 	select DM_SPI_FLASH
 	select DM_ETH
 	select DM_MDIO
-	select DM_PCI
+	select PCI
 	select DM_RNG
 	select DM_RTC
 	select DM_SCSI
arch/arm/mach-imx/mx6/Kconfig +1 -1
index a03eca81651..f5db7aeddaa 100644
@@ -237,7 +237,7 @@ config TARGET_KOSAGI_NOVENA
 	select DM_ETH
 	select DM_GPIO
 	select DM_MMC
-	select DM_PCI
+	select PCI
 	select DM_SCSI
 	select DM_VIDEO
 	select OF_CONTROL
arch/mips/Kconfig +1 -1
index 6b1f10d9a0e..a5cec387a04 100644
@@ -17,7 +17,7 @@ config TARGET_MALTA
 	select BOARD_EARLY_INIT_R
 	select DM
 	select DM_SERIAL
-	select DM_PCI
+	select PCI
 	select DM_ETH
 	select DYNAMIC_IO_PORT_BASE
 	select MIPS_CM
board/emulation/qemu-riscv/Kconfig +0 -1
index 0818048ba64..46b01c2049a 100644
@@ -51,7 +51,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	imply E1000
 	imply NVME
 	imply PCI
-	imply DM_PCI
 	imply PCIE_ECAM_GENERIC
 	imply SCSI
 	imply DM_SCSI
board/socionext/developerbox/Kconfig +0 -1
index 706b8dc0f1c..c181d26a44a 100644
@@ -7,7 +7,6 @@ choice
 config TARGET_DEVELOPERBOX
 	bool "Socionext DeveloperBox"
 	select PCI
-	select DM_PCI
 	select PCIE_ECAM_SYNQUACER
 	select SYS_DISABLE_DCACHE_OPS
 	select OF_BOARD_SETUP
common/Kconfig +0 -1
index 2ab20a6c85b..ee14d3ad5bf 100644
@@ -551,7 +551,6 @@ config MISC_INIT_R
 config PCI_INIT_R
 	bool "Enumerate PCI buses during init"
 	depends on PCI
-	default y if !DM_PCI
 	help
 	  With this option U-Boot will call pci_init() soon after relocation,
 	  which will enumerate PCI buses. This is needed, for instance, in the
drivers/gpio/Kconfig +1 -1
index 0817b12c5f7..ae373887174 100644
@@ -348,7 +348,7 @@ config PIC32_GPIO
 
 config OCTEON_GPIO
 	bool "Octeon II/III/TX/TX2 GPIO driver"
-	depends on DM_GPIO && DM_PCI &&	(ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
+	depends on DM_GPIO && PCI && (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
 	default y
 	help
 	  Add support for the Marvell Octeon GPIO driver. This is used with
drivers/i2c/Makefile +1 -1
index 06a1150f03d..7c644dcb25f 100644
@@ -18,7 +18,7 @@ obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o
 obj-$(CONFIG_SYS_I2C_CA) += i2c-cortina.o
 obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o
 obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o
-ifdef CONFIG_DM_PCI
+ifdef CONFIG_PCI
 obj-$(CONFIG_SYS_I2C_DW) += designware_i2c_pci.o
 endif
 obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o
drivers/net/Kconfig +2 -4
index 130db9fb391..4e9f31deaa4 100644
@@ -222,7 +222,6 @@ config DWC_ETH_QOS_TEGRA186
 
 config E1000
 	bool "Intel PRO/1000 Gigabit Ethernet support"
-	depends on (DM_ETH && DM_PCI) || !DM_ETH
 	help
 	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
 	  adapters.  For more information on how to identify your adapter, go
@@ -506,7 +505,7 @@ config OCTEONTX2_CGX_INTF
 
 config PCH_GBE
 	bool "Intel Platform Controller Hub EG20T GMAC driver"
-	depends on DM_ETH && DM_PCI
+	depends on DM_ETH
 	select PHYLIB
 	help
 	  This MAC is present in Intel Platform Controller Hub EG20T. It
@@ -606,7 +605,6 @@ source "drivers/net/ti/Kconfig"
 
 config TULIP
 	bool "DEC Tulip DC2114x Ethernet support"
-	depends on (DM_ETH && DM_PCI) || !DM_ETH
 	help
 	  This driver supports DEC DC2114x Fast ethernet chips.
 
@@ -782,7 +780,7 @@ config HIGMACV300_ETH
 
 config FSL_ENETC
 	bool "NXP ENETC Ethernet controller"
-	depends on DM_PCI && DM_ETH && DM_MDIO
+	depends on DM_ETH && DM_MDIO
 	help
 	  This driver supports the NXP ENETC Ethernet controller found on some
 	  of the NXP SoCs.
drivers/net/mscc_eswitch/Kconfig +1 -1
index ccf7822dbe7..930d2ef1130 100644
@@ -39,7 +39,7 @@ config MSCC_SERVAL_SWITCH
 
 config MSCC_FELIX_SWITCH
 	bool "Felix switch driver"
-	depends on DM_DSA && DM_PCI
+	depends on DM_DSA
 	select FSL_ENETC
 	help
 	  This driver supports the Ethernet switch integrated in the
drivers/pci/Kconfig +3 -37
index 2ef4d46797e..e4123ba820f 100644
@@ -2,35 +2,26 @@ menuconfig PCI
 	bool "PCI support"
 	depends on DM
 	default y if PPC
-	select DM_PCI
 	help
 	  Enable support for PCI (Peripheral Interconnect Bus), a type of bus
 	  used on some devices to allow the CPU to communicate with its
 	  peripherals.
 
-config DM_PCI
-	bool
-	help
-	  Use driver model for PCI. Driver model is the new method for
-	  orgnising devices in U-Boot. For PCI, driver model keeps track of
-	  available PCI devices, allows scanning of PCI buses and provides
-	  device configuration support.
+	  This subsystem requires driver model.
 
 if PCI
 
 config DM_PCI_COMPAT
 	bool "Enable compatible functions for PCI"
-	depends on DM_PCI
 	help
 	  Enable compatibility functions for PCI so that old code can be used
-	  with CONFIG_DM_PCI enabled. This should be used as an interim
+	  with CONFIG_PCI enabled. This should be used as an interim
 	  measure when porting a board to use driver model for PCI. Once the
 	  board is fully supported, this option should be disabled.
 
 config PCI_AARDVARK
 	bool "Enable Aardvark PCIe driver"
 	default n
-	depends on DM_PCI
 	depends on DM_GPIO
 	depends on ARMADA_3700
 	help
@@ -40,14 +31,12 @@ config PCI_AARDVARK
 
 config PCI_PNP
 	bool "Enable Plug & Play support for PCI"
-	depends on PCI || DM_PCI
 	default y
 	help
 	  Enable PCI memory and I/O space resource allocation and assignment.
 
 config PCI_REGION_MULTI_ENTRY
 	bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
-	depends on PCI || DM_PCI
 	default n
 	help
 	  Enable PCI memory regions to be of multiple entry. Multiple entry
@@ -57,7 +46,6 @@ config PCI_REGION_MULTI_ENTRY
 
 config PCI_MAP_SYSTEM_MEMORY
 	bool "Map local system memory from a virtual base address"
-	depends on PCI || DM_PCI
 	depends on MIPS
 	default n
 	help
@@ -70,7 +58,6 @@ config PCI_MAP_SYSTEM_MEMORY
 
 config PCI_SRIOV
 	bool "Enable Single Root I/O Virtualization support for PCI"
-	depends on PCI || DM_PCI
 	default n
 	help
 	  Say Y here if you want to enable PCI Single Root I/O Virtualization
@@ -80,7 +67,6 @@ config PCI_SRIOV
 
 config PCI_ARID
         bool "Enable Alternate Routing-ID support for PCI"
-        depends on PCI || DM_PCI
         default n
         help
           Say Y here if you want to enable Alternate Routing-ID capability
@@ -90,7 +76,6 @@ config PCI_ARID
 config PCIE_ECAM_GENERIC
 	bool "Generic ECAM-based PCI host controller support"
 	default n
-	depends on DM_PCI
 	help
 	  Say Y here if you want to enable support for generic ECAM-based
 	  PCIe host controllers, such as the one emulated by QEMU.
@@ -98,7 +83,6 @@ config PCIE_ECAM_GENERIC
 config PCIE_ECAM_SYNQUACER
 	bool "SynQuacer ECAM-based PCI host controller support"
 	default n
-	depends on DM_PCI
 	select PCI_INIT_R
 	select PCI_REGION_MULTI_ENTRY
 	help
@@ -109,14 +93,12 @@ config PCIE_ECAM_SYNQUACER
 
 config PCI_PHYTIUM
 	bool "Phytium PCIe support"
-	depends on DM_PCI
 	help
 	  Say Y here if you want to enable PCIe controller support on
 	  Phytium SoCs.
 
 config PCIE_DW_MVEBU
 	bool "Enable Armada-8K PCIe driver (DesignWare core)"
-	depends on DM_PCI
 	depends on ARMADA_8K
 	help
 	  Say Y here if you want to enable PCIe controller support on
@@ -135,7 +117,6 @@ config PCIE_DW_SIFIVE
 
 config PCIE_FSL
 	bool "FSL PowerPC PCIe support"
-	depends on DM_PCI
 	help
 	  Say Y here if you want to enable PCIe controller support on FSL
 	  PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
@@ -143,14 +124,12 @@ config PCIE_FSL
 
 config PCI_MPC85XX
 	bool "MPC85XX PowerPC PCI support"
-	depends on DM_PCI
 	help
 	  Say Y here if you want to enable PCI controller support on FSL
 	  PowerPC MPC85xx SoC.
 
 config PCI_RCAR_GEN2
 	bool "Renesas RCar Gen2 PCIe driver"
-	depends on DM_PCI
 	depends on RCAR_32
 	help
 	  Say Y here if you want to enable PCIe controller support on
@@ -159,7 +138,6 @@ config PCI_RCAR_GEN2
 
 config PCI_RCAR_GEN3
 	bool "Renesas RCar Gen3 PCIe driver"
-	depends on DM_PCI
 	depends on RCAR_GEN3
 	help
 	  Say Y here if you want to enable PCIe controller support on
@@ -167,7 +145,7 @@ config PCI_RCAR_GEN3
 
 config PCI_SANDBOX
 	bool "Sandbox PCI support"
-	depends on SANDBOX && DM_PCI
+	depends on SANDBOX
 	help
 	  Support PCI on sandbox, as an emulated bus. This permits testing of
 	  PCI feature such as bus scanning, device configuration and device
@@ -202,7 +180,6 @@ config PCIE_OCTEON
 
 config PCI_XILINX
 	bool "Xilinx AXI Bridge for PCI Express"
-	depends on DM_PCI
 	help
 	  Enable support for the Xilinx AXI bridge for PCI express, an IP block
 	  which can be used on some generations of Xilinx FPGAs.
@@ -213,7 +190,6 @@ config PCIE_LAYERSCAPE
 
 config PCIE_LAYERSCAPE_RC
 	bool "Layerscape PCIe Root Complex mode support"
-	depends on DM_PCI
 	select PCIE_LAYERSCAPE
 	help
 	  Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
@@ -235,7 +211,6 @@ config PCI_IOMMU_EXTRA_MAPPINGS
 
 config PCIE_LAYERSCAPE_EP
 	bool "Layerscape PCIe Endpoint mode support"
-	depends on DM_PCI
 	select PCIE_LAYERSCAPE
 	select PCI_ENDPOINT
 	help
@@ -246,7 +221,6 @@ config PCIE_LAYERSCAPE_EP
 
 config PCIE_LAYERSCAPE_GEN4
 	bool "Layerscape Gen4 PCIe support"
-	depends on DM_PCI
 	help
 	  Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
 	  several PCIe controllers. The PCIe controller can work in RC or
@@ -279,14 +253,12 @@ config FSL_PCIE_EP_COMPAT
 
 config PCIE_INTEL_FPGA
 	bool "Intel FPGA PCIe support"
-	depends on DM_PCI
 	help
 	  Say Y here if you want to enable PCIe controller support on Intel
 	  FPGA, example Stratix 10.
 
 config PCIE_IPROC
 	bool "Iproc PCIe support"
-	depends on DM_PCI
 	help
 	  Broadcom iProc PCIe controller driver.
 	  Say Y here if you want to enable Broadcom iProc PCIe controller,
@@ -294,7 +266,6 @@ config PCIE_IPROC
 config PCI_MVEBU
 	bool "Enable Armada XP/38x PCIe driver"
 	depends on ARCH_MVEBU
-	select DM_PCI
 	select MISC
 	help
 	  Say Y here if you want to enable PCIe controller support on
@@ -302,7 +273,6 @@ config PCI_MVEBU
 
 config PCIE_DW_COMMON
 	bool
-	select DM_PCI
 
 config PCI_KEYSTONE
 	bool "TI Keystone PCIe controller"
@@ -312,7 +282,6 @@ config PCI_KEYSTONE
 
 config PCIE_MEDIATEK
 	bool "MediaTek PCIe Gen2 controller"
-	depends on DM_PCI
 	depends on ARCH_MEDIATEK
 	help
 	  Say Y here if you want to enable Gen2 PCIe controller,
@@ -329,7 +298,6 @@ config PCIE_DW_MESON
 config PCIE_ROCKCHIP
 	bool "Enable Rockchip PCIe driver"
 	depends on ARCH_ROCKCHIP
-	select DM_PCI
 	select PHY_ROCKCHIP_PCIE
 	default y if ROCKCHIP_RK3399
 	help
@@ -347,7 +315,6 @@ config PCIE_DW_ROCKCHIP
 
 config PCI_BRCMSTB
 	bool "Broadcom STB PCIe controller"
-	depends on DM_PCI
 	depends on ARCH_BCM283X
 	help
 	  Say Y here if you want to enable support for PCIe controller
@@ -357,7 +324,6 @@ config PCI_BRCMSTB
 
 config PCIE_UNIPHIER
 	bool "Socionext UniPhier PCIe driver"
-	depends on DM_PCI
 	depends on ARCH_UNIPHIER
 	select PHY_UNIPHIER_PCIE
 	help
drivers/spi/Kconfig +1 -1
index 5c2a60a2142..db236591f64 100644
@@ -271,7 +271,7 @@ config NXP_FSPI
 
 config OCTEON_SPI
 	bool "Octeon SPI driver"
-	depends on DM_PCI && (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
+	depends on ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2
 	help
 	  Enable the Octeon SPI driver. This driver can be used to
 	  access the SPI NOR flash on Octeon II/III and OcteonTX/TX2
drivers/virtio/Kconfig +1 -1
index 18356070833..863c3fbe029 100644
@@ -31,7 +31,7 @@ config VIRTIO_MMIO
 
 config VIRTIO_PCI
 	bool "PCI driver for virtio devices"
-	depends on DM_PCI
+	depends on PCI
 	select VIRTIO
 	help
 	  This driver provides support for virtio based paravirtual device
test/dm/Makefile +1 -1
index d5c42e7643e..958d7df94a4 100644
@@ -64,7 +64,7 @@ obj-y += of_extra.o
 obj-$(CONFIG_OSD) += osd.o
 obj-$(CONFIG_DM_VIDEO) += panel.o
 obj-$(CONFIG_EFI_PARTITION) += part.o
-obj-$(CONFIG_DM_PCI) += pci.o
+obj-$(CONFIG_PCI) += pci.o
 obj-$(CONFIG_P2SB) += p2sb.o
 obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o
 obj-$(CONFIG_PCH) += pch.o
Signature · 1 line
2.32.0.432.gabb21c7263-goog
#38 lore raw

PATCH 33/33 pci: Drop migration method

In reply to Simon Glass

Migration is complete. Drop the message.

---

 doc/develop/driver-model/migration.rst | 9 ---------
 1 file changed, 9 deletions(-)
doc/develop/driver-model/migration.rst +0 -9
index 8d0bb7635b5..8bb8601c582 100644
@@ -75,15 +75,6 @@ Partially converted::
 * Status: In progress
 * Deadline: 2019.07
 
-CONFIG_DM_PCI
--------------
-Deadline: 2019.07
-
-The PCI subsystem has supported driver model since mid 2015. Maintainers should
-submit patches switching over to using CONFIG_DM_PCI and other base driver
-model options in time for inclusion in the 2019.07 release.
-
-
 CONFIG_DM_VIDEO
 ---------------
 Deadline: 2019.07
Signature · 1 line
2.32.0.432.gabb21c7263-goog