summaryrefslogtreecommitdiff
path: root/common/miiphyutil.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-29 21:53:56 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-29 21:53:56 +0200
commitba7b5b2348b684cf8ec424b2e38e267dc1cfd2fb (patch)
tree51b9b7d75872533eda4d1451671f6f6507941492 /common/miiphyutil.c
parent81789c39db3f0f6b621df8c0ec66014d701f368e (diff)
downloadu-boot-imx-ba7b5b2348b684cf8ec424b2e38e267dc1cfd2fb.zip
u-boot-imx-ba7b5b2348b684cf8ec424b2e38e267dc1cfd2fb.tar.gz
u-boot-imx-ba7b5b2348b684cf8ec424b2e38e267dc1cfd2fb.tar.bz2
miiphyutil: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/miiphyutil.c')
-rw-r--r--common/miiphyutil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c
index eac8275..5ef4a33 100644
--- a/common/miiphyutil.c
+++ b/common/miiphyutil.c
@@ -29,7 +29,6 @@
#include <common.h>
#include <miiphy.h>
-#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
#include <asm/types.h>
#include <linux/list.h>
#include <malloc.h>
@@ -487,4 +486,3 @@ int miiphy_link (char *devname, unsigned char addr)
}
}
#endif
-#endif /* CONFIG_MII */