diff options
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 2bef5a7e6af8..e210fa830f8d 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -55,6 +55,12 @@ | |||
55 | #include "prm44xx.h" | 55 | #include "prm44xx.h" |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * omap_clk_init: points to a function that does the SoC-specific | ||
59 | * clock initializations | ||
60 | */ | ||
61 | int (*omap_clk_init)(void); | ||
62 | |||
63 | /* | ||
58 | * The machine specific code may provide the extra mapping besides the | 64 | * The machine specific code may provide the extra mapping besides the |
59 | * default mapping provided here. | 65 | * default mapping provided here. |
60 | */ | 66 | */ |
@@ -406,7 +412,7 @@ void __init omap2420_init_early(void) | |||
406 | omap242x_clockdomains_init(); | 412 | omap242x_clockdomains_init(); |
407 | omap2420_hwmod_init(); | 413 | omap2420_hwmod_init(); |
408 | omap_hwmod_init_postsetup(); | 414 | omap_hwmod_init_postsetup(); |
409 | omap2420_clk_init(); | 415 | omap_clk_init = omap2420_clk_init; |
410 | } | 416 | } |
411 | 417 | ||
412 | void __init omap2420_init_late(void) | 418 | void __init omap2420_init_late(void) |
@@ -436,7 +442,7 @@ void __init omap2430_init_early(void) | |||
436 | omap243x_clockdomains_init(); | 442 | omap243x_clockdomains_init(); |
437 | omap2430_hwmod_init(); | 443 | omap2430_hwmod_init(); |
438 | omap_hwmod_init_postsetup(); | 444 | omap_hwmod_init_postsetup(); |
439 | omap2430_clk_init(); | 445 | omap_clk_init = omap2430_clk_init; |
440 | } | 446 | } |
441 | 447 | ||
442 | void __init omap2430_init_late(void) | 448 | void __init omap2430_init_late(void) |
@@ -471,7 +477,7 @@ void __init omap3_init_early(void) | |||
471 | omap3xxx_clockdomains_init(); | 477 | omap3xxx_clockdomains_init(); |
472 | omap3xxx_hwmod_init(); | 478 | omap3xxx_hwmod_init(); |
473 | omap_hwmod_init_postsetup(); | 479 | omap_hwmod_init_postsetup(); |
474 | omap3xxx_clk_init(); | 480 | omap_clk_init = omap3xxx_clk_init; |
475 | } | 481 | } |
476 | 482 | ||
477 | void __init omap3430_init_early(void) | 483 | void __init omap3430_init_early(void) |
@@ -509,7 +515,7 @@ void __init ti81xx_init_early(void) | |||
509 | omap3xxx_clockdomains_init(); | 515 | omap3xxx_clockdomains_init(); |
510 | omap3xxx_hwmod_init(); | 516 | omap3xxx_hwmod_init(); |
511 | omap_hwmod_init_postsetup(); | 517 | omap_hwmod_init_postsetup(); |
512 | omap3xxx_clk_init(); | 518 | omap_clk_init = omap3xxx_clk_init; |
513 | } | 519 | } |
514 | 520 | ||
515 | void __init omap3_init_late(void) | 521 | void __init omap3_init_late(void) |
@@ -577,7 +583,7 @@ void __init am33xx_init_early(void) | |||
577 | am33xx_clockdomains_init(); | 583 | am33xx_clockdomains_init(); |
578 | am33xx_hwmod_init(); | 584 | am33xx_hwmod_init(); |
579 | omap_hwmod_init_postsetup(); | 585 | omap_hwmod_init_postsetup(); |
580 | am33xx_clk_init(); | 586 | omap_clk_init = am33xx_clk_init; |
581 | } | 587 | } |
582 | #endif | 588 | #endif |
583 | 589 | ||
@@ -602,7 +608,7 @@ void __init omap4430_init_early(void) | |||
602 | omap44xx_clockdomains_init(); | 608 | omap44xx_clockdomains_init(); |
603 | omap44xx_hwmod_init(); | 609 | omap44xx_hwmod_init(); |
604 | omap_hwmod_init_postsetup(); | 610 | omap_hwmod_init_postsetup(); |
605 | omap4xxx_clk_init(); | 611 | omap_clk_init = omap4xxx_clk_init; |
606 | } | 612 | } |
607 | 613 | ||
608 | void __init omap4430_init_late(void) | 614 | void __init omap4430_init_late(void) |