diff mbox series

dm: arm: bcmstb: Enable driver model for Ethernet drivers

Message ID 20200911153106.187905-1-fitzsim@fitzsim.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series dm: arm: bcmstb: Enable driver model for Ethernet drivers | expand

Commit Message

Thomas Fitzsimmons Sept. 11, 2020, 3:31 p.m. UTC
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@fitzsim.org>
---
 configs/bcm7260_defconfig | 1 +
 configs/bcm7445_defconfig | 1 +
 2 files changed, 2 insertions(+)

Comments

Tom Rini Sept. 11, 2020, 5:59 p.m. UTC | #1
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@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!
diff mbox series

Patch

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