From: Igor Grinberg Date: Mon, 5 Mar 2012 19:08:36 +0000 (-0800) Subject: ARM: OMAP3: cm-t3517: add EMAC support X-Git-Tag: v3.12-rc1~3575^2~5^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dedd5bd33900696f363b6169a41d7d585647d75f;p=kernel%2Fkernel-generic.git ARM: OMAP3: cm-t3517: add EMAC support Add support for the EMAC Ethernet controller in the AM35xx SoC. Signed-off-by: Igor Grinberg Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index f36d694..9e66e16 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c @@ -49,6 +49,7 @@ #include "mux.h" #include "control.h" #include "common-board-devices.h" +#include "am35xx-emac.h" #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE) static struct gpio_led cm_t3517_leds[] = { @@ -291,6 +292,7 @@ static void __init cm_t3517_init(void) cm_t3517_init_rtc(); cm_t3517_init_usbh(); cm_t3517_init_hecc(); + am35xx_emac_init(AM35XX_DEFAULT_MDIO_FREQUENCY, 1); } MACHINE_START(CM_T3517, "Compulab CM-T3517")