diff options
author | Parth Pancholi <parth.pancholi@toradex.com> | 2024-11-05 11:58:44 +0100 |
---|---|---|
committer | Pratyush Yadav <pratyush@kernel.org> | 2024-12-06 16:13:13 +0000 |
commit | 93e00ccab5f7da0c479bbdc6fc08c7e42f07eb5e (patch) | |
tree | 1a747771cf81de66030f24f29e4a6a29e7074bb6 /drivers/mtd | |
parent | d8bde4fd663667822956ad76dc33f0bbfa57bee8 (diff) | |
download | linux-93e00ccab5f7da0c479bbdc6fc08c7e42f07eb5e.tar.gz linux-93e00ccab5f7da0c479bbdc6fc08c7e42f07eb5e.tar.bz2 linux-93e00ccab5f7da0c479bbdc6fc08c7e42f07eb5e.zip |
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 <parth.pancholi@toradex.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20241105105844.257676-1-parth105105@gmail.com
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi-nor/macronix.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index 57a40fa70c6a..99936fd25d43 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -143,12 +143,6 @@ static const struct flash_info macronix_nor_parts[] = { .size = SZ_16M, .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ, }, { - .id = SNOR_ID(0xc2, 0x25, 0x39), - .name = "mx25u25635f", - .size = SZ_32M, - .no_sfdp_flags = SECT_4K, - .fixup_flags = SPI_NOR_4B_OPCODES, - }, { .id = SNOR_ID(0xc2, 0x25, 0x3a), .name = "mx25u51245g", .size = SZ_64M, |