diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 17:54:16 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 07:41:41 -0500 |
commit | 762592cb5c742ba081431e3e4d39af605c75a491 (patch) | |
tree | 1435045d7c2dbf434574a6224e670e63a9fd86a7 /board | |
parent | c6228edf1f660d5ee2c7491449ba363350d696ae (diff) | |
download | u-boot-762592cb5c742ba081431e3e4d39af605c75a491.tar.gz u-boot-762592cb5c742ba081431e3e4d39af605c75a491.tar.bz2 u-boot-762592cb5c742ba081431e3e4d39af605c75a491.zip |
Correct SPL uses of FEC_MXC
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/engicam/imx8mp/icore_mx8mp.c | 2 | ||||
-rw-r--r-- | board/freescale/imx8mp_evk/imx8mp_evk.c | 2 | ||||
-rw-r--r-- | board/freescale/imx93_evk/imx93_evk.c | 2 | ||||
-rw-r--r-- | board/variscite/imx8mn_var_som/imx8mn_var_som.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/board/engicam/imx8mp/icore_mx8mp.c b/board/engicam/imx8mp/icore_mx8mp.c index f0096a2a87..500080c7cf 100644 --- a/board/engicam/imx8mp/icore_mx8mp.c +++ b/board/engicam/imx8mp/icore_mx8mp.c @@ -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)) diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c index c7692677f9..ce211d486a 100644 --- a/board/freescale/imx8mp_evk/imx8mp_evk.c +++ b/board/freescale/imx8mp_evk/imx8mp_evk.c @@ -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(); } diff --git a/board/freescale/imx93_evk/imx93_evk.c b/board/freescale/imx93_evk/imx93_evk.c index e01b2f59e3..e73a498733 100644 --- a/board/freescale/imx93_evk/imx93_evk.c +++ b/board/freescale/imx93_evk/imx93_evk.c @@ -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)) diff --git a/board/variscite/imx8mn_var_som/imx8mn_var_som.c b/board/variscite/imx8mn_var_som/imx8mn_var_som.c index e274e0e0a4..d40f4d0176 100644 --- a/board/variscite/imx8mn_var_som/imx8mn_var_som.c +++ b/board/variscite/imx8mn_var_som/imx8mn_var_som.c @@ -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; |