From patchwork Thu Sep 30 11:53:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tekkamanv@163.com X-Patchwork-Id: 1534784 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: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=bSogGkeE; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HKs7y6bbNz9sR4 for ; Thu, 30 Sep 2021 21:53:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7DF6382982; Thu, 30 Sep 2021 13:53:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.b="bSogGkeE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D731982B68; Thu, 30 Sep 2021 13:53:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from m12-18.163.com (m12-18.163.com [220.181.12.18]) by phobos.denx.de (Postfix) with ESMTP id 407BE81725 for ; Thu, 30 Sep 2021 13:53:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tekkamanv@163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=Qe+ia TYQ6TxYIkmSxZlHCRyyRoNcWA0rqTuvjNrlziM=; b=bSogGkeEvqB8zlhDZRYRt zKPhGSj6UcXy3/yFsg22BoxxMjAw9Yt+ERhYSLY+PSVLAemFInnXcz7VjpGNA18E g9i21eOhwI6/R3BVu/wWmq2PKHYDVA2VOBJiRxT+sQbIQ5KNTiCb7G/WQ3qZAUBN TBO2tmcIF9305pfwUg8fCo= Received: from samantha.redhat.com (unknown [220.162.164.126]) by smtp14 (Coremail) with SMTP id EsCowABnn+8epVVh6dyIDQ--.45460S2; Thu, 30 Sep 2021 19:53:03 +0800 (CST) From: tekkamanv@163.com To: u-boot@lists.denx.de, bmeng.cn@gmail.com, rick@andestech.com, ycliang@andestech.com Cc: tekkamanv@starfivetech.com, tekkamanv@163.com, tekkamanninja@163.com, "yanhong.wang" Subject: [PATCH] mtd: Add SPI Nor Flash chip GD25LQ256D ID Date: Thu, 30 Sep 2021 19:53:01 +0800 Message-Id: <20210930115301.447517-1-tekkamanv@163.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-CM-TRANSID: EsCowABnn+8epVVh6dyIDQ--.45460S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GFyUZr1rGw47Ww1rtF13Arb_yoW3Arb_uw nxXryxGw4xKF18K342y3WfZryUZa1FgFn7CFn3K39xA3y5Ar1agwn7XrWrJF1UZa4jvr1D Z3W3Z3s8Ar1YgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbPEf5UUUUU== X-Originating-IP: [220.162.164.126] X-CM-SenderInfo: 5whnythpdq4qqrwthudrp/1tbi3x8esmB0Hsl+3AAAsN X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: "yanhong.wang" Signed-off-by: yanhong.wang --- drivers/mtd/spi/spi-nor-ids.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 4aef1ddd6e..35fa347c44 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -122,6 +122,11 @@ const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { + INFO("gd25lq256d", 0xc86019, 0, 64 * 1024, 512, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) + }, #endif #ifdef CONFIG_SPI_FLASH_ISSI /* ISSI */ /* ISSI */