Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137470
b: refs/heads/master
c: a362fdb
h: refs/heads/master
v: v3
  • Loading branch information
Tony Lindgren committed Mar 24, 2009
1 parent 1a7d6c8 commit 82e415e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 51 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2830810fd8ca8cd8a929a6d6a6c886b1d689a51
refs/heads/master: a362fdbddb713d27ec0931a8be64b767f85bae0d
13 changes: 8 additions & 5 deletions trunk/arch/arm/mach-omap2/board-2430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@

#include "mmc-twl4030.h"

#define SDP2430_CS0_BASE 0x04000000
#define SDP2430_FLASH_CS 0
#define SDP2430_SMC91X_CS 5

#define SDP2430_ETHR_GPIO_IRQ 149

static struct mtd_partition sdp2430_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */
{
Expand Down Expand Up @@ -102,8 +105,8 @@ static struct resource sdp2430_smc91x_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = OMAP_GPIO_IRQ(OMAP24XX_ETHR_GPIO_IRQ),
.end = OMAP_GPIO_IRQ(OMAP24XX_ETHR_GPIO_IRQ),
.start = OMAP_GPIO_IRQ(SDP2430_ETHR_GPIO_IRQ),
.end = OMAP_GPIO_IRQ(SDP2430_ETHR_GPIO_IRQ),
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,
},
};
Expand Down Expand Up @@ -170,13 +173,13 @@ static inline void __init sdp2430_init_smc91x(void)
sdp2430_smc91x_resources[0].end = cs_mem_base + 0x30f;
udelay(100);

if (gpio_request(OMAP24XX_ETHR_GPIO_IRQ, "SMC91x irq") < 0) {
if (gpio_request(SDP2430_ETHR_GPIO_IRQ, "SMC91x irq") < 0) {
printk(KERN_ERR "Failed to request GPIO%d for smc91x IRQ\n",
OMAP24XX_ETHR_GPIO_IRQ);
SDP2430_ETHR_GPIO_IRQ);
gpmc_cs_free(eth_cs);
goto out;
}
gpio_direction_input(OMAP24XX_ETHR_GPIO_IRQ);
gpio_direction_input(SDP2430_ETHR_GPIO_IRQ);

out:
clk_disable(gpmc_fck);
Expand Down
41 changes: 0 additions & 41 deletions trunk/arch/arm/plat-omap/include/mach/board-2430sdp.h

This file was deleted.

4 changes: 0 additions & 4 deletions trunk/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-h4.h"
#endif

#ifdef CONFIG_MACH_OMAP_2430SDP
#include "board-2430sdp.h"
#endif

#ifdef CONFIG_MACH_OMAP3_BEAGLE
#include "board-omap3beagle.h"
#endif
Expand Down

0 comments on commit 82e415e

Please sign in to comment.