diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 8 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/io.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/mcbsp.h | 8 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap34xx.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 527aaae61720..995466d0432a 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h | |||
@@ -114,7 +114,7 @@ unsigned int omap_rev(void); | |||
114 | # define OMAP_NAME omap16xx | 114 | # define OMAP_NAME omap16xx |
115 | # endif | 115 | # endif |
116 | #endif | 116 | #endif |
117 | #if (defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)) | 117 | #if (defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)) |
118 | # if (defined(OMAP_NAME) || defined(MULTI_OMAP1)) | 118 | # if (defined(OMAP_NAME) || defined(MULTI_OMAP1)) |
119 | # error "OMAP1 and OMAP2 can't be selected at the same time" | 119 | # error "OMAP1 and OMAP2 can't be selected at the same time" |
120 | # endif | 120 | # endif |
@@ -241,7 +241,7 @@ IS_OMAP_SUBCLASS(443x, 0x443) | |||
241 | # define cpu_is_omap242x() is_omap242x() | 241 | # define cpu_is_omap242x() is_omap242x() |
242 | # define cpu_is_omap243x() is_omap243x() | 242 | # define cpu_is_omap243x() is_omap243x() |
243 | # endif | 243 | # endif |
244 | # if defined(CONFIG_ARCH_OMAP34XX) | 244 | # if defined(CONFIG_ARCH_OMAP3) |
245 | # undef cpu_is_omap34xx | 245 | # undef cpu_is_omap34xx |
246 | # undef cpu_is_omap343x | 246 | # undef cpu_is_omap343x |
247 | # define cpu_is_omap34xx() is_omap34xx() | 247 | # define cpu_is_omap34xx() is_omap34xx() |
@@ -260,7 +260,7 @@ IS_OMAP_SUBCLASS(443x, 0x443) | |||
260 | # undef cpu_is_omap243x | 260 | # undef cpu_is_omap243x |
261 | # define cpu_is_omap243x() 1 | 261 | # define cpu_is_omap243x() 1 |
262 | # endif | 262 | # endif |
263 | # if defined(CONFIG_ARCH_OMAP34XX) | 263 | # if defined(CONFIG_ARCH_OMAP3) |
264 | # undef cpu_is_omap34xx | 264 | # undef cpu_is_omap34xx |
265 | # define cpu_is_omap34xx() 1 | 265 | # define cpu_is_omap34xx() 1 |
266 | # endif | 266 | # endif |
@@ -385,7 +385,7 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
385 | # define cpu_is_omap2430() is_omap2430() | 385 | # define cpu_is_omap2430() is_omap2430() |
386 | #endif | 386 | #endif |
387 | 387 | ||
388 | #if defined(CONFIG_ARCH_OMAP34XX) | 388 | #if defined(CONFIG_ARCH_OMAP3) |
389 | # undef cpu_is_omap3430 | 389 | # undef cpu_is_omap3430 |
390 | # undef cpu_is_omap3503 | 390 | # undef cpu_is_omap3503 |
391 | # undef cpu_is_omap3515 | 391 | # undef cpu_is_omap3515 |
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h index 19257bbbc9f3..eef914d53971 100644 --- a/arch/arm/plat-omap/include/plat/io.h +++ b/arch/arm/plat-omap/include/plat/io.h | |||
@@ -284,7 +284,7 @@ static inline void omap243x_map_common_io(void) | |||
284 | } | 284 | } |
285 | #endif | 285 | #endif |
286 | 286 | ||
287 | #ifdef CONFIG_ARCH_OMAP34XX | 287 | #ifdef CONFIG_ARCH_OMAP3 |
288 | extern void omap34xx_map_common_io(void); | 288 | extern void omap34xx_map_common_io(void); |
289 | #else | 289 | #else |
290 | static inline void omap34xx_map_common_io(void) | 290 | static inline void omap34xx_map_common_io(void) |
diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h index 951506277ec8..0d7e536a3c95 100644 --- a/arch/arm/plat-omap/include/plat/mcbsp.h +++ b/arch/arm/plat-omap/include/plat/mcbsp.h | |||
@@ -103,7 +103,7 @@ | |||
103 | #define AUDIO_DMA_TX OMAP_DMA_MCBSP1_TX | 103 | #define AUDIO_DMA_TX OMAP_DMA_MCBSP1_TX |
104 | #define AUDIO_DMA_RX OMAP_DMA_MCBSP1_RX | 104 | #define AUDIO_DMA_RX OMAP_DMA_MCBSP1_RX |
105 | 105 | ||
106 | #elif defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \ | 106 | #elif defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) || \ |
107 | defined(CONFIG_ARCH_OMAP4) | 107 | defined(CONFIG_ARCH_OMAP4) |
108 | 108 | ||
109 | #define OMAP_MCBSP_REG_DRR2 0x00 | 109 | #define OMAP_MCBSP_REG_DRR2 0x00 |
@@ -374,7 +374,7 @@ struct omap_mcbsp_platform_data { | |||
374 | u8 dma_rx_sync, dma_tx_sync; | 374 | u8 dma_rx_sync, dma_tx_sync; |
375 | u16 rx_irq, tx_irq; | 375 | u16 rx_irq, tx_irq; |
376 | struct omap_mcbsp_ops *ops; | 376 | struct omap_mcbsp_ops *ops; |
377 | #ifdef CONFIG_ARCH_OMAP34XX | 377 | #ifdef CONFIG_ARCH_OMAP3 |
378 | u16 buffer_size; | 378 | u16 buffer_size; |
379 | #endif | 379 | #endif |
380 | }; | 380 | }; |
@@ -410,7 +410,7 @@ struct omap_mcbsp { | |||
410 | struct omap_mcbsp_platform_data *pdata; | 410 | struct omap_mcbsp_platform_data *pdata; |
411 | struct clk *iclk; | 411 | struct clk *iclk; |
412 | struct clk *fclk; | 412 | struct clk *fclk; |
413 | #ifdef CONFIG_ARCH_OMAP34XX | 413 | #ifdef CONFIG_ARCH_OMAP3 |
414 | int dma_op_mode; | 414 | int dma_op_mode; |
415 | u16 max_tx_thres; | 415 | u16 max_tx_thres; |
416 | u16 max_rx_thres; | 416 | u16 max_rx_thres; |
@@ -423,7 +423,7 @@ int omap_mcbsp_init(void); | |||
423 | void omap_mcbsp_register_board_cfg(struct omap_mcbsp_platform_data *config, | 423 | void omap_mcbsp_register_board_cfg(struct omap_mcbsp_platform_data *config, |
424 | int size); | 424 | int size); |
425 | void omap_mcbsp_config(unsigned int id, const struct omap_mcbsp_reg_cfg * config); | 425 | void omap_mcbsp_config(unsigned int id, const struct omap_mcbsp_reg_cfg * config); |
426 | #ifdef CONFIG_ARCH_OMAP34XX | 426 | #ifdef CONFIG_ARCH_OMAP3 |
427 | void omap_mcbsp_set_tx_threshold(unsigned int id, u16 threshold); | 427 | void omap_mcbsp_set_tx_threshold(unsigned int id, u16 threshold); |
428 | void omap_mcbsp_set_rx_threshold(unsigned int id, u16 threshold); | 428 | void omap_mcbsp_set_rx_threshold(unsigned int id, u16 threshold); |
429 | u16 omap_mcbsp_get_max_tx_threshold(unsigned int id); | 429 | u16 omap_mcbsp_get_max_tx_threshold(unsigned int id); |
diff --git a/arch/arm/plat-omap/include/plat/omap34xx.h b/arch/arm/plat-omap/include/plat/omap34xx.h index 077f05979f86..2845fdc658b0 100644 --- a/arch/arm/plat-omap/include/plat/omap34xx.h +++ b/arch/arm/plat-omap/include/plat/omap34xx.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __ASM_ARCH_OMAP34XX_H | 24 | #ifndef __ASM_ARCH_OMAP3_H |
25 | #define __ASM_ARCH_OMAP34XX_H | 25 | #define __ASM_ARCH_OMAP3_H |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * Please place only base defines here and put the rest in device | 28 | * Please place only base defines here and put the rest in device |
@@ -82,5 +82,5 @@ | |||
82 | 82 | ||
83 | #define OMAP34XX_MAILBOX_BASE (L4_34XX_BASE + 0x94000) | 83 | #define OMAP34XX_MAILBOX_BASE (L4_34XX_BASE + 0x94000) |
84 | 84 | ||
85 | #endif /* __ASM_ARCH_OMAP34XX_H */ | 85 | #endif /* __ASM_ARCH_OMAP3_H */ |
86 | 86 | ||