]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: fec_mxc: delete CONFIG_FEC_MXC_MULTI
authorTroy Kisky <troy.kisky@boundarydevices.com>
Mon, 22 Oct 2012 16:40:40 +0000 (16:40 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2013 05:57:50 +0000 (06:57 +0100)
It is more logical to test for CONFIG_FEC_MXC_PHYADDR
to determine whether to define the function fecmxc_initialize.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/net/fec_mxc.c
include/configs/m28evk.h
include/configs/mx28evk.h
include/configs/sc_sps_1.h

index 3e232c7cbc171362b5e2fa15b367f4cfc818530d..6596ceb3dc3cfec2e650a438c5fa77ffcaf97c8e 100644 (file)
@@ -1021,7 +1021,7 @@ err1:
        return ret;
 }
 
-#ifndef CONFIG_FEC_MXC_MULTI
+#ifdef CONFIG_FEC_MXC_PHYADDR
 int fecmxc_initialize(bd_t *bd)
 {
        int lout = 1;
index d34e970333073b9c0a0b6f0252d2d6c07ead1dc7..1b51fe2dc51cf9b3d1d23612b35315dd470cb365 100644 (file)
 #ifdef CONFIG_CMD_NET
 #define        CONFIG_ETHPRIME                 "FEC0"
 #define        CONFIG_FEC_MXC
-#define        CONFIG_FEC_MXC_MULTI
 #define        CONFIG_MII
 #define        CONFIG_FEC_XCV_TYPE             RMII
 #endif
index dd0ef2134b529441335f70422afc5476ad9d7e75..71447d910ea76aecf2ab27e2af62f7c06d288c70 100644 (file)
 #define CONFIG_NET_MULTI
 #define CONFIG_ETHPRIME        "FEC0"
 #define CONFIG_FEC_MXC
-#define CONFIG_FEC_MXC_MULTI
 #define CONFIG_MII
 #define CONFIG_FEC_XCV_TYPE    RMII
 #define CONFIG_MX28_FEC_MAC_IN_OCOTP
index cb99d58644da741f33180b3ef6cef00ae38d5697..21c76b52743a08d083375a42c520cd01a1c2517e 100644 (file)
 #ifdef CONFIG_CMD_NET
 #define CONFIG_ETHPRIME                        "FEC0"
 #define CONFIG_FEC_MXC
-#define CONFIG_FEC_MXC_MULTI
 #define CONFIG_MII
 #define CONFIG_DISCOVER_PHY
 #define CONFIG_FEC_XCV_TYPE            RMII