diff mbox series

[U-Boot] spi-nor-ids: Add support for Adesto AT25SL321

Message ID 20191021135116.18747-1-festevam@gmail.com
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot] spi-nor-ids: Add support for Adesto AT25SL321 | expand

Commit Message

Fabio Estevam Oct. 21, 2019, 1:51 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

Add an entry for the Adesto AT25SL321 SPI NOR chip.

This SPI NOR chip is found in the Embedded Artist i.MX7ULP COM board.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jagan Teki Oct. 23, 2019, 7:37 p.m. UTC | #1
On Mon, Oct 21, 2019 at 7:21 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Add an entry for the Adesto AT25SL321 SPI NOR chip.
>
> This SPI NOR chip is found in the Embedded Artist i.MX7ULP COM board.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 6996c0a286..cf194770d7 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -76,6 +76,7 @@ const struct flash_info spi_nor_ids[] = {
>         { INFO("at45db321d",    0x1f2700, 0, 64 * 1024,  64, SECT_4K) },
>         { INFO("at45db641d",    0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
>         { INFO("at26df081a",    0x1f4501, 0, 64 * 1024,  16, SECT_4K) },
> +       { INFO("at25sl321",     0x1f4216, 0, 64 * 1024,  64, SECT_4K) },

Change the order and

Applied to u-boot-spi/master
diff mbox series

Patch

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 6996c0a286..cf194770d7 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -76,6 +76,7 @@  const struct flash_info spi_nor_ids[] = {
 	{ INFO("at45db321d",	0x1f2700, 0, 64 * 1024,  64, SECT_4K) },
 	{ INFO("at45db641d",	0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("at26df081a", 	0x1f4501, 0, 64 * 1024,  16, SECT_4K) },
+	{ INFO("at25sl321",	0x1f4216, 0, 64 * 1024,  64, SECT_4K) },
 #endif
 #ifdef CONFIG_SPI_FLASH_EON		/* EON */
 	/* EON -- en25xxx */