summaryrefslogtreecommitdiff
path: root/common/miiphybb.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-20 17:54:33 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-10-20 17:54:33 +0200
commitba999c531ed16ec749b2b6f4b0133cee38842b91 (patch)
treebb53f8360ca631cd77830dc50fa19e99bec60c5c /common/miiphybb.c
parentf836e4146088a46d9cd18bbd2f36447ea63e039c (diff)
downloadu-boot-imx-ba999c531ed16ec749b2b6f4b0133cee38842b91.zip
u-boot-imx-ba999c531ed16ec749b2b6f4b0133cee38842b91.tar.gz
u-boot-imx-ba999c531ed16ec749b2b6f4b0133cee38842b91.tar.bz2
Cleanup compile warnings. Prepare for release 1.1.5
Diffstat (limited to 'common/miiphybb.c')
-rw-r--r--common/miiphybb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/miiphybb.c b/common/miiphybb.c
index adb697c..537c15d 100644
--- a/common/miiphybb.c
+++ b/common/miiphybb.c
@@ -41,7 +41,7 @@
static void miiphy_pre (char read, unsigned char addr, unsigned char reg)
{
int j; /* counter */
-#ifndef CONFIG_EP8248
+#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM))
volatile ioport_t *iop = ioport_addr ((immap_t *) CFG_IMMR, MDIO_PORT);
#endif
@@ -126,7 +126,7 @@ int bb_miiphy_read (char *devname, unsigned char addr,
{
short rdreg; /* register working value */
int j; /* counter */
-#ifndef CONFIG_EP8248
+#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM))
volatile ioport_t *iop = ioport_addr ((immap_t *) CFG_IMMR, MDIO_PORT);
#endif
@@ -193,7 +193,7 @@ int bb_miiphy_write (char *devname, unsigned char addr,
unsigned char reg, unsigned short value)
{
int j; /* counter */
-#ifndef CONFIG_EP8248
+#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM))
volatile ioport_t *iop = ioport_addr ((immap_t *) CFG_IMMR, MDIO_PORT);
#endif