summaryrefslogtreecommitdiff
path: root/include/configs/SBC8540.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-12-31 09:32:47 +0000
committerwdenk <wdenk>2004-12-31 09:32:47 +0000
commite2ffd59b4d93c9149de1caaa087371b0cfc512c9 (patch)
tree86cfb6e30bec1686253b0542d76f57c5d62d183a /include/configs/SBC8540.h
parent400ab719c6025c176c50bcdff342384222d7424b (diff)
* Code cleanup, mostly for GCC-3.3.x
* Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for additional ethernet addresses. * Cleanup drivers/i82365.c - avoid duplication of code * Fix bogus "cannot span across banks" flash error message * Add support for CompactFlash for the CPC45 Board.
Diffstat (limited to 'include/configs/SBC8540.h')
-rw-r--r--include/configs/SBC8540.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/configs/SBC8540.h b/include/configs/SBC8540.h
index 3a09de91a..60561eb22 100644
--- a/include/configs/SBC8540.h
+++ b/include/configs/SBC8540.h
@@ -400,9 +400,11 @@
/*Note: change below for your network setting!!! */
#if defined(CONFIG_TSEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
- #define CONFIG_ETHADDR 00:vv:ww:xx:yy:8a
- #define CONFIG_ETH1ADDR 00:vv:ww:xx:yy:8b
- #define CONFIG_ETH2ADDR 00:vv:ww:xx:yy:8c
+# define CONFIG_ETHADDR 00:vv:ww:xx:yy:8a
+# define CONFIG_HAS_ETH1
+# define CONFIG_ETH1ADDR 00:vv:ww:xx:yy:8b
+# define CONFIG_HAS_ETH2
+# define CONFIG_ETH2ADDR 00:vv:ww:xx:yy:8c
#endif
#define CONFIG_SERVERIP YourServerIP