From patchwork Thu Dec 4 04:06:21 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 12180 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@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 88538DDE06 for ; Thu, 4 Dec 2008 15:08:17 +1100 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1L85Ts-000646-R6; Thu, 04 Dec 2008 04:06:24 +0000 Received: from relais.videotron.ca ([24.201.245.36]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1L85Tr-00062A-10 for linux-mtd@lists.infradead.org; Thu, 04 Dec 2008 04:06:23 +0000 MIME-version: 1.0 Received: from xanadu.home ([66.131.194.97]) by VL-MO-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KBC00M433ELTOC0@VL-MO-MR003.ip.videotron.ca> for linux-mtd@lists.infradead.org; Wed, 03 Dec 2008 23:06:22 -0500 (EST) Date: Wed, 03 Dec 2008 23:06:21 -0500 (EST) From: Nicolas Pitre X-X-Sender: nico@xanadu.home To: linux-mtd@lists.infradead.org Subject: [PATCH] [MTD] m25p80: add support for Macronix MX25L12805D Message-id: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) X-Spam-Score: 0.0 (/) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.9 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: Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Nicolas Pitre diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 76a7675..9e23588 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -500,6 +500,9 @@ static struct flash_info __devinitdata m25p_data [] = { { "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, }, { "at26df321", 0x1f4701, 0, 64 * 1024, 64, SECT_4K, }, + /* Macronix */ + { "mx25l12805d", 0xc22018, 64 * 1024, 256, SECT_4K, }, + /* Spansion -- single (large) sector size only, at least * for the chips listed here (without boot sectors). */