diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r-- | arch/arm/plat-omap/include/plat/common.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 8 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dma.h | 5 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/mmc.h | 9 |
5 files changed, 14 insertions, 11 deletions
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h index a557b8484e6c..d1cb6f527b7e 100644 --- a/arch/arm/plat-omap/include/plat/common.h +++ b/arch/arm/plat-omap/include/plat/common.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <plat/i2c.h> | 30 | #include <plat/i2c.h> |
31 | #include <plat/omap_hwmod.h> | 31 | #include <plat/omap_hwmod.h> |
32 | 32 | ||
33 | extern int __init omap_init_clocksource_32k(void); | 33 | extern int __init omap_init_clocksource_32k(void __iomem *vbase); |
34 | 34 | ||
35 | extern void __init omap_check_revision(void); | 35 | extern void __init omap_check_revision(void); |
36 | 36 | ||
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 4bdf14ec6747..297245dba66e 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h | |||
@@ -121,6 +121,7 @@ IS_OMAP_CLASS(16xx, 0x16) | |||
121 | IS_OMAP_CLASS(24xx, 0x24) | 121 | IS_OMAP_CLASS(24xx, 0x24) |
122 | IS_OMAP_CLASS(34xx, 0x34) | 122 | IS_OMAP_CLASS(34xx, 0x34) |
123 | IS_OMAP_CLASS(44xx, 0x44) | 123 | IS_OMAP_CLASS(44xx, 0x44) |
124 | IS_AM_CLASS(35xx, 0x35) | ||
124 | IS_AM_CLASS(33xx, 0x33) | 125 | IS_AM_CLASS(33xx, 0x33) |
125 | 126 | ||
126 | IS_TI_CLASS(81xx, 0x81) | 127 | IS_TI_CLASS(81xx, 0x81) |
@@ -148,6 +149,7 @@ IS_AM_SUBCLASS(335x, 0x335) | |||
148 | #define cpu_is_ti81xx() 0 | 149 | #define cpu_is_ti81xx() 0 |
149 | #define cpu_is_ti816x() 0 | 150 | #define cpu_is_ti816x() 0 |
150 | #define cpu_is_ti814x() 0 | 151 | #define cpu_is_ti814x() 0 |
152 | #define soc_is_am35xx() 0 | ||
151 | #define cpu_is_am33xx() 0 | 153 | #define cpu_is_am33xx() 0 |
152 | #define cpu_is_am335x() 0 | 154 | #define cpu_is_am335x() 0 |
153 | #define cpu_is_omap44xx() 0 | 155 | #define cpu_is_omap44xx() 0 |
@@ -357,6 +359,7 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
357 | # undef cpu_is_ti81xx | 359 | # undef cpu_is_ti81xx |
358 | # undef cpu_is_ti816x | 360 | # undef cpu_is_ti816x |
359 | # undef cpu_is_ti814x | 361 | # undef cpu_is_ti814x |
362 | # undef soc_is_am35xx | ||
360 | # undef cpu_is_am33xx | 363 | # undef cpu_is_am33xx |
361 | # undef cpu_is_am335x | 364 | # undef cpu_is_am335x |
362 | # define cpu_is_omap3430() is_omap3430() | 365 | # define cpu_is_omap3430() is_omap3430() |
@@ -378,6 +381,7 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
378 | # define cpu_is_ti81xx() is_ti81xx() | 381 | # define cpu_is_ti81xx() is_ti81xx() |
379 | # define cpu_is_ti816x() is_ti816x() | 382 | # define cpu_is_ti816x() is_ti816x() |
380 | # define cpu_is_ti814x() is_ti814x() | 383 | # define cpu_is_ti814x() is_ti814x() |
384 | # define soc_is_am35xx() is_am35xx() | ||
381 | # define cpu_is_am33xx() is_am33xx() | 385 | # define cpu_is_am33xx() is_am33xx() |
382 | # define cpu_is_am335x() is_am335x() | 386 | # define cpu_is_am335x() is_am335x() |
383 | #endif | 387 | #endif |
@@ -433,6 +437,10 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
433 | #define TI8148_REV_ES2_0 (TI814X_CLASS | (0x1 << 8)) | 437 | #define TI8148_REV_ES2_0 (TI814X_CLASS | (0x1 << 8)) |
434 | #define TI8148_REV_ES2_1 (TI814X_CLASS | (0x2 << 8)) | 438 | #define TI8148_REV_ES2_1 (TI814X_CLASS | (0x2 << 8)) |
435 | 439 | ||
440 | #define AM35XX_CLASS 0x35170034 | ||
441 | #define AM35XX_REV_ES1_0 AM35XX_CLASS | ||
442 | #define AM35XX_REV_ES1_1 (AM35XX_CLASS | (0x1 << 8)) | ||
443 | |||
436 | #define AM335X_CLASS 0x33500034 | 444 | #define AM335X_CLASS 0x33500034 |
437 | #define AM335X_REV_ES1_0 AM335X_CLASS | 445 | #define AM335X_REV_ES1_0 AM335X_CLASS |
438 | 446 | ||
diff --git a/arch/arm/plat-omap/include/plat/dma.h b/arch/arm/plat-omap/include/plat/dma.h index 42afb4c45517..c5811d4409b0 100644 --- a/arch/arm/plat-omap/include/plat/dma.h +++ b/arch/arm/plat-omap/include/plat/dma.h | |||
@@ -312,6 +312,11 @@ | |||
312 | #define CLEAR_CSR_ON_READ BIT(0xC) | 312 | #define CLEAR_CSR_ON_READ BIT(0xC) |
313 | #define IS_WORD_16 BIT(0xD) | 313 | #define IS_WORD_16 BIT(0xD) |
314 | 314 | ||
315 | /* Defines for DMA Capabilities */ | ||
316 | #define DMA_HAS_TRANSPARENT_CAPS (0x1 << 18) | ||
317 | #define DMA_HAS_CONSTANT_FILL_CAPS (0x1 << 19) | ||
318 | #define DMA_HAS_DESCRIPTOR_CAPS (0x3 << 20) | ||
319 | |||
315 | enum omap_reg_offsets { | 320 | enum omap_reg_offsets { |
316 | 321 | ||
317 | GCR, GSCR, GRST1, HW_ID, | 322 | GCR, GSCR, GRST1, HW_ID, |
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index bdf871a84d62..5da73562e486 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h | |||
@@ -75,7 +75,6 @@ struct clk; | |||
75 | 75 | ||
76 | struct timer_regs { | 76 | struct timer_regs { |
77 | u32 tidr; | 77 | u32 tidr; |
78 | u32 tiocp_cfg; | ||
79 | u32 tistat; | 78 | u32 tistat; |
80 | u32 tisr; | 79 | u32 tisr; |
81 | u32 tier; | 80 | u32 tier; |
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h index 3e7ae0f0215f..a7754a886d42 100644 --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h | |||
@@ -177,9 +177,6 @@ extern void omap_mmc_notify_cover_event(struct device *dev, int slot, | |||
177 | void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, | 177 | void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, |
178 | int nr_controllers); | 178 | int nr_controllers); |
179 | void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data); | 179 | void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data); |
180 | int omap_mmc_add(const char *name, int id, unsigned long base, | ||
181 | unsigned long size, unsigned int irq, | ||
182 | struct omap_mmc_platform_data *data); | ||
183 | #else | 180 | #else |
184 | static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, | 181 | static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, |
185 | int nr_controllers) | 182 | int nr_controllers) |
@@ -188,12 +185,6 @@ static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, | |||
188 | static inline void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data) | 185 | static inline void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data) |
189 | { | 186 | { |
190 | } | 187 | } |
191 | static inline int omap_mmc_add(const char *name, int id, unsigned long base, | ||
192 | unsigned long size, unsigned int irq, | ||
193 | struct omap_mmc_platform_data *data) | ||
194 | { | ||
195 | return 0; | ||
196 | } | ||
197 | 188 | ||
198 | #endif | 189 | #endif |
199 | 190 | ||