diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-02-29 15:56:18 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-02-29 15:56:18 -0500 |
commit | b23f46c7471d0adcf81092b6702299562c4149c5 (patch) | |
tree | e12e2481046102133e5b84f38526e510e69d209d /arch/arm/mach-omap2/io.c | |
parent | abf45ce84c4e36bd64aef20d7df9a79bd5e4b799 (diff) | |
parent | 5405520d08b691bfa5bdad395ad72ecbc0979d3b (diff) |
Merge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
* 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: split omap2/3/4_check_revision function
ARM: OMAP2+: Make cpu_rev static global variable
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 eb50c29fb644..5f8c4e1a3fb9 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -351,7 +351,6 @@ static int _set_hwmod_postsetup_state(struct omap_hwmod *oh, void *data) | |||
351 | 351 | ||
352 | static void __init omap_common_init_early(void) | 352 | static void __init omap_common_init_early(void) |
353 | { | 353 | { |
354 | omap2_check_revision(); | ||
355 | omap_init_consistent_dma_size(); | 354 | omap_init_consistent_dma_size(); |
356 | } | 355 | } |
357 | 356 | ||
@@ -392,6 +391,7 @@ static void __init omap_hwmod_init_postsetup(void) | |||
392 | void __init omap2420_init_early(void) | 391 | void __init omap2420_init_early(void) |
393 | { | 392 | { |
394 | omap2_set_globals_242x(); | 393 | omap2_set_globals_242x(); |
394 | omap2xxx_check_revision(); | ||
395 | omap_common_init_early(); | 395 | omap_common_init_early(); |
396 | omap2xxx_voltagedomains_init(); | 396 | omap2xxx_voltagedomains_init(); |
397 | omap242x_powerdomains_init(); | 397 | omap242x_powerdomains_init(); |
@@ -406,6 +406,7 @@ void __init omap2420_init_early(void) | |||
406 | void __init omap2430_init_early(void) | 406 | void __init omap2430_init_early(void) |
407 | { | 407 | { |
408 | omap2_set_globals_243x(); | 408 | omap2_set_globals_243x(); |
409 | omap2xxx_check_revision(); | ||
409 | omap_common_init_early(); | 410 | omap_common_init_early(); |
410 | omap2xxx_voltagedomains_init(); | 411 | omap2xxx_voltagedomains_init(); |
411 | omap243x_powerdomains_init(); | 412 | omap243x_powerdomains_init(); |
@@ -424,6 +425,8 @@ void __init omap2430_init_early(void) | |||
424 | void __init omap3_init_early(void) | 425 | void __init omap3_init_early(void) |
425 | { | 426 | { |
426 | omap2_set_globals_3xxx(); | 427 | omap2_set_globals_3xxx(); |
428 | omap3xxx_check_revision(); | ||
429 | omap3xxx_check_features(); | ||
427 | omap_common_init_early(); | 430 | omap_common_init_early(); |
428 | omap3xxx_voltagedomains_init(); | 431 | omap3xxx_voltagedomains_init(); |
429 | omap3xxx_powerdomains_init(); | 432 | omap3xxx_powerdomains_init(); |
@@ -456,6 +459,8 @@ void __init am35xx_init_early(void) | |||
456 | void __init ti81xx_init_early(void) | 459 | void __init ti81xx_init_early(void) |
457 | { | 460 | { |
458 | omap2_set_globals_ti81xx(); | 461 | omap2_set_globals_ti81xx(); |
462 | omap3xxx_check_revision(); | ||
463 | ti81xx_check_features(); | ||
459 | omap_common_init_early(); | 464 | omap_common_init_early(); |
460 | omap3xxx_voltagedomains_init(); | 465 | omap3xxx_voltagedomains_init(); |
461 | omap3xxx_powerdomains_init(); | 466 | omap3xxx_powerdomains_init(); |
@@ -470,6 +475,8 @@ void __init ti81xx_init_early(void) | |||
470 | void __init omap4430_init_early(void) | 475 | void __init omap4430_init_early(void) |
471 | { | 476 | { |
472 | omap2_set_globals_443x(); | 477 | omap2_set_globals_443x(); |
478 | omap4xxx_check_revision(); | ||
479 | omap4xxx_check_features(); | ||
473 | omap_common_init_early(); | 480 | omap_common_init_early(); |
474 | omap44xx_voltagedomains_init(); | 481 | omap44xx_voltagedomains_init(); |
475 | omap44xx_powerdomains_init(); | 482 | omap44xx_powerdomains_init(); |