AVR32: Enable networking
Implement MACB initialization for AVR32 and ATSTK1000, and turn everything on, including the MACB driver. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
@@ -55,6 +55,7 @@ extern int skge_initialize(bd_t*);
|
||||
extern int tsec_initialize(bd_t*, int, char *);
|
||||
extern int npe_initialize(bd_t *);
|
||||
extern int uec_initialize(int);
|
||||
extern int atstk1000_eth_initialize(bd_t *);
|
||||
|
||||
static struct eth_device *eth_devices, *eth_current;
|
||||
|
||||
@@ -255,6 +256,9 @@ int eth_initialize(bd_t *bis)
|
||||
#if defined(CONFIG_RTL8169)
|
||||
rtl8169_initialize(bis);
|
||||
#endif
|
||||
#if defined(CONFIG_ATSTK1000)
|
||||
atstk1000_eth_initialize(bis);
|
||||
#endif
|
||||
|
||||
if (!eth_devices) {
|
||||
puts ("No ethernet found.\n");
|
||||
|
||||
Reference in New Issue
Block a user