net: fec_mxc: move CONFIG_FEC_MXC_PHYADDR from Kconfig to include/configs/*.h
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 12 Oct 2015 08:21:52 +0000 (10:21 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 12 Oct 2015 08:21:52 +0000 (10:21 +0200)
drivers/net/Kconfig
include/configs/tx28.h

index a76d9b3..77f6836 100644 (file)
@@ -90,15 +90,6 @@ config GET_FEC_MAC_ADDR_FROM_IIM
        bool "Read FEC MAC address from fuses"
        depends on FEC_MXC
 
        bool "Read FEC MAC address from fuses"
        depends on FEC_MXC
 
-if FEC_MXC
-
-config FEC_MXC_PHYADDR
-       int "FEC Ethernet PHY address"
-               default 0
-       depends on !FEC_MXC_MULTI
-
-endif
-
 source "drivers/net/phy/Kconfig"
 
 endif # NETDEVICES
 source "drivers/net/phy/Kconfig"
 
 endif # NETDEVICES
index de5adbd..f7877df 100644 (file)
 #define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
 #define CONFIG_SYS_CACHELINE_SIZE      32
 
 #define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
 #define CONFIG_SYS_CACHELINE_SIZE      32
 
-#ifdef CONFIG_FEC_MXC_PHYADDR
+#ifdef CONFIG_TX28_S
+#define CONFIG_FEC_MXC_PHYADDR         0
 #define IMX_FEC_BASE                   MXS_ENET0_BASE
 #endif
 
 #define IMX_FEC_BASE                   MXS_ENET0_BASE
 #endif