]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: probe: Add missing Atmel at25df321 flash
authorBo Shen <voice.shen@atmel.com>
Thu, 10 Oct 2013 05:07:37 +0000 (13:07 +0800)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 15 Oct 2013 18:44:03 +0000 (00:14 +0530)
As the spi flash transfer to multiple parts, it is forgot to add
Atmel AT25DF321 spi flash support, which broken several Atmel EK
boards which this chip. So, add it

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/mtd/spi/sf_probe.c

index 633a6eb3cc6f6bd70aa15281bf82e420831d304b..5eb8ffe843e07eb1dd128a37f23fc93312e37dd0 100644 (file)
@@ -46,6 +46,7 @@ static const struct spi_flash_params spi_flash_params_table[] = {
        {"AT45DB161D",     0x1f2600, 0x0,       64 * 1024,    32,              SECT_4K},
        {"AT45DB321D",     0x1f2700, 0x0,       64 * 1024,    64,              SECT_4K},
        {"AT45DB641D",     0x1f2800, 0x0,       64 * 1024,   128,              SECT_4K},
+       {"AT25DF321",      0x1f4701, 0x0,       64 * 1024,    64,              SECT_4K},
 #endif
 #ifdef CONFIG_SPI_FLASH_EON            /* EON */
        {"EN25Q32B",       0x1c3016, 0x0,       64 * 1024,    64,                    0},