From: Wenyou Yang Date: Tue, 5 Jul 2016 05:17:12 +0000 (+0800) Subject: sf: sf_params: Add AT25DF321 flash support X-Git-Tag: v2016.09-rc2~169 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b302669f46ebfd7cbc8ee1cdf48d87a68b1cc720;p=oweals%2Fu-boot.git sf: sf_params: Add AT25DF321 flash support Add AT25DF321 flash support. Fix AT25DF321A device name. Signed-off-by: Wenyou Yang Reviewed-by: Jagan Teki --- diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 76affdd67d..70ca236ace 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/sf_params.c @@ -22,7 +22,8 @@ const struct spi_flash_params spi_flash_params_table[] = { {"AT45DB161D", 0x1f2600, 0x0, 64 * 1024, 32, RD_NORM, SECT_4K}, {"AT45DB321D", 0x1f2700, 0x0, 64 * 1024, 64, RD_NORM, SECT_4K}, {"AT45DB641D", 0x1f2800, 0x0, 64 * 1024, 128, RD_NORM, SECT_4K}, - {"AT25DF321", 0x1f4701, 0x0, 64 * 1024, 64, RD_NORM, SECT_4K}, + {"AT25DF321A", 0x1f4701, 0x0, 64 * 1024, 64, RD_NORM, SECT_4K}, + {"AT25DF321", 0x1f4700, 0x0, 64 * 1024, 64, RD_NORM, SECT_4K}, {"AT26DF081A", 0x1f4501, 0x0, 64 * 1024, 16, RD_NORM, SECT_4K}, #endif #ifdef CONFIG_SPI_FLASH_EON /* EON */