From patchwork Fri Dec 4 22:06:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongwei Zhang X-Patchwork-Id: 1411438 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ami.com Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Cp8Rg0fR7z9sWL for ; Sat, 5 Dec 2020 23:45:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA61C82604; Sat, 5 Dec 2020 13:44:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ami.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id CCFD5825C6; Fri, 4 Dec 2020 23:06:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from atlmailgw1.ami.com (atlmailgw1.ami.com [63.147.10.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3FBA4825BB for ; Fri, 4 Dec 2020 23:06:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ami.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Hongweiz@ami.com X-AuditID: ac1060b2-a7dff700000017ec-3b-5fcab2dc39be Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw1.ami.com (Symantec Messaging Gateway) with SMTP id D3.A7.06124.CD2BACF5; Fri, 4 Dec 2020 17:06:20 -0500 (EST) Received: from ami-us-wk.us.megatrends.com (172.16.98.207) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server (TLS) id 14.3.468.0; Fri, 4 Dec 2020 17:06:20 -0500 From: Hongwei Zhang To: u-boot CC: Hongwei Zhang , Jagan Teki , Vignesh R , Joel Stanley , Andrew Jeffery Subject: [u-boot, v1 1/1] mtd: spi-nor-ids: add STMICRO MT25QL01G flash Date: Fri, 4 Dec 2020 17:06:02 -0500 Message-ID: <20201204220602.5896-2-hongweiz@ami.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201204220602.5896-1-hongweiz@ami.com> References: <20201204220602.5896-1-hongweiz@ami.com> MIME-Version: 1.0 X-Originating-IP: [172.16.98.207] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKLMWRmVeSWpSXmKPExsWyRiBhgu6dTafiDX42GVjsusxh8WXTBDaL 3+f/Mlu83dvJbvH/7Ad2B1aPq+272D3WfrzP6nHx4zFmj7N3djB6HL+xnSmANYrLJiU1J7Ms tUjfLoErY/6Mo+wFhzgrOi+tZGtg/MDexcjJISFgIvFu4gkgm4tDSGAXk8TplU+ZIJydjBIn N8xlA6liE1CT2Lt5DhOILSKgKDFrShNYB7PAekaJ+S++gCWEBdwl9u85yQxiswioSKzq/A4W 5wVa8ft5FwvEOnmJ1RsOgNVwCphK/Ll0m7WLkQNom4nEwSf2EOWCEidnPgErZxaQkDj44gVY uZCArMStQ4+ZIMYoSjz49Z11AqPALCQts5C0LGBkWsUolFiSk5uYmZNebqiXmJupl5yfu4kR ErSbdjC2XDQ/xMjEwXiIUYKDWUmEN1b1ZLwQb0piZVVqUX58UWlOavEhRmkOFiVx3lXuR+OF BNITS1KzU1MLUotgskwcnFINjAsvPnjwJOLSjenGi6bnH5jcP/VMcpw0Q2+5R/Tux8yx8hvl tFSE001TsuWrFnxlU1mq2hO+f/ehlkY1jan/2vylg1vOLN4Ue6Gzo8GlIH/Bs0nc66Oqrszq NeUr3uHhNfHrsSVJNiEWDG1ZGaZ+n9x1kmpnNb63knmUrXJ1ZtYdJrGtGf9eKrEUZyQaajEX FScCANMZ1PNIAgAA X-Mailman-Approved-At: Sat, 05 Dec 2020 13:44:22 +0100 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.102.3 at phobos.denx.de X-Virus-Status: Clean Add STMICRO MT25QL01G flash, used on AST2600 board. Signed-off-by: Hongwei Zhang --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 09e8196048..6d22b80586 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -185,6 +185,7 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q512ax3", 0x20ba20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) }, { INFO("n25q00", 0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, + { INFO("mt25ql01g", 0x21ba20, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25qu02g", 0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt35xu512aba", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) }, { INFO("mt35xu02g", 0x2c5b1c, 0, 128 * 1024, 2048, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },