]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: ventana: enable dm support for PCI and FEC ethernet
authorTim Harvey <tharvey@gateworks.com>
Mon, 3 May 2021 18:21:27 +0000 (11:21 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:33:35 +0000 (13:33 +0200)
commitcd18f1e6e6144bd72110b07144e77f9e84b2e7c8
tree1209e3b70ca100406b2cddb06444da1b6b238ef2
parentd9a7f1a9131372e852407e4a5c6e812ce37456e4
imx: ventana: enable dm support for PCI and FEC ethernet

Enable driver model support for FEC ethernet which allows us to remove
the iomux and board_eth_init function. Replace the toggling of the ethernet
phy reset with dt configuration.

Enable driver model support for PCI which allows us to remove the
eth1000_initialize() call. Additionally enable PCI_INIT_R to scan for
PCI devices on init such as the e1000 that is present on the GW552x.

Convert board_pci_fixup to use dm callback and remove pcidisable env
variable which is not supported for DM_PCI and thus leave PCI always
enabled during init.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
17 files changed:
arch/arm/dts/imx6qdl-gw51xx.dtsi
arch/arm/dts/imx6qdl-gw52xx.dtsi
arch/arm/dts/imx6qdl-gw53xx.dtsi
arch/arm/dts/imx6qdl-gw54xx.dtsi
arch/arm/dts/imx6qdl-gw560x.dtsi
arch/arm/dts/imx6qdl-gw5903.dtsi
arch/arm/dts/imx6qdl-gw5904.dtsi
arch/arm/dts/imx6qdl-gw5907.dtsi
arch/arm/dts/imx6qdl-gw5910.dtsi
arch/arm/dts/imx6qdl-gw5912.dtsi
arch/arm/dts/imx6qdl-gw5913.dtsi
board/gateworks/gw_ventana/common.h
board/gateworks/gw_ventana/gw_ventana.c
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
include/configs/gw_ventana.h