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 <mwalle@kernel.org> Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-40-e60548861b10@kernel.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
1 parent d3b5ea3 commit 1d4c725

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

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)