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:
@@ -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))
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user