#include <asm/arch/keypad.h>
#include <asm/arch/menelaus.h>
#include <asm/arch/dma.h>
+#include <asm/arch/gpmc.h>
#include "prcm-regs.h"
#include <asm/io.h>
static struct resource h4_smc91x_resources[] = {
[0] = {
- .start = OMAP24XX_ETHR_START, /* Physical */
- .end = OMAP24XX_ETHR_START + 0xf,
.flags = IORESOURCE_MEM,
},
[1] = {
return;
}
omap_set_gpio_direction(OMAP24XX_ETHR_GPIO_IRQ, 1);
+
+ h4_smc91x_resources[0].start = gpmc_cs_get_base_addr(1) + 0x300;
+ h4_smc91x_resources[0].end = h4_smc91x_resources[0].start + 0xf;
}
static void __init omap_h4_init_irq(void)