From patchwork Tue Jun 14 10:39:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tasslehoff Kjappfot X-Patchwork-Id: 878682 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5EAdU5I029587 for ; Tue, 14 Jun 2011 10:39:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756063Ab1FNKj3 (ORCPT ); Tue, 14 Jun 2011 06:39:29 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:37224 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755914Ab1FNKj2 convert rfc822-to-8bit (ORCPT ); Tue, 14 Jun 2011 06:39:28 -0400 Received: by fxm17 with SMTP id 17so3511331fxm.19 for ; Tue, 14 Jun 2011 03:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=iqh9vMBms1fjfO7iZwv/4CbcsacSVq8M//MwSWH5X/8=; b=HKqcmfy9yIlXXihKlRlKdRRrNr7n19GJw13GF798Lx/dxfvhCh5SRUpPU7KEFM3axe Aszf+8l5CEorhF52HTqnkqqqYS6bw0Nyt+0q64MY5bmmeOjRkU7+p1MWsD/L2nT8e3KJ i5sGBP2r6XMNpx+r2HH/5j7uHXwGZ+x28c7YI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=T55tW9IT+LbjiLRUaP1VlXzeFaT63Le6j7CIageQXjSJF26tyminfQTwaxFLPRKqVO thni7BVc3OaOyit/sjv2antKaFxsDAj5/anD6h0Twaz0CwEHdc5CvKnd6Rr7tpRUYw7S E7D69hae7tdCaUgxgHADaSi/edUmn5Aox8zIo= MIME-Version: 1.0 Received: by 10.223.6.198 with SMTP id a6mr562084faa.126.1308047966364; Tue, 14 Jun 2011 03:39:26 -0700 (PDT) Received: by 10.204.83.149 with HTTP; Tue, 14 Jun 2011 03:39:26 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jun 2011 12:39:26 +0200 Message-ID: Subject: [PATCH] Fix wrong OMAP_ES_x_y defines that make omap_rev_lt_x_y and friends misbehave From: Tasslehoff Kjappfot To: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 14 Jun 2011 10:39:30 +0000 (UTC) From 620fa271b32f8bdd8f06954c0a2c96af6ed1dc7b Mon Sep 17 00:00:00 2001 From: Tasslehoff Kjappfot Date: Tue, 14 Jun 2011 12:06:09 +0200 Subject: [PATCH] Fix wrong OMAP_ES_x_y defines that make omap_rev_lt_x_y and friends misbehave ---  arch/arm/plat-omap/include/plat/cpu.h |    8 ++++----  1 files changed, 4 insertions(+), 4 deletions(-) -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 7d24faa..ec63575 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h @@ -397,10 +397,10 @@ IS_OMAP_TYPE(3517, 0x3517)   * Silicon revisions   */  #define OMAP_ES_1_0 0x00 -#define OMAP_ES_2_0 0x10 -#define OMAP_ES_2_1 0x20 -#define OMAP_ES_3_0 0x30 -#define OMAP_ES_3_1 0x40 +#define OMAP_ES_2_0 0x01 +#define OMAP_ES_2_1 0x02 +#define OMAP_ES_3_0 0x03 +#define OMAP_ES_3_1 0x04  #define OMAP_REV_MASK 0x0000ff00  #define OMAP_REV_BITS ((omap_rev() & OMAP_REV_MASK) >> 8)