From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D8F5C433F5 for ; Thu, 30 Sep 2021 11:53:18 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67967619E2 for ; Thu, 30 Sep 2021 11:53:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 67967619E2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de 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) 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 Content-Transfer-Encoding: 8bit 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 */ -- 2.25.4