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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35439C41604 for ; Sat, 3 Oct 2020 15:33:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D80C3206DD for ; Sat, 3 Oct 2020 15:33:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TCQIVjAi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=walle.cc header.i=@walle.cc header.b="Z2h/JBaK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D80C3206DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ooepll4I8imdVdLJXOiWIWU4wLeMqg/YnxBCJ7L6fI8=; b=TCQIVjAiBRdV1rpyZjHeKceW1z 06dUNuvCznmy5KrTeJ1XzqQZRo+4nkJXMFwON0O6b0lqCdlX3Rj1uvrCXhDJN25xnqN7O7Jl/nWbE liG3LrY4eiJgkbBFtv1GWJMmVQG7dIS9AX0xt9NGbTDRUKHxnrjl2QvDL58iOOGbamvVOQvJUhdux wcYmaAAG/jLGlPoYf3v97OTC/KlLI/jb1bGlAVvJW8NUx5edkBP1UwBe7qW+8wOEsXS7AIRTK1YRb rQCgCu/NI7r4lhWiRFxCdhYBa/cosESFbVd5heKMIQPHCZsER80BJwiEv+6jlMbcsiDn6sbdGIBfr mfcPcj/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOjWj-0002Wf-U9; Sat, 03 Oct 2020 15:32:49 +0000 Received: from ssl.serverraum.org ([2a01:4f8:151:8464::1:2]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOjWh-0002Vj-Mk for linux-mtd@lists.infradead.org; Sat, 03 Oct 2020 15:32:48 +0000 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 0E43222F9C; Sat, 3 Oct 2020 17:32:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1601739166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MVtpaSxM1HiMcCnSmoqucfjzD+ZzkXJB0QCZni0Pybw=; b=Z2h/JBaKtVhLD7WoFZBHwegXRTPfzwBgrR188T1syoMnup8auSqptd2TP/371XyyK8mc2h NLWeB2vTxK7X8+yijGFnU2HOcSPrSLkISDOysgRf7PqYwVOIdPoFLFVWZy4sRDCo6LJfbl XDLF/4rYXLLoAQBsSymip90ZeeYuXvQ= From: Michael Walle To: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/3] mtd: spi-nor: keep lock bits if they are non-volatile Date: Sat, 3 Oct 2020 17:32:32 +0200 Message-Id: <20201003153235.29762-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201003_113247_863340_FD23C690 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Tudor Ambarus , Richard Weinberger , Michael Walle , Boris Brezillon , Miquel Raynal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org I bundled this as a series, because otherwise there will be conflicts because the "remove global protection flag" patches modify the same lines as the main patch. See invdividual patches for the version history. Michael Walle (3): mtd: spi-nor: atmel: remove global protection flag mtd: spi-nor: sst: remove global protection flag mtd: spi-nor: keep lock bits if they are non-volatile drivers/mtd/spi-nor/Kconfig | 42 ++++++++++++ drivers/mtd/spi-nor/atmel.c | 125 ++++++++++++++++++++++++++++++------ drivers/mtd/spi-nor/core.c | 36 +++++++---- drivers/mtd/spi-nor/core.h | 8 +++ drivers/mtd/spi-nor/esmt.c | 8 ++- drivers/mtd/spi-nor/intel.c | 6 +- drivers/mtd/spi-nor/sst.c | 31 ++++----- 7 files changed, 203 insertions(+), 53 deletions(-) -- 2.20.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/