[U-Boot] [PATCH 14/25] dm: tegra: net: Convert tegra boards to driver model for Ethernet

Stephen Warren swarren at wwwdotorg.org
Wed Nov 18 22:35:27 CET 2015


On 11/16/2015 08:53 PM, Simon Glass wrote:
> Adjust all Tegra boards to use driver model for Ethernet, now that the
> required drivers are converted.

> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig

> @@ -14,6 +14,7 @@ config TEGRA_ARMV7_COMMON
>   	select DM_GPIO
>   	select DM_PCI
>   	select DM_PCI_COMPAT
> +	select DM_ETH

This should be set for Tegra210 too. I suggest creating a "config 
TEGRA_COMMON" to contain all the shared settings, and making 
TEGRA_ARMV7_COMMON and TEGRA_ARMV8_COMMON (also new) select that.

> diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c

> -#ifdef CONFIG_PCI
> -int board_eth_init(bd_t *bis)
> -{
> -	return pci_eth_init(bis);
> -}
> -#endif

Has the need to call this function already been removed by this point in 
the series. In other words, does each commit in this series compile and 
support using Ethernet? If not, anyone running "git bisect" is going to 
be very sad.


More information about the U-Boot mailing list