summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-10-22 16:40:40 +0000
committerStefano Babic <sbabic@denx.de>2013-01-28 06:57:50 +0100
commit09439c3197bb19e091ce160b398451517a8fe1b0 (patch)
treeef51af7c54feb1eaddd86316aa3747b634059fc3 /drivers/net
parentc30eab2ddd5d2238e06ea2acde91620019ea7f85 (diff)
downloadu-boot-imx-09439c3197bb19e091ce160b398451517a8fe1b0.zip
u-boot-imx-09439c3197bb19e091ce160b398451517a8fe1b0.tar.gz
u-boot-imx-09439c3197bb19e091ce160b398451517a8fe1b0.tar.bz2
net: fec_mxc: delete CONFIG_FEC_MXC_MULTI
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/fec_mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 3e232c7..6596ceb 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -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;