ARM: OMAP: No need to include board-ldp.h from hardware.h
authorTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:07:37 +0000 (18:07 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:07:37 +0000 (18:07 -0700)
Move the defines to the associated board file and remove
the now unnecessary header file. Also rename
OMAP34XX_ETHR_START to LDP_ETHR_START.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-ldp.c
arch/arm/plat-omap/include/mach/board-ldp.h [deleted file]
arch/arm/plat-omap/include/mach/hardware.h

index 6031e17..f035d78 100644 (file)
@@ -28,7 +28,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/board-ldp.h>
 #include <mach/mcspi.h>
 #include <mach/gpio.h>
 #include <mach/board.h>
 
 #include "mmc-twl4030.h"
 
-#define SDP3430_SMC91X_CS      3
+#define LDP_SMC911X_CS         1
+#define LDP_SMC911X_GPIO       152
+#define DEBUG_BASE             0x08000000
+#define LDP_ETHR_START         DEBUG_BASE
 
 static struct resource ldp_smc911x_resources[] = {
        [0] = {
-               .start  = OMAP34XX_ETHR_START,
-               .end    = OMAP34XX_ETHR_START + SZ_4K,
+               .start  = LDP_ETHR_START,
+               .end    = LDP_ETHR_START + SZ_4K,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
diff --cc arch/arm/plat-omap/include/mach/board-ldp.h
Simple merge