omap3: move check_revision above check_features
authorNishanth Menon <nm@ti.com>
Sun, 22 Nov 2009 18:11:12 +0000 (10:11 -0800)
committerTony Lindgren <tony@atomide.com>
Sun, 22 Nov 2009 18:24:32 +0000 (10:24 -0800)
omap3_check_revision() does not depend on omap3_check_features()
move this above so that we can add logic based on revision
detected in check_features.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c

index 441ca26..6c11b41 100644 (file)
@@ -352,8 +352,8 @@ void __init omap2_check_revision(void)
        if (cpu_is_omap24xx())
                omap24xx_check_revision();
        else if (cpu_is_omap34xx()) {
-               omap3_check_features();
                omap3_check_revision();
+               omap3_check_features();
                omap3_cpuinfo();
        }
        else if (cpu_is_omap44xx()) {