aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorSimon Glass2023-02-05 17:54:16 -0700
committerTom Rini2023-02-10 07:41:41 -0500
commit762592cb5c742ba081431e3e4d39af605c75a491 (patch)
tree1435045d7c2dbf434574a6224e670e63a9fd86a7 /board/freescale
parentc6228edf1f660d5ee2c7491449ba363350d696ae (diff)
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/freescale')
-rw-r--r--board/freescale/imx8mp_evk/imx8mp_evk.c2
-rw-r--r--board/freescale/imx93_evk/imx93_evk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c
index c7692677f9a..ce211d486ab 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 e01b2f59e3f..e73a498733b 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))