aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCheng Ming Lin <chengminglin@mxic.com.tw>2025-04-07 15:53:59 +0800
committerPratyush Yadav <pratyush@kernel.org>2025-04-08 15:00:51 +0000
commitc425efacec03d9fb6c7bad1678daf717f201e934 (patch)
tree6cc875702bed3eb8ad9e7db1841d2567d4b7ec38
parentmtd: spi-nor: macronix: Drop the redundant flash info fields (diff)
downloadwireguard-linux-c425efacec03d9fb6c7bad1678daf717f201e934.tar.xz
wireguard-linux-c425efacec03d9fb6c7bad1678daf717f201e934.zip
mtd: spi-nor: macronix: Remove duplicate flash info entries
To clean up the code and reduce duplication, this entry is removed. Signed-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Pratyush Yadav <pratyush@kernel.org> Link: https://lore.kernel.org/r/20250407075400.1113177-3-linchengming884@gmail.com
-rw-r--r--drivers/mtd/spi-nor/macronix.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index 7dbe1686b56d..07956a0d5c97 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -161,13 +161,6 @@ static const struct flash_info macronix_nor_parts[] = {
.id = SNOR_ID(0xc2, 0x25, 0x3a),
.fixups = &macronix_qpp4b_fixups,
}, {
- .id = SNOR_ID(0xc2, 0x25, 0x3a),
- .name = "mx66u51235f",
- .size = SZ_64M,
- .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
- .fixup_flags = SPI_NOR_4B_OPCODES,
- .fixups = &macronix_qpp4b_fixups,
- }, {
/* MX66U1G45G */
.id = SNOR_ID(0xc2, 0x25, 0x3b),
.fixups = &macronix_qpp4b_fixups,