aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-02-29 15:56:18 -0500
committerArnd Bergmann <arnd@arndb.de>2012-02-29 15:56:18 -0500
commitb23f46c7471d0adcf81092b6702299562c4149c5 (patch)
treee12e2481046102133e5b84f38526e510e69d209d /arch/arm/mach-omap2/io.c
parentabf45ce84c4e36bd64aef20d7df9a79bd5e4b799 (diff)
parent5405520d08b691bfa5bdad395ad72ecbc0979d3b (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.c9
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
352static void __init omap_common_init_early(void) 352static 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)
392void __init omap2420_init_early(void) 391void __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)
406void __init omap2430_init_early(void) 406void __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)
424void __init omap3_init_early(void) 425void __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)
456void __init ti81xx_init_early(void) 459void __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)
470void __init omap4430_init_early(void) 475void __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();