From patchwork Tue Nov 17 13:39:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjeev Premi X-Patchwork-Id: 60630 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAHDe4XO008017 for ; Tue, 17 Nov 2009 13:40:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613AbZKQNjx (ORCPT ); Tue, 17 Nov 2009 08:39:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752194AbZKQNjx (ORCPT ); Tue, 17 Nov 2009 08:39:53 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:37363 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbZKQNjw convert rfc822-to-8bit (ORCPT ); Tue, 17 Nov 2009 08:39:52 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAHDdtP7002530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Nov 2009 07:39:57 -0600 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nAHDdsc5003713; Tue, 17 Nov 2009 19:09:54 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Tue, 17 Nov 2009 19:09:55 +0530 From: "Premi, Sanjeev" To: Sergey Lapin , "linux-omap@vger.kernel.org" Date: Tue, 17 Nov 2009 19:09:53 +0530 Subject: RE: OMAP3515 vs 3525 inversion Thread-Topic: OMAP3515 vs 3525 inversion Thread-Index: Acpmp52ayhqB7lwZT6SnqAkAxYrdpgA4gbTQ Message-ID: References: <48239d390911160228y61e3c3dbk11b7a819f266b4bd@mail.gmail.com> In-Reply-To: <48239d390911160228y61e3c3dbk11b7a819f266b4bd@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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"); }