From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796384858; b=Qz1NJQ7+m6aGd8/pEaAlm7urYHswg2oj7h5ixl4txbz6U4J1gbDAISo3BKNus6Kf7G1F sM2VXdTtMAuI2fj3WfpIjkoRjIdTOPROWHZ6cnJdp7Y+B0cgWuGlbSr63lRltqO269lDN obIOP3UgpTFkFaxbaab97oxZtBJfDOi432KNOFk4EfVJ7efLhxZVyIinnKjQZ0tyajRsq xTcRYmDJxg85JqbKCUuz5hLIpG+3fYRkhThdTiNo/AFUnhb8J++/+M9j4E1reiCEmRjon 82JmR36EUZ9TnUqS77U3OSji0nQhgQDVtnmUtEGnFbWwMWGFzZnvEmlnsjai/h71r6A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796384858; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=SXAxJUhQbHYYC845PP1oZuKpgovNAYeTw4h5rMCjXmc=; b=ljKW37yk42idZ5YQN3go7K+iwhC/QI0hEzAWu1D/CiPjaIpT5j+k6Kn5jznutiCEezLC 5GA9Gt+F3n9OBlQZPVRVvs8nXrIdIygdLexO7g8u61qdvqldtCLJB5S29qkQfUDX5lMdb JfS4otbUiHV4496ctNqsPStxfq9+Xdo1opmrWXtTB6LR41Zc94w9UAMjhrUSy2+4vK3NX TIajVUpLzBhcAI8eYuBCUTVzDI564KfLyV9GvFhYi8J22mOi7ZNS9UUDxeHY9Mq5I/jNd KoHndhjT/L+GekLm7fDZ+W5wvJNWaR56L+aX2/EBnHOD1qQLER2xmrsbLf8DTrP78Zg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=cIeXMrqx; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D54AA606A32C; Fri, 4 Dec 2026 11:47:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=cIeXMrqx Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F1B31F00931; Fri, 4 Dec 2026 11:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796384858; bh=SXAxJUhQbHYYC845PP1oZuKpgovNAYeTw4h5rMCjXmc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cIeXMrqxXnUQ6b2ZePaCJiWsjVYffYAgxHiAYIA6SZWZkxg11pJKsTFTY+iXXvjWV e6trN6kFyyCS5bHbr2RMOOv6tAeBXkoPFkhQwkjkfBbBaoXRd+MkKBrrU4cnVYuqwJ +o2jF4tDYDOd1/g+paR5mUe5ng4VTKvq15tHC8+I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Takahiro Kuwano , Michael Walle , Sasha Levin Subject: [PATCH 6.6 0322/1167] mtd: spi-nor: spansion: Remove s25fs256s0 Date: Fri, 4 Dec 2026 18:55:49 +0900 Message-ID: <20261204100710.397127645@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takahiro Kuwano [ Upstream commit f917d9edf54c3dd578efc231b8fbcd35744f99cd ] The Spansion ID table lists s25fs256s0 and s25fs256s1 as variants distinguished by id[4] (0x00 for 256 KB sectors and 0x01 for 64 KB sectors), following an incorrect statement in the datasheet. The sector size of s25fs256s is configurable between 256 KB and 64 KB. The factory default is 64 KB, and id[4] is always 0x01 regardless of the configured sector size. Remove the invalid s25fs256s0 entry from the ID table. Fixes: 075fd6dff24a ("mtd: spi-nor: spansion: Differentiate between s25fl256s and s25fs256s") Signed-off-by: Takahiro Kuwano Signed-off-by: Michael Walle [ sashal: adjusted by removing the old-format INFO6 s25fs256s0 entry instead of the SNOR_ID entry, because this tree's flash table predates the SNOR_ID conversion. ] Signed-off-by: Sasha Levin --- drivers/mtd/spi-nor/spansion.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c index 828b442735ee8..757c5636d3e35 100644 --- a/drivers/mtd/spi-nor/spansion.c +++ b/drivers/mtd/spi-nor/spansion.c @@ -790,10 +790,6 @@ static const struct flash_info spansion_nor_parts[] = { NO_SFDP_FLAGS(SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) MFR_FLAGS(USE_CLSR) .fixups = &s25fs_s_nor_fixups, }, - { "s25fs256s0", INFO6(0x010219, 0x4d0081, 256 * 1024, 128) - NO_SFDP_FLAGS(SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) - MFR_FLAGS(USE_CLSR) - }, { "s25fs256s1", INFO6(0x010219, 0x4d0181, 64 * 1024, 512) NO_SFDP_FLAGS(SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) MFR_FLAGS(USE_CLSR) -- 2.53.0