diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-perseus2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index 213317392d9b..107c68c8ab54 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <asm/mach/flash.h> | 24 | #include <asm/mach/flash.h> |
25 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
26 | 26 | ||
27 | #include <asm/arch/tc.h> | ||
27 | #include <asm/arch/gpio.h> | 28 | #include <asm/arch/gpio.h> |
28 | #include <asm/arch/mux.h> | 29 | #include <asm/arch/mux.h> |
29 | #include <asm/arch/fpga.h> | 30 | #include <asm/arch/fpga.h> |
@@ -83,8 +84,8 @@ static struct flash_platform_data p2_flash_data = { | |||
83 | }; | 84 | }; |
84 | 85 | ||
85 | static struct resource p2_flash_resource = { | 86 | static struct resource p2_flash_resource = { |
86 | .start = OMAP_FLASH_0_START, | 87 | .start = OMAP_CS0_PHYS, |
87 | .end = OMAP_FLASH_0_START + OMAP_FLASH_0_SIZE - 1, | 88 | .end = OMAP_CS0_PHYS + SZ_32M - 1, |
88 | .flags = IORESOURCE_MEM, | 89 | .flags = IORESOURCE_MEM, |
89 | }; | 90 | }; |
90 | 91 | ||