Skip to content

Commit 1d4c725

Browse files
mwalleambarus
authored andcommitted
mtd: spi-nor: atmel: drop duplicate entry
The Atmel AT26DF321 and AT25DF321 have the same ID. Both were just discovered by reading their IDs, that is, there is no probing by name. Thus only the first one (the AT25DF321) in the list was ever probed. Luckily, the AT25DF is also the newer series. Drop the AT26DF321. Signed-off-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tudor Ambarus <[email protected]>
1 parent d3b5ea3 commit 1d4c725

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/mtd/spi-nor/atmel.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,6 @@ static const struct flash_info atmel_nor_parts[] = {
206206
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
207207
.no_sfdp_flags = SECT_4K,
208208
.fixups = &atmel_nor_global_protection_fixups
209-
}, {
210-
.id = SNOR_ID(0x1f, 0x47, 0x00),
211-
.name = "at26df321",
212-
.size = SZ_4M,
213-
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
214-
.no_sfdp_flags = SECT_4K,
215-
.fixups = &atmel_nor_global_protection_fixups
216209
}, {
217210
.id = SNOR_ID(0x1f, 0x47, 0x01),
218211
.name = "at25df321a",

0 commit comments

Comments
 (0)