From patchwork Thu Aug 27 12:04:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Bordug X-Patchwork-Id: 32249 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 44BD2B7BB2 for ; Thu, 27 Aug 2009 22:05:59 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Mgdi2-00071Y-Tb; Thu, 27 Aug 2009 12:04:06 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Mgdhx-0006td-8V for linux-mtd@lists.infradead.org; Thu, 27 Aug 2009 12:04:05 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id C79B31C154B1 for ; Thu, 27 Aug 2009 14:03:58 +0200 (CEST) X-Auth-Info: H35JAkjDjIO7hRTiflEbRA2XMFdipUgq3hXisp9HUKo= Received: from vitb-lp.localdomain (unknown [89.169.140.112]) by smtp-auth.mnet-online.de (Postfix) with ESMTP id 6B51E901B1 for ; Thu, 27 Aug 2009 14:03:58 +0200 (CEST) Received: from vitb-lp (vitb-lp [127.0.0.1]) by vitb-lp.localdomain (Postfix) with ESMTP id 0D7C61DD for ; Thu, 27 Aug 2009 16:04:38 +0400 (MSD) Date: Thu, 27 Aug 2009 16:04:33 +0400 From: Vitaly Bordug To: linux-mtd@lists.infradead.org Subject: [PATCH] jedec: Fix compilation problem with I28F640C3B definition Message-ID: <20090827160433.45e595f6@vitb-lp> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i586-redhat-linux-gnu) Mime-Version: 1.0 X-Spam-Score: 0.0 (/) 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 Fix compilation problem with I28F640C3B definition From: Stefan Roese Date: Tue Feb 12 17:05:25 2008 +0100 mtd: Fix compilation problem with I28F640C3B definition Signed-off-by: Stefan Roese Signed-off-by: Vitaly Bordug --- This has been sitting in DENX tree for a while, any reason not having it upstream? drivers/mtd/chips/jedec_probe.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c index ccc4cfc..94a0d8f 100644 --- a/drivers/mtd/chips/jedec_probe.c +++ b/drivers/mtd/chips/jedec_probe.c @@ -111,6 +111,11 @@ #define I28F320B3B 0x8897 #define I28F640B3T 0x8898 #define I28F640B3B 0x8899 +#define I28F640C3B 0x88CD +#define I28F160F3T 0x88F3 +#define I28F160F3B 0x88F4 +#define I28F160C3T 0x88C2 +#define I28F160C3B 0x88C3 #define I82802AB 0x00ad #define I82802AC 0x00ac @@ -1103,6 +1108,19 @@ static const struct amd_flash_info jedec_table[] = { } }, { .mfr_id = MANUFACTURER_INTEL, + .dev_id = I28F640C3B, + .name = "Intel 28F640C3B", + .devtypes = CFI_DEVICETYPE_X16, + .uaddr = MTD_UADDR_UNNECESSARY, + .dev_size = SIZE_8MiB, + .cmd_set = P_ID_INTEL_STD, + .nr_regions = 2, + .regions = { + ERASEINFO(0x02000, 8), + ERASEINFO(0x10000, 127), + } + }, { + .mfr_id = MANUFACTURER_INTEL, .dev_id = I82802AB, .name = "Intel 82802AB", .devtypes = CFI_DEVICETYPE_X8,