mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
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:
parent
c6228edf1f
commit
762592cb5c
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue