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 3F897C433F5 for ; Tue, 5 Oct 2021 08:59:14 +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 8C1D76120F for ; Tue, 5 Oct 2021 08:59:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8C1D76120F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 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 Content-Transfer-Encoding: 8bit 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 --- 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 */ -- 2.33.0