summaryrefslogtreecommitdiff
path: root/board/polyhex
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2026-04-20 13:36:10 +0200
committerTom Rini <[email protected]>2026-04-27 11:26:40 -0600
commit95d66d2eb02a4677c63d04c84ca21750a04c49f1 (patch)
tree58ee6615053bc18d97ca85943b4fbad6a1ecc4bc /board/polyhex
parentbd275172a84bf32a3f392b852801dee08a94956a (diff)
simplify NET_LEGACY || NET_LWIP condition with NET condition
Since the move to make NET a menuconfig and NO_NET a synonym of NET=n, when NET is enabled, NET_LEGACY || NET_LWIP is necessarily true, so let's simplify the various checks across the codebase. SPL_NET_LWIP doesn't exist but SPL_NET_LEGACY is an alias for SPL_NET so the proper symbol is still defined in SPL whenever needed. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'board/polyhex')
-rw-r--r--board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c
index cff9383bad4..23d24140ca7 100644
--- a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c
+++ b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c
@@ -26,7 +26,7 @@ static void setup_fec(void)
setbits_le32(&gpr->gpr[1], BIT(22));
}
-#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)
+#if CONFIG_IS_ENABLED(NET)
int board_phy_config(struct phy_device *phydev)
{
if (phydev->drv->config)