Skip to contentSkip to conversation

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

PATCH New Thomas Fitzsimmons 2 participants 5 messages Sep 11, 2020 – Sep 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: arm: bcmstb: Enable driver model for Ethernet drivers

Eliminate the Driver Model migration warning for the bcm7260 and bcm7445 ports (though neither port has Ethernet support yet).

---
 configs/bcm7260_defconfig | 1 +
 configs/bcm7445_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/bcm7260_defconfig +1 -0
index f25659db48..47157f04eb 100644
@@ -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
configs/bcm7445_defconfig +1 -0
index 18d31048ff..0f80e309ab 100644
@@ -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
Signature · 1 line
2.26.0.rc2
#1 lore raw

PATCH 1/1 dm: arm: bcmstb: Enable driver model for Ethernet drivers

Quoted 24 lines · Thomas Fitzsimmons

Eliminate the Driver Model migration warning for the bcm7260 and bcm7445 ports (though neither port has Ethernet support yet).

---
 configs/bcm7260_defconfig | 1 +
 configs/bcm7445_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/bcm7260_defconfig +1 -0
index f25659db48..47157f04eb 100644
@@ -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
configs/bcm7445_defconfig +0 -0
index 18d31048ff..0f80e309ab 100644

configs/bcm7445_defconfig CONFIG_MMC_SDHCI=y · line 39

Quoted 7 lines
configs/bcm7445_defconfig +1 -0
@@ -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!

Signature · 8 lines
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>
#2 lore raw

PATCH v2 1/1 configs: bcmstb: Disable networking support

Silence the "Driver Model for Ethernet drivers" migration warning for the bcm7445 and bcm7260 ports, neither of which supports networking yet.

---
 configs/bcm7260_defconfig | 1 +
 configs/bcm7445_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/bcm7260_defconfig +1 -0
index f25659db48..d1b05309e1 100644
@@ -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
configs/bcm7445_defconfig +1 -0
index 18d31048ff..1f9ab482a2 100644
@@ -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
Signature · 1 line
2.26.0.rc2
#3 lore raw

PATCH v2 1/1 configs: bcmstb: Disable networking support

Quoted 4 lines · Thomas Fitzsimmons

Silence the "Driver Model for Ethernet drivers" migration warning for the bcm7445 and bcm7260 ports, neither of which supports networking yet.

Thanks!

Signature · 8 lines
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>
#4 lore raw

PATCH v2 1/1 configs: bcmstb: Disable networking support

In reply to Thomas Fitzsimmons
Quoted 5 lines · Thomas Fitzsimmons

Silence the "Driver Model for Ethernet drivers" migration warning for the bcm7445 and bcm7260 ports, neither of which supports networking yet.

Applied to u-boot/master, thanks!

Signature · 8 lines
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>