Commit c425efac authored by Cheng Ming Lin's avatar Cheng Ming Lin Committed by Pratyush Yadav
Browse files

mtd: spi-nor: macronix: Remove duplicate flash info entries



To clean up the code and reduce duplication, this entry is removed.

Signed-off-by: default avatarCheng Ming Lin <chengminglin@mxic.com.tw>
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarPratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20250407075400.1113177-3-linchengming884@gmail.com
parent 947c86e4
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -160,13 +160,6 @@ static const struct flash_info macronix_nor_parts[] = {
		/* MX25U51245G */
		.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),