mtd: spi-nor-ids: Deduplicate mx25u25635f entry
PATCH 1/1 mtd: spi-nor-ids: Deduplicate mx25u25635f entry
The mx25u25635f entry exists twice in spi_nor_ids, remove the less complete variant of the entry and keep only one copy of it.
---
Cc: Andre Przywara <[email protected]>
Cc: Ashok Reddy Soma <[email protected]>
Cc: Dhruva Gole <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Neal Frager <[email protected]>
Cc: Prasad Kummari <[email protected]>
Cc: Teik Heng Chong <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: [email protected]
--- drivers/mtd/spi/spi-nor-ids.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/spi/spi-nor-ids.c +0 -1
@@ -258,7 +258,6 @@ const struct flash_info spi_nor_ids[] = { { INFO("mx25u6435f", 0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, SECT_4K) }, { INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) }, - { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K) }, { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
Signature · 1 line
2.45.2
Quoted 28 lines · Marek Vasut
The mx25u25635f entry exists twice in
spi_nor_ids, remove the less complete variant of the entry and keep only one copy of it.Fixes f0084f1dfdbc ("drivers/mtd/spi/spi-nor-ids.c: add mx25u25635f support")Signed-off-by Marek Vasut <[email protected]>---
Cc: Andre Przywara <[email protected]>
Cc: Ashok Reddy Soma <[email protected]>
Cc: Dhruva Gole <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Neal Frager <[email protected]>
Cc: Prasad Kummari <[email protected]>
Cc: Teik Heng Chong <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: [email protected]--- drivers/mtd/spi/spi-nor-ids.c | 1 - 1 file changed, 1 deletion(-)drivers/mtd/spi/spi-nor-ids.c +0
-0
drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 263
Quoted 7 lines
drivers/mtd/spi/spi-nor-ids.c +0
-1@@ -258,7 +258,6 @@ const struct flash_info spi_nor_ids[] = { { INFO("mx25u6435f", 0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, SECT_4K) }, { INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) }, - { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K) }, { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
Thanks,
Michal
Hiya,
Quoted 4 lines · Marek Vasut
The mx25u25635f entry exists twice in
spi_nor_ids, remove the less complete variant of the entry and keep only one copy of it.Fixes f0084f1dfdbc ("drivers/mtd/spi/spi-nor-ids.c: add mx25u25635f support")
Or one can directly revert the offending commit as it dropped support for the 4b opcodes. Looks good anyway:
Quoted 32 lines
Signed-off-by Marek Vasut <[email protected]>Reviewed-by Michal Simek <[email protected]>---
Cc: Andre Przywara <[email protected]>
Cc: Ashok Reddy Soma <[email protected]>
Cc: Dhruva Gole <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Neal Frager <[email protected]>
Cc: Prasad Kummari <[email protected]>
Cc: Teik Heng Chong <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: [email protected]--- drivers/mtd/spi/spi-nor-ids.c | 1 - 1 file changed, 1 deletion(-)drivers/mtd/spi/spi-nor-ids.c +0
-1@@ -258,7 +258,6 @@ const struct flash_info spi_nor_ids[] = { { INFO("mx25u6435f", 0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, SECT_4K) }, { INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) }, - { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K) }, { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
Quoted 4 lines · Marek Vasut
The mx25u25635f entry exists twice in
spi_nor_ids, remove the less complete variant of the entry and keep only one copy of it.
Applied to u-boot/master, thanks!
Signature · 1 line
Tom