All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers
@ 2020-09-11 15:31 Thomas Fitzsimmons
  2020-09-11 17:59 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Fitzsimmons @ 2020-09-11 15:31 UTC (permalink / raw)
  To: u-boot

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
-- 
2.26.0.rc2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers
  2020-09-11 15:31 [PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers Thomas Fitzsimmons
@ 2020-09-11 17:59 ` Tom Rini
  2020-09-11 18:41   ` [PATCH v2] configs: bcmstb: Disable networking support Thomas Fitzsimmons
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2020-09-11 17:59 UTC (permalink / raw)
  To: u-boot

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!

-- 
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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] configs: bcmstb: Disable networking support
  2020-09-11 17:59 ` Tom Rini
@ 2020-09-11 18:41   ` Thomas Fitzsimmons
  2020-09-11 19:55     ` Tom Rini
  2020-09-19 12:34     ` Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Fitzsimmons @ 2020-09-11 18:41 UTC (permalink / raw)
  To: u-boot

Silence the "Driver Model for Ethernet drivers" migration warning for
the bcm7445 and bcm7260 ports, neither of which supports networking 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..d1b05309e1 100644
--- a/configs/bcm7260_defconfig
+++ b/configs/bcm7260_defconfig
@@ -27,6 +27,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+# CONFIG_NET is not set
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_BCMSTB=y
diff --git a/configs/bcm7445_defconfig b/configs/bcm7445_defconfig
index 18d31048ff..1f9ab482a2 100644
--- a/configs/bcm7445_defconfig
+++ b/configs/bcm7445_defconfig
@@ -28,6 +28,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+# CONFIG_NET is not set
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_BCMSTB=y
-- 
2.26.0.rc2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2] configs: bcmstb: Disable networking support
  2020-09-11 18:41   ` [PATCH v2] configs: bcmstb: Disable networking support Thomas Fitzsimmons
@ 2020-09-11 19:55     ` Tom Rini
  2020-09-19 12:34     ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2020-09-11 19:55 UTC (permalink / raw)
  To: u-boot

On Fri, Sep 11, 2020 at 02:41:44PM -0400, Thomas Fitzsimmons wrote:

> Silence the "Driver Model for Ethernet drivers" migration warning for
> the bcm7445 and bcm7260 ports, neither of which supports networking yet.
> 
> Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>

Thanks!

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
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/df531a54/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] configs: bcmstb: Disable networking support
  2020-09-11 18:41   ` [PATCH v2] configs: bcmstb: Disable networking support Thomas Fitzsimmons
  2020-09-11 19:55     ` Tom Rini
@ 2020-09-19 12:34     ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2020-09-19 12:34 UTC (permalink / raw)
  To: u-boot

On Fri, Sep 11, 2020 at 02:41:44PM -0400, Thomas Fitzsimmons wrote:

> Silence the "Driver Model for Ethernet drivers" migration warning for
> the bcm7445 and bcm7260 ports, neither of which supports networking yet.
> 
> Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, 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/20200919/7ef113d6/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-19 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 15:31 [PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers Thomas Fitzsimmons
2020-09-11 17:59 ` Tom Rini
2020-09-11 18:41   ` [PATCH v2] configs: bcmstb: Disable networking support Thomas Fitzsimmons
2020-09-11 19:55     ` Tom Rini
2020-09-19 12:34     ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.