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>
This commit is contained in:
Simon Glass 2023-02-05 17:54:16 -07:00 committed by Tom Rini
parent c6228edf1f
commit 762592cb5c
4 changed files with 4 additions and 4 deletions

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

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

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

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