Skip to content

Commit 93e00cc

Browse files
Parth PancholiPratyush Yadav
authored andcommitted
mtd: spi-nor: macronix: remove mx25u25635f from parts list to enable SFDP
The Macronix mx25u25635f flash device supports SFDP initialization. This commit removes the specific mx25u25635f entry (NOR ID 0xc22539), along with its size and flags, from the NOR parts list. By removing this entry, both mx25u25635f and mx25u25645g (which share the same NOR ID) will utilize the generic flash driver configuration. This change allows both devices (mx25u25635f and mx25u25645g) to leverage SFDP-defined parameters, enabling dual and quad read operations without the need for manual adjustment of no_sfdp_flags. Link: https://www.macronix.com/Lists/Datasheet/Attachments/8663/MX25U25635F,%201.8V,%20256Mb,%20v1.5.pdf Signed-off-by: Parth Pancholi <[email protected]> Reviewed-by: Pratyush Yadav <[email protected]> Signed-off-by: Pratyush Yadav <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d8bde4f commit 93e00cc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/mtd/spi-nor/macronix.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ static const struct flash_info macronix_nor_parts[] = {
142142
.name = "mx25u12835f",
143143
.size = SZ_16M,
144144
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
145-
}, {
146-
.id = SNOR_ID(0xc2, 0x25, 0x39),
147-
.name = "mx25u25635f",
148-
.size = SZ_32M,
149-
.no_sfdp_flags = SECT_4K,
150-
.fixup_flags = SPI_NOR_4B_OPCODES,
151145
}, {
152146
.id = SNOR_ID(0xc2, 0x25, 0x3a),
153147
.name = "mx25u51245g",

0 commit comments

Comments
 (0)