From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 041983793DF for ; Mon, 1 Jun 2026 12:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780318489; cv=none; b=rIurjUv+oNRiNkWCDBVXolUq2e9+yDK2BksTQlK/dFPOYB6hPIkbfBrsj5cgr2RjWmSTsuaUZLGiMh4CziWRurxBenJUH/rNySSM7KlerqyMy8PcIxNcW+TcBqbXsa8CO5kRgk2ev9n2Mj1L6J2YcUV9HBGRAB5SVI2zgGQbzEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780318489; c=relaxed/simple; bh=auElJvGtfFiLao4aR6+5cNAefiSfLmuSTO7n9y/9FYI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qpMXreEZog7oXJt/uykk7d65AH6lpDNjWIXPWywgytMrQ4/u883MJbVIzvTPpPZjclhYN5s/D3JuorNFEnABDDPiWK0uVuJQk2PpvAMX7eapM4EtCb44Hqg6cjzHqKJOXncj2+veSD5JCQJt0ox/wuRtAPiMf+FmaycOBGXMNHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kinCCRdw; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kinCCRdw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 123E51F00898; Mon, 1 Jun 2026 12:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780318486; bh=SRwPhi2462A+RURXo48O3KUzEVVenRBwhloL8me1CYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kinCCRdwkuknrJyH1gQ3HPoWWlihyL/GQgIWMuJWAW6dF5H6ZKEKF4omB6l8rp2Vm 9dsIWZzwiifaK+mfEw7WOZWxjhXJNRLTYOZvDdvEn/UP1XFPj4vkCwyRHT+VdV2z8D weoN9T/7UI+F8sR/knXBc3QRTDYYKky2TKZeaJ0HEYSVJXH1FKfLmlgQO6VKzc8sZa wt/SVr1QAmQm2fnKCA94sqpRiFfDlxk/t74DS/2uGu6PPwolkc8M0+DJAYStLeptva VsdumYZPxrCro2lBHC3OjqWhFCS/4jwKITm6zvSXFA/RgiQduXJyAOe/uj9zEtkYGQ Ag27bHFzfYbYg== From: Michael Walle To: Pratyush Yadav , Michael Walle , Takahiro Kuwano , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 1/3] mtd: spi-nor: spansion: s25fl256s0: remove SKIP_SFDP flag Date: Mon, 1 Jun 2026 14:52:43 +0200 Message-ID: <20260601125438.3481722-2-mwalle@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260601125438.3481722-1-mwalle@kernel.org> References: <20260601125438.3481722-1-mwalle@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit That flag was added in [1] to not "issue any non supported commands". But since we now have the generic SFDP driver, we'll issue the RDSFDP command on most flashes anyway and there was no single complaint. Remove the only user of this flag so we can rework the parameter initialization in the core. [1] https://lore.kernel.org/linux-mtd/20211207140254.87681-13-tudor.ambarus@microchip.com/ Signed-off-by: Michael Walle --- drivers/mtd/spi-nor/spansion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c index 65227d989de1..092450375d4e 100644 --- a/drivers/mtd/spi-nor/spansion.c +++ b/drivers/mtd/spi-nor/spansion.c @@ -868,7 +868,7 @@ static const struct flash_info spansion_nor_parts[] = { .name = "s25fl256s0", .size = SZ_32M, .sector_size = SZ_256K, - .no_sfdp_flags = SPI_NOR_SKIP_SFDP | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ, + .no_sfdp_flags = SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ, .mfr_flags = USE_CLSR, }, { .id = SNOR_ID(0x01, 0x02, 0x19, 0x4d, 0x00, 0x81), -- 2.47.3