summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/fec.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-12 14:27:39 +0200
committerWolfgang Denk <wd@denx.de>2007-08-12 14:27:39 +0200
commitafaac86fe2948ac84cd9a12bbed883b3c683e7d9 (patch)
tree118aab58be50d1f42d983c0e93c21c8975962b3a /cpu/mpc512x/fec.c
parent308e2b3a6c3fd84fceada79b3d4a559280d326a6 (diff)
downloadu-boot-imx-afaac86fe2948ac84cd9a12bbed883b3c683e7d9.zip
u-boot-imx-afaac86fe2948ac84cd9a12bbed883b3c683e7d9.tar.gz
u-boot-imx-afaac86fe2948ac84cd9a12bbed883b3c683e7d9.tar.bz2
Clean up some remaining CFG_CMD_ -> CONFIG_CMD_ issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc512x/fec.c')
-rw-r--r--cpu/mpc512x/fec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc512x/fec.c b/cpu/mpc512x/fec.c
index 1c87a53..3c142a9 100644
--- a/cpu/mpc512x/fec.c
+++ b/cpu/mpc512x/fec.c
@@ -17,10 +17,10 @@ DECLARE_GLOBAL_DATA_PTR;
#define DEBUG 0
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
defined(CONFIG_MPC512x_FEC)
-#if !(defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII))
+#if !(defined(CONFIG_MII) || defined(CONFIG_CMD_MII))
#error "CONFIG_MII has to be defined!"
#endif
@@ -626,7 +626,7 @@ int mpc512x_fec_initialize (bd_t * bis)
sprintf (dev->name, "FEC ETHERNET");
eth_register (dev);
-#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
miiphy_register (dev->name,
fec512x_miiphy_read, fec512x_miiphy_write);
#endif