Correct SPL uses of FEC_MXC
authorSimon Glass <sjg@chromium.org>
Mon, 6 Feb 2023 00:54:16 +0000 (17:54 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:41 +0000 (07:41 -0500)
This converts 4 usages of this option to the non-SPL form, since there is
no SPL_FEC_MXC 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
board/variscite/imx8mn_var_som/imx8mn_var_som.c

index f0096a2..500080c 100644 (file)
@@ -58,7 +58,7 @@ int board_phy_config(struct phy_device *phydev)
 
 int board_init(void)
 {
-       if (CONFIG_IS_ENABLED(FEC_MXC))
+       if (IS_ENABLED(CONFIG_FEC_MXC))
                setup_fec();
 
        if (IS_ENABLED(CONFIG_DWC_ETH_QOS))
index c769267..ce211d4 100644 (file)
@@ -55,7 +55,7 @@ int board_init(void)
 {
        int ret = 0;
 
-       if (CONFIG_IS_ENABLED(FEC_MXC)) {
+       if (IS_ENABLED(CONFIG_FEC_MXC)) {
                setup_fec();
        }
 
index e01b2f5..e73a498 100644 (file)
@@ -66,7 +66,7 @@ static int setup_eqos(void)
 
 int board_init(void)
 {
-       if (CONFIG_IS_ENABLED(FEC_MXC))
+       if (IS_ENABLED(CONFIG_FEC_MXC))
                setup_fec();
 
        if (IS_ENABLED(CONFIG_DWC_ETH_QOS))
index e274e0e..d40f4d0 100644 (file)
@@ -18,7 +18,7 @@ static void setup_fec(void)
 
 int board_init(void)
 {
-       if (CONFIG_IS_ENABLED(FEC_MXC))
+       if (IS_ENABLED(CONFIG_FEC_MXC))
                setup_fec();
 
        return 0;