[PATCH] net: Rework some symbol dependencies
Jerome Forissier
jerome.forissier at arm.com
Wed Mar 18 09:33:30 CET 2026
On 17/03/2026 02:24, Tom Rini wrote:
> As exposed by "make randconfig", we have a few dependency issues with
> some network drivers:
> - Both HIFEMAC_ETH and HIGMACV300_ETH functionally require both DM and
> OF_CONTROL. Further, HIFEMAC_ETH needs DM_CLK not just CLK to be
> selected.
> - BNXT_ETH deals with it's PCI requirement in a backwards way. The
> symbol PCI_INIT_R is board specific, PCI alone is required to build.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Jerome Forissier <jerome.forissier at arm.com>
> ---
> drivers/net/Kconfig | 3 +++
> drivers/net/bnxt/Kconfig | 2 +-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index cd07b117a5f0..02063ce3aa91 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -979,7 +979,9 @@ source "drivers/net/mtk_eth/Kconfig"
>
> config HIFEMAC_ETH
> bool "HiSilicon Fast Ethernet Controller"
> + depends on DM && OF_CONTROL
> select CLK
> + select DM_CLK
> select DM_RESET
> select PHYLIB
> help
> @@ -996,6 +998,7 @@ config HIFEMAC_MDIO
>
> config HIGMACV300_ETH
> bool "HiSilicon Gigabit Ethernet Controller"
> + depends on DM && OF_CONTROL
> select DM_RESET
> select PHYLIB
> help
> diff --git a/drivers/net/bnxt/Kconfig b/drivers/net/bnxt/Kconfig
> index 6ff3ffa137be..e25ed479678e 100644
> --- a/drivers/net/bnxt/Kconfig
> +++ b/drivers/net/bnxt/Kconfig
> @@ -1,6 +1,6 @@
> config BNXT_ETH
> bool "BNXT PCI support"
> - select PCI_INIT_R
> + depends on PCI
> help
> This driver implements support for bnxt pci controller
> driver of ethernet class.
Queued for net-next, thanks!
--
Jerome
More information about the U-Boot
mailing list