Correct SPL uses of DWC_ETH_QOS
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:39 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_DWC_ETH_QOS defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/engicam/imx8mp/icore_mx8mp.c
board/freescale/imx8mp_evk/imx8mp_evk.c
board/freescale/imx93_evk/imx93_evk.c

index b309a12..f0096a2 100644 (file)
@@ -61,7 +61,7 @@ int board_init(void)
        if (CONFIG_IS_ENABLED(FEC_MXC))
                setup_fec();
 
-       if (CONFIG_IS_ENABLED(DWC_ETH_QOS))
+       if (IS_ENABLED(CONFIG_DWC_ETH_QOS))
                setup_eqos();
 
        return 0;
index 8971a82..c769267 100644 (file)
@@ -59,7 +59,7 @@ int board_init(void)
                setup_fec();
        }
 
-       if (CONFIG_IS_ENABLED(DWC_ETH_QOS)) {
+       if (IS_ENABLED(CONFIG_DWC_ETH_QOS)) {
                ret = setup_eqos();
        }
 
index 182ae5f..e01b2f5 100644 (file)
@@ -69,7 +69,7 @@ int board_init(void)
        if (CONFIG_IS_ENABLED(FEC_MXC))
                setup_fec();
 
-       if (CONFIG_IS_ENABLED(DWC_ETH_QOS))
+       if (IS_ENABLED(CONFIG_DWC_ETH_QOS))
                setup_eqos();
 
        return 0;