From patchwork Wed Jul 11 07:38:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Cl=C3=A9ment_Laigle?= X-Patchwork-Id: 942454 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=catie.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=bnc3.mailjet.com header.i=c.laigle=catie.fr@bnc3.mailjet.com header.b="Q4AdDB5a"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41QcT011fLz9s01 for ; Wed, 11 Jul 2018 21:35:48 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BB909C21DEC; Wed, 11 Jul 2018 11:35:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0A90AC21E45; Wed, 11 Jul 2018 11:34:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BAD70C21DEC; Wed, 11 Jul 2018 07:38:23 +0000 (UTC) Received: from o22.p25.mailjet.com (o22.p25.mailjet.com [185.189.236.22]) by lists.denx.de (Postfix) with ESMTPS id BBEA8C21C29 for ; Wed, 11 Jul 2018 07:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=c.laigle=3Dcatie.fr@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:x-mj-smtpguid:x-report-abuse-to:content-type:content-transfer-encoding; bh=wBdJO7wkZZ1okRNKVj8Kj1V3uxejKP9ZX5YLBguxXRs=; b=Q4AdDB5aA7HcV5WF9WJFRoxrCIc0GENcKYRLDajtdjU8ZfinpFZ+RiCjI P/1xgJ4JnjflsiuZdr/dA19lc/ucee460nSVBC2kQXIxI+DMoTJ3hk4yvGJd Sly8No5x4tXomBRhP5QCtoeVyvGAoVq7XpqWDTa1ltVpyrpFKbgJ2s= Message-Id: <48967cc2.AMMAAA9BrmcAAAAAAAAAAALjdEIAAAAA0lkAAAAAAAkLgwBbRbPt@mailjet.com> MIME-Version: 1.0 From: =?utf-8?q?Cl=C3=A9ment_Laigle?= To: u-boot@lists.denx.de Date: Wed, 11 Jul 2018 09:38:20 +0200 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AMMAAA9BrmcAAAAAAAAAAALjdEIAAAAA0lkAAAAAAAkLgwBbRbPt8GRwiReATv6QPY4duMQ2AwAIlB4 X-MJ-SMTPGUID: ea96fded-66e4-46a9-a8a4-0775733230ad X-REPORT-ABUSE-TO: Message sent by Mailjet please report to abuse@mailjet.com with a copy of the message X-Mailman-Approved-At: Wed, 11 Jul 2018 11:34:33 +0000 Cc: Clement Laigle Subject: [U-Boot] [PATCH] mtd: add spi flash id s25fl128l X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Clement Laigle Add support for SPANSION s25fl128l 256k and 64k Signed-off-by: Clément Laigle --- drivers/mtd/spi/spi_flash_ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index 9212373dae..f7e9e92955 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -107,6 +107,8 @@ const struct spi_flash_info spi_flash_ids[] = { {"s25fl064p", INFO(0x010216, 0x4d00, 64 * 1024, 128, RD_FULL | WR_QPP) }, {"s25fl128s_256k", INFO(0x012018, 0x4d00, 256 * 1024, 64, RD_FULL | WR_QPP) }, {"s25fl128s_64k", INFO(0x012018, 0x4d01, 64 * 1024, 256, RD_FULL | WR_QPP) }, + {"s25fl128l_256k", INFO(0x016018, 0x0, 256 * 1024, 64, RD_FULL | WR_QPP) }, + {"s25fl128l_64k", INFO(0x016018, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) }, {"s25fl256s_256k", INFO(0x010219, 0x4d00, 256 * 1024, 128, RD_FULL | WR_QPP) }, {"s25fs256s_64k", INFO6(0x010219, 0x4d0181, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) }, {"s25fl256s_64k", INFO(0x010219, 0x4d01, 64 * 1024, 512, RD_FULL | WR_QPP) },