diff options
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index cd47a71297b..065bd768987 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -348,7 +348,6 @@ static int _set_hwmod_postsetup_state(struct omap_hwmod *oh, void *data) | |||
348 | 348 | ||
349 | static void __init omap_common_init_early(void) | 349 | static void __init omap_common_init_early(void) |
350 | { | 350 | { |
351 | omap2_check_revision(); | ||
352 | omap_init_consistent_dma_size(); | 351 | omap_init_consistent_dma_size(); |
353 | } | 352 | } |
354 | 353 | ||
@@ -389,6 +388,7 @@ static void __init omap_hwmod_init_postsetup(void) | |||
389 | void __init omap2420_init_early(void) | 388 | void __init omap2420_init_early(void) |
390 | { | 389 | { |
391 | omap2_set_globals_242x(); | 390 | omap2_set_globals_242x(); |
391 | omap2xxx_check_revision(); | ||
392 | omap_common_init_early(); | 392 | omap_common_init_early(); |
393 | omap2xxx_voltagedomains_init(); | 393 | omap2xxx_voltagedomains_init(); |
394 | omap242x_powerdomains_init(); | 394 | omap242x_powerdomains_init(); |
@@ -403,6 +403,7 @@ void __init omap2420_init_early(void) | |||
403 | void __init omap2430_init_early(void) | 403 | void __init omap2430_init_early(void) |
404 | { | 404 | { |
405 | omap2_set_globals_243x(); | 405 | omap2_set_globals_243x(); |
406 | omap2xxx_check_revision(); | ||
406 | omap_common_init_early(); | 407 | omap_common_init_early(); |
407 | omap2xxx_voltagedomains_init(); | 408 | omap2xxx_voltagedomains_init(); |
408 | omap243x_powerdomains_init(); | 409 | omap243x_powerdomains_init(); |
@@ -421,6 +422,8 @@ void __init omap2430_init_early(void) | |||
421 | void __init omap3_init_early(void) | 422 | void __init omap3_init_early(void) |
422 | { | 423 | { |
423 | omap2_set_globals_3xxx(); | 424 | omap2_set_globals_3xxx(); |
425 | omap3xxx_check_revision(); | ||
426 | omap3xxx_check_features(); | ||
424 | omap_common_init_early(); | 427 | omap_common_init_early(); |
425 | omap3xxx_voltagedomains_init(); | 428 | omap3xxx_voltagedomains_init(); |
426 | omap3xxx_powerdomains_init(); | 429 | omap3xxx_powerdomains_init(); |
@@ -453,6 +456,8 @@ void __init am35xx_init_early(void) | |||
453 | void __init ti81xx_init_early(void) | 456 | void __init ti81xx_init_early(void) |
454 | { | 457 | { |
455 | omap2_set_globals_ti81xx(); | 458 | omap2_set_globals_ti81xx(); |
459 | omap3xxx_check_revision(); | ||
460 | ti81xx_check_features(); | ||
456 | omap_common_init_early(); | 461 | omap_common_init_early(); |
457 | omap3xxx_voltagedomains_init(); | 462 | omap3xxx_voltagedomains_init(); |
458 | omap3xxx_powerdomains_init(); | 463 | omap3xxx_powerdomains_init(); |
@@ -467,6 +472,8 @@ void __init ti81xx_init_early(void) | |||
467 | void __init omap4430_init_early(void) | 472 | void __init omap4430_init_early(void) |
468 | { | 473 | { |
469 | omap2_set_globals_443x(); | 474 | omap2_set_globals_443x(); |
475 | omap4xxx_check_revision(); | ||
476 | omap4xxx_check_features(); | ||
470 | omap_common_init_early(); | 477 | omap_common_init_early(); |
471 | omap44xx_voltagedomains_init(); | 478 | omap44xx_voltagedomains_init(); |
472 | omap44xx_powerdomains_init(); | 479 | omap44xx_powerdomains_init(); |