From: jon-hunter@ti.com (Jon Hunter) Date: Tue, 13 Nov 2012 16:02:19 -0600 Subject: [PATCH 1/2] ARM: OMAP2420: Fix ethernet support for OMAP2420 H4 In-Reply-To: <1352844140-11103-1-git-send-email-jon-hunter@ti.com> References: <1352844140-11103-1-git-send-email-jon-hunter@ti.com> Message-ID: <1352844140-11103-2-git-send-email-jon-hunter@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 --- arch/arm/mach-omap2/board-h4.c | 80 ++++++++++------------------------------ 1 file changed, 19 insertions(+), 61 deletions(-) diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 8d04bf8..2adba9d 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -34,19 +34,16 @@ #include #include #include -#include "debug-devices.h" #include