From patchwork Wed Dec 9 11:03:06 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjeev Premi X-Patchwork-Id: 65974 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 nB9B3D5k021847 for ; Wed, 9 Dec 2009 11:03:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755090AbZLILDF (ORCPT ); Wed, 9 Dec 2009 06:03:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755140AbZLILDF (ORCPT ); Wed, 9 Dec 2009 06:03:05 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:45902 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755089AbZLILDE (ORCPT ); Wed, 9 Dec 2009 06:03:04 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id nB9B37bC029977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Dec 2009 05:03:09 -0600 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id nB9B361N007408; Wed, 9 Dec 2009 16:33:06 +0530 (IST) From: Sanjeev Premi To: linux-omap@vger.kernel.org Cc: Sergey Lapin , Sanjeev Premi Subject: [PATCH] omap3: Fix macros for 3515 and 3525 inversion Date: Wed, 9 Dec 2009 16:33:06 +0530 Message-Id: <1260356586-25281-1-git-send-email-premi@ti.com> X-Mailer: git-send-email 1.6.2.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 8dd8801..1a80722 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h @@ -393,11 +393,11 @@ IS_OMAP_TYPE(3517, 0x3517) (!omap3_has_iva()) && \ (!omap3_has_sgx())) # define cpu_is_omap3515() (cpu_is_omap3430() && \ - (omap3_has_iva()) && \ - (!omap3_has_sgx())) + (!omap3_has_iva()) && \ + (omap3_has_sgx())) # define cpu_is_omap3525() (cpu_is_omap3430() && \ - (omap3_has_sgx()) && \ - (!omap3_has_iva())) + (!omap3_has_sgx()) && \ + (omap3_has_iva())) # define cpu_is_omap3530() (cpu_is_omap3430()) # define cpu_is_am3505() is_omap3505() # define cpu_is_am3517() is_omap3517()