diff options
author | Stefan Roese <sr@denx.de> | 2007-08-14 18:36:29 +0400 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-08-14 18:36:29 +0400 |
commit | 3b3bff4cbf2cb14f9a3e7d03f26ebab900efe4ae (patch) | |
tree | fb66bf8861d9f78765160d734a438856f5317cdb /board/evb64260/eth.c | |
parent | 4ce846ec59f36b85d6644a769690ad3feb667575 (diff) | |
parent | 4ef35e53c693556c54b0c22d6f873de87bade253 (diff) | |
download | u-boot-3b3bff4cbf2cb14f9a3e7d03f26ebab900efe4ae.tar.xz |
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'board/evb64260/eth.c')
-rw-r--r-- | board/evb64260/eth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/evb64260/eth.c b/board/evb64260/eth.c index eafa48bc6e..add2b3df53 100644 --- a/board/evb64260/eth.c +++ b/board/evb64260/eth.c @@ -31,7 +31,7 @@ Skeleton NIC driver for Etherboot #include "eth.h" #include "eth_addrtbl.h" -#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) +#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) #define GT6426x_ETH_BUF_SIZE 1536 @@ -797,11 +797,11 @@ gt6426x_eth_initialize(bd_t *bis) eth_register(dev); -#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) +#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) miiphy_register(dev->name, gt6426x_miiphy_read, gt6426x_miiphy_write); #endif } } -#endif /* CFG_CMD_NET && CONFIG_NET_MULTI */ +#endif |