summaryrefslogtreecommitdiff
path: root/board/xilinx/microblaze-generic/microblaze-generic.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-08-31 11:51:50 +0200
committerMichal Simek <monstr@monstr.eu>2011-10-24 07:50:21 +0200
commite634138e73009c04a6d22208733af3b4cd356a1e (patch)
treee4ac7fbfbada49b96a87ec9e3ef9d9be758b2468 /board/xilinx/microblaze-generic/microblaze-generic.c
parent4962e38e9a4a053792722918bb11c5408549aebd (diff)
downloadu-boot-imx-e634138e73009c04a6d22208733af3b4cd356a1e.zip
u-boot-imx-e634138e73009c04a6d22208733af3b4cd356a1e.tar.gz
u-boot-imx-e634138e73009c04a6d22208733af3b4cd356a1e.tar.bz2
microblaze: Wire up axi_ethernet driver initialization
Initialize axi_ethernet driver. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'board/xilinx/microblaze-generic/microblaze-generic.c')
-rw-r--r--board/xilinx/microblaze-generic/microblaze-generic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c
index 9b2952f..c4c13a6 100644
--- a/board/xilinx/microblaze-generic/microblaze-generic.c
+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
@@ -72,6 +72,12 @@ int fsl_init2 (void) {
int board_eth_init(bd_t *bis)
{
int ret = 0;
+
+#ifdef CONFIG_XILINX_AXIEMAC
+ ret |= xilinx_axiemac_initialize(bis, XILINX_AXIEMAC_BASEADDR,
+ XILINX_AXIDMA_BASEADDR);
+#endif
+
#ifdef CONFIG_XILINX_EMACLITE
u32 txpp = 0;
u32 rxpp = 0;