diff options
author | wdenk <wdenk> | 2004-12-31 09:32:47 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-12-31 09:32:47 +0000 |
commit | e2ffd59b4d93c9149de1caaa087371b0cfc512c9 (patch) | |
tree | 86cfb6e30bec1686253b0542d76f57c5d62d183a /board/pn62 | |
parent | 400ab719c6025c176c50bcdff342384222d7424b (diff) | |
download | u-boot-e2ffd59b4d93c9149de1caaa087371b0cfc512c9.tar.gz u-boot-e2ffd59b4d93c9149de1caaa087371b0cfc512c9.tar.bz2 u-boot-e2ffd59b4d93c9149de1caaa087371b0cfc512c9.zip |
* 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 'board/pn62')
-rw-r--r-- | board/pn62/pn62.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c index c0111dcd92..025224027e 100644 --- a/board/pn62/pn62.c +++ b/board/pn62/pn62.c @@ -145,11 +145,13 @@ int misc_init_r (void) } show_startup_phase (10); +#ifdef CONFIG_HAS_ETH1 if (getenv ("eth1addr") == NULL && get_mac_address (1, mac, str, sizeof (str)) > 0) { setenv ("eth1addr", str); memcpy (gd->bd->bi_enet1addr, mac, 6); } +#endif /* CONFIG_HAS_ETH1 */ show_startup_phase (11); /* Tell everybody that U-Boot is up and runnig */ |