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: 64551 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 nB3E5Zkl001356 for ; Thu, 3 Dec 2009 14:05:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755333AbZLCOF0 (ORCPT ); Thu, 3 Dec 2009 09:05:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755297AbZLCOF0 (ORCPT ); Thu, 3 Dec 2009 09:05:26 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:61521 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbZLCOFZ (ORCPT ); Thu, 3 Dec 2009 09:05:25 -0500 Received: by bwz27 with SMTP id 27so1102712bwz.21 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 Cc: Tony Lindgren , Linux MTD 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/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)