Skip to content

Commit c425efa

Browse files
zmlin1998Pratyush Yadav
authored andcommitted
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 <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Signed-off-by: Pratyush Yadav <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 947c86e commit c425efa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/mtd/spi-nor/macronix.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,6 @@ static const struct flash_info macronix_nor_parts[] = {
160160
/* MX25U51245G */
161161
.id = SNOR_ID(0xc2, 0x25, 0x3a),
162162
.fixups = &macronix_qpp4b_fixups,
163-
}, {
164-
.id = SNOR_ID(0xc2, 0x25, 0x3a),
165-
.name = "mx66u51235f",
166-
.size = SZ_64M,
167-
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
168-
.fixup_flags = SPI_NOR_4B_OPCODES,
169-
.fixups = &macronix_qpp4b_fixups,
170163
}, {
171164
/* MX66U1G45G */
172165
.id = SNOR_ID(0xc2, 0x25, 0x3b),

0 commit comments

Comments
 (0)