aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 17:54:16 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:41 -0500
commit762592cb5c742ba081431e3e4d39af605c75a491 (patch)
tree1435045d7c2dbf434574a6224e670e63a9fd86a7 /board/freescale
parentc6228edf1f660d5ee2c7491449ba363350d696ae (diff)
downloadu-boot-762592cb5c742ba081431e3e4d39af605c75a491.zip
u-boot-762592cb5c742ba081431e3e4d39af605c75a491.tar.gz
u-boot-762592cb5c742ba081431e3e4d39af605c75a491.tar.bz2
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 c769267..ce211d4 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 e01b2f5..e73a4987 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))