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 D4F7AC433EF for ; Thu, 30 Sep 2021 11:18:02 +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 2E7F7619A6 for ; Thu, 30 Sep 2021 11:18:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2E7F7619A6 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 F2A0A81F0C; Thu, 30 Sep 2021 13:17:59 +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="BJktSNei"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2F40081F0D; Thu, 30 Sep 2021 12:54:23 +0200 (CEST) Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by phobos.denx.de (Postfix) with ESMTP id 1CEA080F1A for ; Thu, 30 Sep 2021 12:54:18 +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=BJktSNeiqEjSZKDAk5vw1 it00e7/vxnTczR2wMe2XXCrM8nQRMEsYpUwKwRqVy5sOzgxXr0ES+wgr9KgdgPP8 +ToiuD6WHSD5fKhygyt60q55XN8U4uAQo3+lzgvhRd/HTpXSZB7LAtT6gSvvqVhH mlwV1Rk+ZQHYV15Rn+9DSA= Received: from samantha.redhat.com (unknown [220.162.164.126]) by smtp7 (Coremail) with SMTP id C8CowABXZX0rl1Vh0SnOzQ--.43517S2; Thu, 30 Sep 2021 18:53:32 +0800 (CST) From: tekkamanv@163.com To: u-boot@lists.denx.de, bmeng.cn@gmail.com, jagan@amarulasolutions.com, vigneshr@ti.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 18:53:29 +0800 Message-Id: <20210930105329.438730-1-tekkamanv@163.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: C8CowABXZX0rl1Vh0SnOzQ--.43517S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GFyUZr1rGw47Ww1rtF13Arb_yoW3Arb_uw nxXryxGw4xKF18K342y3WfZryUZa1FgFn7CFn3K39xA3y5Ar1agwn7XrWrJF1UZa4jvr1D Z3W3Z3s8Ar1YgjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbAnY7UUUUU== X-Originating-IP: [220.162.164.126] X-CM-SenderInfo: 5whnythpdq4qqrwthudrp/1tbiLwweslUMaLXv8gAAsW X-Mailman-Approved-At: Thu, 30 Sep 2021 13:17:58 +0200 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