dm: arm: bcmstb: Enable driver model for Ethernet drivers
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
@@ -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
@@ -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
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).
Signed-off-by Thomas Fitzsimmons <[email protected]>--- configs/bcm7260_defconfig | 1 + configs/bcm7445_defconfig | 1 + 2 files changed, 2 insertions(+)configs/bcm7260_defconfig +1
-0@@ -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 setconfigs/bcm7445_defconfig +0
-0
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>
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
@@ -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
@@ -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
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.
Signed-off-by Thomas Fitzsimmons <[email protected]>
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>
PATCH v2 1/1 configs: bcmstb: Disable networking support
In reply to Thomas FitzsimmonsQuoted 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.
Signed-off-by Thomas Fitzsimmons <[email protected]>Reviewed-by Tom Rini <[email protected]>
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>