From patchwork Thu Dec 3 14:05:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vimal singh X-Patchwork-Id: 40165 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 85794B7B65 for ; Fri, 4 Dec 2009 01:07:24 +1100 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NGCJM-0007GX-QL; Thu, 03 Dec 2009 14:05:36 +0000 Received: from mail-bw0-f212.google.com ([209.85.218.212]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NGCJH-0007Ey-1b for linux-mtd@lists.infradead.org; Thu, 03 Dec 2009 14:05:35 +0000 Received: by bwz4 with SMTP id 4so1139665bwz.2 for ; Thu, 03 Dec 2009 06:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=rs/il9XOpuJHoojPkCh9HGJ7RIjOxTLxIRzub1bPQ9A=; b=n5KDxHMjRfLLAmAgdgShV1Vk2vk49cyl7eblomlGKPxxLBwz1fl9yZb4u7u4lUnU6P 1BB3NcOOkSgp2m5zhGPHJGovEu8aB+fe+qnVwCIrsjNnMNy/KADWuNvFY8L8yRB2SNkt fO0694zn87RR8PamnkW4IzSDAUvfJMl3qWDd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=NfLkJDi14HJgh6JcZHPHcca8lRyZMYsAk47Wjwo3hgAR0kDhOm4Qv/QQD+TgIZ8VAh SwP6qZXHc2UT2k0EX6a+8YCGhx1tHzTFLpzJzDipJQcmkR0DGmwTXpxAS2jwjgTjiK0w qxYZkhzWnrPBpgsWVBQa0hVhROMxw9el6ABhs= MIME-Version: 1.0 Received: by 10.204.155.92 with SMTP id r28mr1673991bkw.121.1259849130165; Thu, 03 Dec 2009 06:05:30 -0800 (PST) From: Vimal Singh Date: Thu, 3 Dec 2009 19:35:10 +0530 Message-ID: Subject: [PATCH 1/2]: Correcting GPMC_CONFIG1_DEVICETYPE_NAND To: linux-omap@vger.kernel.org X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20091203_090531_197351_2219B949 X-CRM114-Status: GOOD ( 11.56 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.2.5 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- _SUMMARY_ Cc: Tony Lindgren , Linux MTD X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From efeeb1cfc592c827424b4c76b18150e801bdfbab Mon Sep 17 00:00:00 2001 From: Vimal Singh Date: Wed, 25 Nov 2009 17:47:46 +0530 Subject: [PATCH] Correcting GPMC_CONFIG1_DEVICETYPE_NAND For NAND devices '2' should be used with GPMC_CONFIG1_DEVICETYPE instead of '1'. Signed-off-by: Vimal Singh --- arch/arm/plat-omap/include/plat/gpmc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/gpmc.h b/arch/arm/plat-omap/include/plat/gpmc.h index 696e0ca..e081338 100644 --- a/arch/arm/plat-omap/include/plat/gpmc.h +++ b/arch/arm/plat-omap/include/plat/gpmc.h @@ -45,7 +45,7 @@ #define GPMC_CONFIG1_DEVICESIZE_16 GPMC_CONFIG1_DEVICESIZE(1) #define GPMC_CONFIG1_DEVICETYPE(val) ((val & 3) << 10) #define GPMC_CONFIG1_DEVICETYPE_NOR GPMC_CONFIG1_DEVICETYPE(0) -#define GPMC_CONFIG1_DEVICETYPE_NAND GPMC_CONFIG1_DEVICETYPE(1) +#define GPMC_CONFIG1_DEVICETYPE_NAND GPMC_CONFIG1_DEVICETYPE(2) #define GPMC_CONFIG1_MUXADDDATA (1 << 9) #define GPMC_CONFIG1_TIME_PARA_GRAN (1 << 4) #define GPMC_CONFIG1_FCLK_DIV(val) (val & 3)