From patchwork Sun Oct 19 17:32:52 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lennert Buytenhek X-Patchwork-Id: 5036 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 D180ADDDE7 for ; Mon, 20 Oct 2008 06:36: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 1Kre31-0003DD-HW; Sun, 19 Oct 2008 19:34:43 +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 1Kre2y-0003D2-LF for linux-mtd@lists.infradead.org; Sun, 19 Oct 2008 19:34:41 +0000 Received: by xi.wantstofly.org (Postfix, from userid 500) id 0945B7FAB3; Sun, 19 Oct 2008 21:34:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on xi.wantstofly.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Original-To: buytenh@wantstofly.org Delivered-To: buytenh@wantstofly.org Received: by xi.wantstofly.org (Postfix, from userid 500) id 262127FAB3; Sun, 19 Oct 2008 19:32:53 +0200 (CEST) Date: Sun, 19 Oct 2008 19:32:52 +0200 From: Lennert Buytenhek To: dbrownell@users.sourceforge.net, spi-devel-general@lists.sourceforge.net Subject: [PATCH] mtd m25p80: add support for Macronix MX25L12805D Message-ID: <20081019173252.GA16094@xi.wantstofly.org> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Resent-From: buytenh@wantstofly.org Resent-Date: Sun, 19 Oct 2008 21:34:39 +0200 Resent-To: linux-mtd@lists.infradead.org Resent-Message-Id: <20081019193440.0945B7FAB3@xi.wantstofly.org> X-Spam-Score: -0.0 (/) Cc: nico@marvell.com, prafulla@marvell.com 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). */