ARM: OMAP2420: Fix ethernet support for OMAP2420 H4
authorJon Hunter <jon-hunter@ti.com>
Tue, 13 Nov 2012 22:02:19 +0000 (16:02 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 14 Dec 2012 19:48:06 +0000 (11:48 -0800)
commit86c35960852b726a1d773ae65302dcfb24267180
treeaae77047ced52a527efe02dd6adc0abd3edc1bc3
parent421e84509980206fb3b3bc039bc05bae1dd41c7b
ARM: OMAP2420: Fix ethernet support for OMAP2420 H4

Ethernet is not currently working on the OMAP2420 H4 board. In commit
f604931 (ARM: OMAP: abstract debug card setup (smc, leds)) the function
h4_init_smc91x() that initialised the ethernet controller was renamed to
h4_init_debug() but was never called when initialising the board.

Adding a call to h4_init_debug() fixes ethernet support, however,
instead of using the legacy H4 code migrate the H4 to use the
gpmc_smc91x_init() function instead and remove the legacy H4 code.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-h4.c