Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1272950pxv; Fri, 23 Jul 2021 04:29:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOpGeYffvEEW6MdSCKgZRkfOgDaLgMufwKQfXQUFgRc5Eckit+hM46LIl1oH1F4GWEyKu2 X-Received: by 2002:a6b:f41a:: with SMTP id i26mr3644909iog.162.1627039744076; Fri, 23 Jul 2021 04:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627039744; cv=none; d=google.com; s=arc-20160816; b=NN2JwURfLkEdaxwJHfdI3dqStZkDo2RjK1bmLlPXBPYmd83KnVNkvA0pOsaqvgIbGc AaM++GjLmly6eHknNjEdyPbHT2Hj7pHbY04NzegIwznux9c1r1nfkYYXyaKyDtVmUTKs qziQmuG3qLQ8H9X6TEjhp6rIpHMvPiXfTCZF6STJS9wyhZOTpwQZ8HDZOJTCbMkdECRM /D8hWyDRnbUQTu4Y+0b0eSQ+Ah4nnGooLemk8nkjHKdoWycl5jwDY/xop28Replgf5O7 rudPjFkgpPElIOKGfiVT5XgTudJQldo5cl43MqQdseo6kU4ah3k+PyDFPkOaqBodSTuw 77mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=aAPkXdl9E/1o3H8cpUC5g2ADIsYXfWAWx1RrAJRr6nI=; b=JZRhrztvTNLPqWTwaTOWG/dVWN3Hw9sMTi3d0R8OttaLLV4d90PoI2K1018KRQUiSy J3r4YxDbx8kf1vWGPSoM05lDFv6LHZVlub7pn0cqPT6gK9kCvlX7Lp/Px3Tnrxq2F/aa V6v41jO4lNAbbX7jTGxFYydxbCOqM5SqLwhCWaUbHh9deeESPiAeL1udTQ474LkKozYc F39TBhaLq3STBqRWwJi6MaIgeWrWt0YGn2ofo713lJcqaJRWfKuxY6a7MgiyiFqDEV8u 5VdV83W7GWo3xBAS3/SCerAidT1PZyEjcK+AQiBT5Ww8AitTKkzquu3DuLc7q21OB4dC lG0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=LK7gENqp; dkim=pass header.i=@tq-group.com header.s=key1 header.b=h4KSTu0h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si25201589ill.122.2021.07.23.04.28.52; Fri, 23 Jul 2021 04:29:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=LK7gENqp; dkim=pass header.i=@tq-group.com header.s=key1 header.b=h4KSTu0h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234256AbhGWKrh (ORCPT + 99 others); Fri, 23 Jul 2021 06:47:37 -0400 Received: from mx1.tq-group.com ([93.104.207.81]:16149 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231428AbhGWKrg (ORCPT ); Fri, 23 Jul 2021 06:47:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1627039690; x=1658575690; h=from:to:cc:subject:date:message-id; bh=aAPkXdl9E/1o3H8cpUC5g2ADIsYXfWAWx1RrAJRr6nI=; b=LK7gENqpFNtQk3A/yolYcRTXL4RnVwVQvPoDzLakQJ1mhz0ZpUcgt6oH nr3/wCZTasADbzl/0wmRyFEjWO0lVRdiL27P7sCyBmDaGZT8IK+8AWaRP Z+7feMwsEOj5/KGSjtMRif7FQlHgV5xEmFMD/sPKIFM/EtcsYntJMYHbj SK/UHyzgAp8zU5YtomQZp7mwQrovL099Mupfu1yaeYBaFDqtaT+7wkDvS Xp/8OlA7Gx3eCOqvgUIpUV3mLPDtTTZTWcgx1cfdHqWHA4miVYPwyLHEh TYNLjvoSeJ1zX41+8nZ3ghYcLPDn0kN7OqL4cHJ9xvIJkiOcRcXk7WVsm w==; X-IronPort-AV: E=Sophos;i="5.84,263,1620684000"; d="scan'208";a="18612749" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 23 Jul 2021 13:28:09 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 23 Jul 2021 13:28:09 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 23 Jul 2021 13:28:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1627039689; x=1658575689; h=from:to:cc:subject:date:message-id; bh=aAPkXdl9E/1o3H8cpUC5g2ADIsYXfWAWx1RrAJRr6nI=; b=h4KSTu0h3PRuS4TF+4Lr4py4OjWHemgSnDmoSAktY+VA75Tyupz9m+sw dDPs9kSFTFWHulQTBTr/nkxsJ3GJNv5ZmvRlW6mHq/YUqCTLdRowc2XVa fd3mnICkP47GEK7UzpJW85XHquUH8uoMbenmyvd9cQDarXBcvLddJlCKW 84XEWtJ2aNIpZesuMjbB0qWEiTBaNftJlAZpYVnITs1L04G56f8Ew/DKK koM6YH+JOLNgq7nWaFMCCMqqe1jlh0mk4epFGE9Tpezljh/U1WrnQLZ64 g4N21Hlz+pFuv0v1Xm1AHW+5K75kSO5ogxW4CFwZ5AlAApp5YrdaFQEmi Q==; X-IronPort-AV: E=Sophos;i="5.84,263,1620684000"; d="scan'208";a="18612748" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 23 Jul 2021 13:28:09 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.121.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 0EEA4280070; Fri, 23 Jul 2021 13:28:09 +0200 (CEST) From: Matthias Schiffer To: Tudor Ambarus , Michael Walle , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH 1/2] mtd: spi-nor: micron-st: sync flags of mt25ql02g and mt25qu02g with other mt25q Date: Fri, 23 Jul 2021 13:27:47 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All mt25q variants have the same features. Unlike the smaller variants, no n25q with 2G exists, so we don't need to match on the extended ID to distinguish n25q and mt25q series for these models. Signed-off-by: Matthias Schiffer --- drivers/mtd/spi-nor/micron-st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c index c224e59820a1..d5baa8762c8d 100644 --- a/drivers/mtd/spi-nor/micron-st.c +++ b/drivers/mtd/spi-nor/micron-st.c @@ -181,11 +181,11 @@ static const struct flash_info st_parts[] = { SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { "mt25ql02g", INFO(0x20ba22, 0, 64 * 1024, 4096, - SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | - NO_CHIP_ERASE) }, + SECT_4K | USE_FSR | SPI_NOR_DUAL_READ | + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mt25qu02g", INFO(0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_DUAL_READ | - SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "m25p05", INFO(0x202010, 0, 32 * 1024, 2, 0) }, { "m25p10", INFO(0x202011, 0, 32 * 1024, 4, 0) }, -- 2.17.1