diff mbox

OMAP3515 vs 3525 inversion

Message ID B85A65D85D7EB246BE421B3FB0FBB59301DE563E29@dbde02.ent.ti.com (mailing list archive)
State Superseded, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Sanjeev Premi Nov. 17, 2009, 1:39 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 1c15112..e5a0747 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -270,11 +270,11 @@  void __init omap3_cpuinfo(void)
                strcpy(cpu_name, "3630");
        else if (omap3_has_iva() && omap3_has_sgx())
                strcpy(cpu_name, "3430/3530");
-       else if (omap3_has_sgx()) {
+       else if (omap3_has_iva()) {
                omap_revision = OMAP3525_REV(rev);
                strcpy(cpu_name, "3525");
        }
-       else if (omap3_has_iva()) {
+       else if (omap3_has_sgx()) {
                omap_revision = OMAP3515_REV(rev);
                strcpy(cpu_name, "3515");
        }