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.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 34651C41604 for ; Sat, 3 Oct 2020 14:18:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB405206B8 for ; Sat, 3 Oct 2020 14:17:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=walle.cc header.i=@walle.cc header.b="m/GUfqAR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725866AbgJCOR6 (ORCPT ); Sat, 3 Oct 2020 10:17:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbgJCORx (ORCPT ); Sat, 3 Oct 2020 10:17:53 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D94FC0613D0 for ; Sat, 3 Oct 2020 07:17:53 -0700 (PDT) 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 37B1122F9C; Sat, 3 Oct 2020 16:17:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1601734669; 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=xWjdA4s7EonCQGtN+Y60nZz9xZlyemnkm3xlXkiW6MQ=; b=m/GUfqARhRB5BTDCwk0jfgMY5qfLjfY9zqFglKh42sYaj73wYu39/6gpdyOtWUlxIdZ+Hn auBoGyXrcuyx7vYOJij4D/2kMBFziUc/mdTjEnzQjMyEKrPP0v1dHGNBN/wgP9u1iCXgkk CKJ48jHuUTPeZ6ka+uXQ8DK8l5lOz/o= From: Michael Walle To: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Boris Brezillon , Michael Walle Subject: [PATCH v4 0/3] mtd: spi-nor: keep lock bits if they are non-volatile Date: Sat, 3 Oct 2020 16:17:35 +0200 Message-Id: <20201003141738.8144-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 | 129 ++++++++++++++++++++++++++++++------ 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, 206 insertions(+), 54 deletions(-) -- 2.20.1