diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-perseus2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index 83406699f310..ca7df1e93efc 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -26,14 +26,14 @@ | |||
26 | #include <asm/mach/flash.h> | 26 | #include <asm/mach/flash.h> |
27 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
28 | 28 | ||
29 | #include <mach/tc.h> | 29 | #include <plat/tc.h> |
30 | #include <mach/gpio.h> | 30 | #include <mach/gpio.h> |
31 | #include <mach/mux.h> | 31 | #include <plat/mux.h> |
32 | #include <mach/fpga.h> | 32 | #include <plat/fpga.h> |
33 | #include <mach/nand.h> | 33 | #include <plat/nand.h> |
34 | #include <mach/keypad.h> | 34 | #include <plat/keypad.h> |
35 | #include <mach/common.h> | 35 | #include <plat/common.h> |
36 | #include <mach/board.h> | 36 | #include <plat/board.h> |
37 | 37 | ||
38 | static int p2_keymap[] = { | 38 | static int p2_keymap[] = { |
39 | KEY(0,0,KEY_UP), | 39 | KEY(0,0,KEY_UP), |
@@ -74,7 +74,7 @@ static struct resource smc91x_resources[] = { | |||
74 | .flags = IORESOURCE_MEM, | 74 | .flags = IORESOURCE_MEM, |
75 | }, | 75 | }, |
76 | [1] = { | 76 | [1] = { |
77 | .start = INT_730_MPU_EXT_NIRQ, | 77 | .start = INT_7XX_MPU_EXT_NIRQ, |
78 | .end = 0, | 78 | .end = 0, |
79 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | 79 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
80 | }, | 80 | }, |
@@ -163,8 +163,8 @@ static struct platform_device smc91x_device = { | |||
163 | 163 | ||
164 | static struct resource kp_resources[] = { | 164 | static struct resource kp_resources[] = { |
165 | [0] = { | 165 | [0] = { |
166 | .start = INT_730_MPUIO_KEYPAD, | 166 | .start = INT_7XX_MPUIO_KEYPAD, |
167 | .end = INT_730_MPUIO_KEYPAD, | 167 | .end = INT_7XX_MPUIO_KEYPAD, |
168 | .flags = IORESOURCE_IRQ, | 168 | .flags = IORESOURCE_IRQ, |
169 | }, | 169 | }, |
170 | }; | 170 | }; |
@@ -270,7 +270,7 @@ static void __init omap_perseus2_map_io(void) | |||
270 | /* | 270 | /* |
271 | * Hold GSM Reset until needed | 271 | * Hold GSM Reset until needed |
272 | */ | 272 | */ |
273 | omap_writew(omap_readw(OMAP730_DSP_M_CTL) & ~1, OMAP730_DSP_M_CTL); | 273 | omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); |
274 | 274 | ||
275 | /* | 275 | /* |
276 | * UARTs -> done automagically by 8250 driver | 276 | * UARTs -> done automagically by 8250 driver |
@@ -281,21 +281,21 @@ static void __init omap_perseus2_map_io(void) | |||
281 | */ | 281 | */ |
282 | 282 | ||
283 | /* Flash: CS0 timings setup */ | 283 | /* Flash: CS0 timings setup */ |
284 | omap_writel(0x0000fff3, OMAP730_FLASH_CFG_0); | 284 | omap_writel(0x0000fff3, OMAP7XX_FLASH_CFG_0); |
285 | omap_writel(0x00000088, OMAP730_FLASH_ACFG_0); | 285 | omap_writel(0x00000088, OMAP7XX_FLASH_ACFG_0); |
286 | 286 | ||
287 | /* | 287 | /* |
288 | * Ethernet support through the debug board | 288 | * Ethernet support through the debug board |
289 | * CS1 timings setup | 289 | * CS1 timings setup |
290 | */ | 290 | */ |
291 | omap_writel(0x0000fff3, OMAP730_FLASH_CFG_1); | 291 | omap_writel(0x0000fff3, OMAP7XX_FLASH_CFG_1); |
292 | omap_writel(0x00000000, OMAP730_FLASH_ACFG_1); | 292 | omap_writel(0x00000000, OMAP7XX_FLASH_ACFG_1); |
293 | 293 | ||
294 | /* | 294 | /* |
295 | * Configure MPU_EXT_NIRQ IO in IO_CONF9 register, | 295 | * Configure MPU_EXT_NIRQ IO in IO_CONF9 register, |
296 | * It is used as the Ethernet controller interrupt | 296 | * It is used as the Ethernet controller interrupt |
297 | */ | 297 | */ |
298 | omap_writel(omap_readl(OMAP730_IO_CONF_9) & 0x1FFFFFFF, OMAP730_IO_CONF_9); | 298 | omap_writel(omap_readl(OMAP7XX_IO_CONF_9) & 0x1FFFFFFF, OMAP7XX_IO_CONF_9); |
299 | } | 299 | } |
300 | 300 | ||
301 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") | 301 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") |