Correct SPL uses of DWC_ETH_QOS

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>
This commit is contained in:
Simon Glass
2023-02-05 15:39:39 -07:00
committed by Tom Rini
parent 866ec874f5
commit 299cca0e72
3 changed files with 3 additions and 3 deletions

View 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;

View 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();
}

View 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;