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 <fitz...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to