From patchwork Sun Oct 19 21:36:46 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lennert Buytenhek X-Patchwork-Id: 5038 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 44A09DDDE3 for ; Mon, 20 Oct 2008 08:39:19 +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 1KrfxB-0006JL-V1; Sun, 19 Oct 2008 21:36:49 +0000 Received: from [2002:53a0:b870::1] (helo=xi.wantstofly.org) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1Krfx9-0006JD-83 for linux-mtd@lists.infradead.org; Sun, 19 Oct 2008 21:36:48 +0000 Received: by xi.wantstofly.org (Postfix, from userid 500) id 633397FAB3; Sun, 19 Oct 2008 23:36:46 +0200 (CEST) Date: Sun, 19 Oct 2008 23:36:46 +0200 From: Lennert Buytenhek To: linux-mtd@lists.infradead.org Subject: [PATCH] mtd m25p80: add support for Macronix MX25L12805D Message-ID: <20081019213646.GI4129@xi.wantstofly.org> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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 Signed-off-by: Lennert Buytenhek diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index b35c333..299047e 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -467,6 +467,9 @@ static struct flash_info __devinitdata m25p_data [] = { { "at26df161a", 0x1f4601, 64 * 1024, 32, SECT_4K, }, { "at26df321", 0x1f4701, 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). */