diff options
author | Tony Lindgren <tony@atomide.com> | 2012-11-09 17:54:17 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-11-09 17:54:17 -0500 |
commit | f56f52e02a9c3da4bc2cc6eb9ddcf5602ea44b37 (patch) | |
tree | a9ce4f46ea3b2e516698b2c3817e40414a8bbf51 /arch/arm/mach-omap2/io.c | |
parent | 84fbd2b8c8da49b4e53fcb484a1564a9b5da61b3 (diff) | |
parent | 6ba54ab4a49bbad736b0254aa6bdf0cb83013815 (diff) |
Merge branch 'omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3' into omap-for-v3.8/dt
Conflicts:
arch/arm/plat-omap/dmtimer.c
Resolved as suggested by Jon Hunter.
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 4234d28dc171..807b8d919f81 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -25,14 +25,9 @@ | |||
25 | #include <asm/tlb.h> | 25 | #include <asm/tlb.h> |
26 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
27 | 27 | ||
28 | #include <plat/sram.h> | 28 | #include <plat-omap/dma-omap.h> |
29 | #include <plat/sdrc.h> | ||
30 | #include <plat/serial.h> | ||
31 | #include <plat/omap-pm.h> | ||
32 | #include <plat/omap_hwmod.h> | ||
33 | #include <plat/multi.h> | ||
34 | #include <plat/dma.h> | ||
35 | 29 | ||
30 | #include "omap_hwmod.h" | ||
36 | #include "soc.h" | 31 | #include "soc.h" |
37 | #include "iomap.h" | 32 | #include "iomap.h" |
38 | #include "voltage.h" | 33 | #include "voltage.h" |
@@ -43,6 +38,10 @@ | |||
43 | #include "clock2xxx.h" | 38 | #include "clock2xxx.h" |
44 | #include "clock3xxx.h" | 39 | #include "clock3xxx.h" |
45 | #include "clock44xx.h" | 40 | #include "clock44xx.h" |
41 | #include "omap-pm.h" | ||
42 | #include "sdrc.h" | ||
43 | #include "serial.h" | ||
44 | #include "sram.h" | ||
46 | 45 | ||
47 | /* | 46 | /* |
48 | * The machine specific code may provide the extra mapping besides the | 47 | * The machine specific code may provide the extra mapping besides the |
@@ -354,11 +353,6 @@ static int _set_hwmod_postsetup_state(struct omap_hwmod *oh, void *data) | |||
354 | return omap_hwmod_set_postsetup_state(oh, *(u8 *)data); | 353 | return omap_hwmod_set_postsetup_state(oh, *(u8 *)data); |
355 | } | 354 | } |
356 | 355 | ||
357 | static void __init omap_common_init_early(void) | ||
358 | { | ||
359 | omap_init_consistent_dma_size(); | ||
360 | } | ||
361 | |||
362 | static void __init omap_hwmod_init_postsetup(void) | 356 | static void __init omap_hwmod_init_postsetup(void) |
363 | { | 357 | { |
364 | u8 postsetup_state; | 358 | u8 postsetup_state; |
@@ -379,7 +373,6 @@ void __init omap2420_init_early(void) | |||
379 | { | 373 | { |
380 | omap2_set_globals_242x(); | 374 | omap2_set_globals_242x(); |
381 | omap2xxx_check_revision(); | 375 | omap2xxx_check_revision(); |
382 | omap_common_init_early(); | ||
383 | omap2xxx_voltagedomains_init(); | 376 | omap2xxx_voltagedomains_init(); |
384 | omap242x_powerdomains_init(); | 377 | omap242x_powerdomains_init(); |
385 | omap242x_clockdomains_init(); | 378 | omap242x_clockdomains_init(); |
@@ -401,7 +394,6 @@ void __init omap2430_init_early(void) | |||
401 | { | 394 | { |
402 | omap2_set_globals_243x(); | 395 | omap2_set_globals_243x(); |
403 | omap2xxx_check_revision(); | 396 | omap2xxx_check_revision(); |
404 | omap_common_init_early(); | ||
405 | omap2xxx_voltagedomains_init(); | 397 | omap2xxx_voltagedomains_init(); |
406 | omap243x_powerdomains_init(); | 398 | omap243x_powerdomains_init(); |
407 | omap243x_clockdomains_init(); | 399 | omap243x_clockdomains_init(); |
@@ -428,7 +420,6 @@ void __init omap3_init_early(void) | |||
428 | omap2_set_globals_3xxx(); | 420 | omap2_set_globals_3xxx(); |
429 | omap3xxx_check_revision(); | 421 | omap3xxx_check_revision(); |
430 | omap3xxx_check_features(); | 422 | omap3xxx_check_features(); |
431 | omap_common_init_early(); | ||
432 | omap3xxx_voltagedomains_init(); | 423 | omap3xxx_voltagedomains_init(); |
433 | omap3xxx_powerdomains_init(); | 424 | omap3xxx_powerdomains_init(); |
434 | omap3xxx_clockdomains_init(); | 425 | omap3xxx_clockdomains_init(); |
@@ -462,7 +453,6 @@ void __init ti81xx_init_early(void) | |||
462 | omap2_set_globals_ti81xx(); | 453 | omap2_set_globals_ti81xx(); |
463 | omap3xxx_check_revision(); | 454 | omap3xxx_check_revision(); |
464 | ti81xx_check_features(); | 455 | ti81xx_check_features(); |
465 | omap_common_init_early(); | ||
466 | omap3xxx_voltagedomains_init(); | 456 | omap3xxx_voltagedomains_init(); |
467 | omap3xxx_powerdomains_init(); | 457 | omap3xxx_powerdomains_init(); |
468 | omap3xxx_clockdomains_init(); | 458 | omap3xxx_clockdomains_init(); |
@@ -520,7 +510,6 @@ void __init am33xx_init_early(void) | |||
520 | omap2_set_globals_am33xx(); | 510 | omap2_set_globals_am33xx(); |
521 | omap3xxx_check_revision(); | 511 | omap3xxx_check_revision(); |
522 | ti81xx_check_features(); | 512 | ti81xx_check_features(); |
523 | omap_common_init_early(); | ||
524 | am33xx_voltagedomains_init(); | 513 | am33xx_voltagedomains_init(); |
525 | am33xx_powerdomains_init(); | 514 | am33xx_powerdomains_init(); |
526 | am33xx_clockdomains_init(); | 515 | am33xx_clockdomains_init(); |
@@ -536,7 +525,6 @@ void __init omap4430_init_early(void) | |||
536 | omap2_set_globals_443x(); | 525 | omap2_set_globals_443x(); |
537 | omap4xxx_check_revision(); | 526 | omap4xxx_check_revision(); |
538 | omap4xxx_check_features(); | 527 | omap4xxx_check_features(); |
539 | omap_common_init_early(); | ||
540 | omap44xx_voltagedomains_init(); | 528 | omap44xx_voltagedomains_init(); |
541 | omap44xx_powerdomains_init(); | 529 | omap44xx_powerdomains_init(); |
542 | omap44xx_clockdomains_init(); | 530 | omap44xx_clockdomains_init(); |
@@ -558,7 +546,6 @@ void __init omap5_init_early(void) | |||
558 | { | 546 | { |
559 | omap2_set_globals_5xxx(); | 547 | omap2_set_globals_5xxx(); |
560 | omap5xxx_check_revision(); | 548 | omap5xxx_check_revision(); |
561 | omap_common_init_early(); | ||
562 | } | 549 | } |
563 | #endif | 550 | #endif |
564 | 551 | ||