[PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers
Tom Rini
trini at konsulko.com
Fri Sep 11 19:59:29 CEST 2020
On Fri, Sep 11, 2020 at 11:31:06AM -0400, Thomas Fitzsimmons wrote:
> Eliminate the Driver Model migration warning for the bcm7260 and bcm7445
> ports (though neither port has Ethernet support yet).
>
> Signed-off-by: Thomas Fitzsimmons <fitzsim at fitzsim.org>
> ---
> configs/bcm7260_defconfig | 1 +
> configs/bcm7445_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/configs/bcm7260_defconfig b/configs/bcm7260_defconfig
> index f25659db48..47157f04eb 100644
> --- a/configs/bcm7260_defconfig
> +++ b/configs/bcm7260_defconfig
> @@ -31,4 +31,5 @@ CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCMSTB=y
> CONFIG_MTD=y
> +CONFIG_DM_ETH=y
> # CONFIG_EFI_LOADER is not set
> diff --git a/configs/bcm7445_defconfig b/configs/bcm7445_defconfig
> index 18d31048ff..0f80e309ab 100644
> --- a/configs/bcm7445_defconfig
> +++ b/configs/bcm7445_defconfig
> @@ -33,6 +33,7 @@ CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCMSTB=y
> CONFIG_MTD=y
> CONFIG_DM_SPI_FLASH=y
> +CONFIG_DM_ETH=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
> CONFIG_BCMSTB_SPI=y
If we're just silencing the warning, I'd rather see CONFIG_NET disabled.
Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200911/5d0347bc/attachment.sig>
More information about the U-Boot
mailing list