Skip to content

Commit

Permalink
ARM: OMAP: No need to include board-ldp.h from hardware.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren committed Mar 24, 2009
1 parent 40662d7 commit ec7558a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 47 deletions.
10 changes: 6 additions & 4 deletions arch/arm/mach-omap2/board-ldp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -41,12 +40,15 @@

#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] = {
Expand Down
39 changes: 0 additions & 39 deletions arch/arm/plat-omap/include/mach/board-ldp.h

This file was deleted.

4 changes: 0 additions & 4 deletions arch/arm/plat-omap/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,6 @@
#include "board-omap3beagle.h"
#endif

#ifdef CONFIG_MACH_OMAP_LDP
#include "board-ldp.h"
#endif

#ifdef CONFIG_MACH_VOICEBLUE
#include "board-voiceblue.h"
#endif
Expand Down

0 comments on commit ec7558a

Please sign in to comment.