aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h8
-rw-r--r--arch/arm/plat-omap/include/plat/mcbsp.h2
-rw-r--r--arch/arm/plat-omap/include/plat/menelaus.h2
-rw-r--r--arch/arm/plat-omap/include/plat/mux.h2
-rw-r--r--arch/arm/plat-omap/include/plat/omap24xx.h6
5 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index ccd78fd473d1..527aaae61720 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_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)) 117#if (defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX))
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
@@ -233,7 +233,7 @@ IS_OMAP_SUBCLASS(443x, 0x443)
233#endif 233#endif
234 234
235#if defined(MULTI_OMAP2) 235#if defined(MULTI_OMAP2)
236# if defined(CONFIG_ARCH_OMAP24XX) 236# if defined(CONFIG_ARCH_OMAP2)
237# undef cpu_is_omap24xx 237# undef cpu_is_omap24xx
238# undef cpu_is_omap242x 238# undef cpu_is_omap242x
239# undef cpu_is_omap243x 239# undef cpu_is_omap243x
@@ -248,7 +248,7 @@ IS_OMAP_SUBCLASS(443x, 0x443)
248# define cpu_is_omap343x() is_omap343x() 248# define cpu_is_omap343x() is_omap343x()
249# endif 249# endif
250#else 250#else
251# if defined(CONFIG_ARCH_OMAP24XX) 251# if defined(CONFIG_ARCH_OMAP2)
252# undef cpu_is_omap24xx 252# undef cpu_is_omap24xx
253# define cpu_is_omap24xx() 1 253# define cpu_is_omap24xx() 1
254# endif 254# endif
@@ -374,7 +374,7 @@ IS_OMAP_TYPE(3517, 0x3517)
374# define cpu_is_omap1710() is_omap1710() 374# define cpu_is_omap1710() is_omap1710()
375#endif 375#endif
376 376
377#if defined(CONFIG_ARCH_OMAP24XX) 377#if defined(CONFIG_ARCH_OMAP2)
378# undef cpu_is_omap2420 378# undef cpu_is_omap2420
379# undef cpu_is_omap2422 379# undef cpu_is_omap2422
380# undef cpu_is_omap2423 380# undef cpu_is_omap2423
diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h
index 4f22e5bb7ff7..951506277ec8 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_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \ 106#elif defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
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
diff --git a/arch/arm/plat-omap/include/plat/menelaus.h b/arch/arm/plat-omap/include/plat/menelaus.h
index 3122bf68c7ce..4a970ec62dd1 100644
--- a/arch/arm/plat-omap/include/plat/menelaus.h
+++ b/arch/arm/plat-omap/include/plat/menelaus.h
@@ -40,7 +40,7 @@ extern int menelaus_set_vcore_hw(unsigned int roof_mV, unsigned int floor_mV);
40 40
41extern int menelaus_set_regulator_sleep(int enable, u32 val); 41extern int menelaus_set_regulator_sleep(int enable, u32 val);
42 42
43#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS) 43#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_MENELAUS)
44#define omap_has_menelaus() 1 44#define omap_has_menelaus() 1
45#else 45#else
46#define omap_has_menelaus() 0 46#define omap_has_menelaus() 0
diff --git a/arch/arm/plat-omap/include/plat/mux.h b/arch/arm/plat-omap/include/plat/mux.h
index 692c90e89ac3..c7472a28ce24 100644
--- a/arch/arm/plat-omap/include/plat/mux.h
+++ b/arch/arm/plat-omap/include/plat/mux.h
@@ -135,7 +135,7 @@ struct pin_config {
135 const unsigned int mux_reg; 135 const unsigned int mux_reg;
136 unsigned char debug; 136 unsigned char debug;
137 137
138#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP24XX) 138#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2)
139 const unsigned char mask_offset; 139 const unsigned char mask_offset;
140 const unsigned char mask; 140 const unsigned char mask;
141 141
diff --git a/arch/arm/plat-omap/include/plat/omap24xx.h b/arch/arm/plat-omap/include/plat/omap24xx.h
index 696edfc145a6..7055672a8c68 100644
--- a/arch/arm/plat-omap/include/plat/omap24xx.h
+++ b/arch/arm/plat-omap/include/plat/omap24xx.h
@@ -23,8 +23,8 @@
23 * 23 *
24 */ 24 */
25 25
26#ifndef __ASM_ARCH_OMAP24XX_H 26#ifndef __ASM_ARCH_OMAP2_H
27#define __ASM_ARCH_OMAP24XX_H 27#define __ASM_ARCH_OMAP2_H
28 28
29/* 29/*
30 * Please place only base defines here and put the rest in device 30 * Please place only base defines here and put the rest in device
@@ -85,5 +85,5 @@
85#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000) 85#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
86#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000) 86#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
87 87
88#endif /* __ASM_ARCH_OMAP24XX_H */ 88#endif /* __ASM_ARCH_OMAP2_H */
89 89