ARM: OMAP2+: craneboard: register emac device
authorMans Rullgard <mans@mansr.com>
Wed, 9 May 2012 21:19:15 +0000 (14:19 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 9 May 2012 21:19:15 +0000 (14:19 -0700)
This adds the required am35xx_emac_init() call to the craneboard init
function.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-am3517crane.c

index c3851e8..3b8a53c 100644 (file)
@@ -30,6 +30,7 @@
 #include "common.h"
 #include <plat/usb.h>
 
+#include "am35xx-emac.h"
 #include "mux.h"
 #include "control.h"
 
@@ -90,6 +91,7 @@ static void __init am3517_crane_init(void)
        }
 
        usbhs_init(&usbhs_bdata);
+       am35xx_emac_init(AM35XX_DEFAULT_MDIO_FREQUENCY, 1);
 }
 
 MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD")