From patchwork Tue Oct 5 08:58:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1536581 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 (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=GgTEoQyY; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=mQCngiE7; dkim-atps=neutral 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=) 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) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HNs2s6f1Rz9sRK for ; Tue, 5 Oct 2021 19:59:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A4D181D6C; Tue, 5 Oct 2021 10:59:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633424352; bh=BKufBxAgq42X7X9Pt/2+B+6BFgQkno5WP2r9/K+Fn7E=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=GgTEoQyYOjoDnNIm+AV0yYGsag1AbxZkOCvV3XFfc2QQoDkoPy6FxlJ/MVk73IUva GfcKz5RE0yIM/8W2x6/9LFRvvCWj+fi+Y3plwsqRHrUoCF2+RcP/c7wDt1jfkbXhtL s7xxNZqr23UxFGN4H8dTooL6QeyLlvyy0Eid2A3G5Icxx1kSdzwGI6t6uObM7ezd7l fKhuEq8XuN1JotbBnCClx2HRcNvnbXEHMsp9ybIkzEVgTLfjmDxiK3AQVdJ+A88N3b h551z0URqtZ0CYjnXW2fxrIMyVTUNb+qhSxdCIuh7OSknhBBn5VmWqmLwWHw9knc8V CPvYYvj6DfUgg== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 8130281E1C; Tue, 5 Oct 2021 10:59:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633424346; bh=BKufBxAgq42X7X9Pt/2+B+6BFgQkno5WP2r9/K+Fn7E=; h=From:To:Cc:Subject:Date:From; b=mQCngiE7arpRnb2ZVAfab4TWrtlIzYqv4iLNY67vFHe/nCWRvOJsLS0sAbYHpJKit KnqfH+hvUCVqZQxwulOQ/w2YeR6hYx3EqFhI3iT+y1P5W4x1yy1Ze1tmxdXAvFcLII KP9gKOhpPu8FJhcFiB/gHhjzH4PHIcl+9rCINA1xu6jU10GehQdZMJ7M6a7WxAsgkV Ee1Ne/b9olJ7iuqH101zZK+i13KHUp0eqOzGOEU+dhDjEIiD2pc9+haFdoe2l2oLab tCayEGDMKVB4CSdECIJ9/eId+39r/iFXhIOFNKhcs7+0Ixxl0LZ9g4/mTuJUDMsykR o0iyeC0tNPulA== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Horatiu Vultur , Jagan Teki , Simon Goldschmidt , Stefan Roese , Vignesh R Subject: [PATCH v2] mtd: spi-nor-ids: Reinstate Micron MT25QL02G Date: Tue, 5 Oct 2021 10:58:47 +0200 Message-Id: <20211005085847.62761-1-marex@denx.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 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 This ID disappeared in 5b66fdb29dc ("mtd: spi: Remove unused files"), add the ID back, since the chip is used on devices supported by U-Boot. Fixes: 5b66fdb29dc ("mtd: spi: Remove unused files") Signed-off-by: Marek Vasut Cc: Horatiu Vultur Cc: Jagan Teki Cc: Simon Goldschmidt Cc: Stefan Roese Cc: Vignesh R Reviewed-by: Stefan Roese --- V2: Enable 4B opcodes which are supported by this chip --- 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 4aef1ddd6e2..39af04cf795 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -195,6 +195,7 @@ const struct flash_info spi_nor_ids[] = { { 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("mt25ql02g", 0x20ba22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE | SPI_NOR_4B_OPCODES) }, #ifdef CONFIG_SPI_FLASH_MT35XU { INFO("mt35xu512aba", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES | SPI_NOR_OCTAL_DTR_READ) }, #endif /* CONFIG_SPI_FLASH_MT35XU */