diff options
-rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 987605b78556..3de4dc9a1698 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c | |||
@@ -799,11 +799,12 @@ static __init void davinci_evm_init(void) | |||
799 | /* irlml6401 switches over 1A, in under 8 msec */ | 799 | /* irlml6401 switches over 1A, in under 8 msec */ |
800 | davinci_setup_usb(1000, 8); | 800 | davinci_setup_usb(1000, 8); |
801 | 801 | ||
802 | soc_info->emac_pdata->phy_id = DM644X_EVM_PHY_ID; | 802 | if (IS_BUILTIN(CONFIG_PHYLIB)) { |
803 | /* Register the fixup for PHY on DaVinci */ | 803 | soc_info->emac_pdata->phy_id = DM644X_EVM_PHY_ID; |
804 | phy_register_fixup_for_uid(LXT971_PHY_ID, LXT971_PHY_MASK, | 804 | /* Register the fixup for PHY on DaVinci */ |
805 | davinci_phy_fixup); | 805 | phy_register_fixup_for_uid(LXT971_PHY_ID, LXT971_PHY_MASK, |
806 | 806 | davinci_phy_fixup); | |
807 | } | ||
807 | } | 808 | } |
808 | 809 | ||
809 | MACHINE_START(DAVINCI_EVM, "DaVinci DM644x EVM") | 810 | MACHINE_START(DAVINCI_EVM, "DaVinci DM644x EVM") |