diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
commit | 53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch) | |
tree | 62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /board/evb64260 | |
parent | 1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff) | |
parent | ce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff) |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'board/evb64260')
-rw-r--r-- | board/evb64260/eth.c | 1 | ||||
-rw-r--r-- | board/evb64260/evb64260.c | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/board/evb64260/eth.c b/board/evb64260/eth.c index fa5b6d4a92..ca8bab52d9 100644 --- a/board/evb64260/eth.c +++ b/board/evb64260/eth.c @@ -27,6 +27,7 @@ Skeleton NIC driver for Etherboot #include <asm/cache.h> #include <miiphy.h> #include <net.h> +#include <netdev.h> #include "eth.h" #include "eth_addrtbl.h" diff --git a/board/evb64260/evb64260.c b/board/evb64260/evb64260.c index ab599410b2..bc108d0594 100644 --- a/board/evb64260/evb64260.c +++ b/board/evb64260/evb64260.c @@ -31,6 +31,7 @@ #include <galileo/pci.h> #include <galileo/gt64260R.h> #include <net.h> +#include <netdev.h> #include <asm/io.h> #include "eth.h" @@ -248,7 +249,6 @@ int board_early_init_f (void) sram_boot = 1; #endif - if (!sram_boot) memoryMapDeviceSpace(DEVICE0, CFG_DEV0_SPACE, CFG_DEV0_SIZE); memoryMapDeviceSpace(DEVICE1, CFG_DEV1_SPACE, CFG_DEV1_SIZE); @@ -443,3 +443,9 @@ display_mem_map(void) printf(" BOOT: base - 0x%08x\tsize - %dM bytes\twidth - %d bits\n", base, size>>20, width); } + +int board_eth_init(bd_t *bis) +{ + gt6426x_eth_initialize(bis); + return 0; +} |