summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/atstk1000.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-17 17:14:30 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 16:14:06 +0200
commit9a24f477a1ed5bb0f74377c985d754ebbfa44872 (patch)
tree99eb535c6f23f5d362c839cebb35f60c09168f62 /board/atmel/atstk1000/atstk1000.c
parent5c1fe1ffffd1750a7e47e5a2e2cd600c00e4f009 (diff)
downloadu-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.zip
u-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.tar.gz
u-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.tar.bz2
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>
Diffstat (limited to 'board/atmel/atstk1000/atstk1000.c')
-rw-r--r--board/atmel/atstk1000/atstk1000.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/atmel/atstk1000/atstk1000.c b/board/atmel/atstk1000/atstk1000.c
index 9f735da..407752c 100644
--- a/board/atmel/atstk1000/atstk1000.c
+++ b/board/atmel/atstk1000/atstk1000.c
@@ -49,6 +49,10 @@ int board_early_init_f(void)
gpio_enable_ebi();
gpio_enable_usart1();
+#if defined(CONFIG_MACB)
+ gpio_enable_macb0();
+ gpio_enable_macb1();
+#endif
return 0;
}