All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH,Aspeed, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash
@ 2020-12-08 20:22 Hongwei Zhang
  2020-12-08 20:22 ` [PATCH,Aspeed, v1 1/1] mtd: spi-nor: " Hongwei Zhang
  0 siblings, 1 reply; 3+ messages in thread
From: Hongwei Zhang @ 2020-12-08 20:22 UTC (permalink / raw)
  To: Tudor Ambarus; +Cc: Andrew Jeffery, linux-mtd, Hongwei Zhang, Joel Stanley

Hello Reviewer,

Micron MT25QL01G flash is used on AST2600 board, this patch add it in
the table.

Hongwei Zhang (1):
  mtd: spi-nor: add Micron MT25QL01G flash

 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH,Aspeed, v1 1/1] mtd: spi-nor: add Micron MT25QL01G flash
  2020-12-08 20:22 [PATCH,Aspeed, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash Hongwei Zhang
@ 2020-12-08 20:22 ` Hongwei Zhang
  2021-01-18 17:18   ` Tudor.Ambarus
  0 siblings, 1 reply; 3+ messages in thread
From: Hongwei Zhang @ 2020-12-08 20:22 UTC (permalink / raw)
  To: Tudor Ambarus; +Cc: Andrew Jeffery, linux-mtd, Hongwei Zhang, Joel Stanley

Add Micron MT25QL01G flash, used on AST2600 board.

Signed-off-by: Hongwei Zhang <hongweiz@ami.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 99ce971ebc6d..800890038c39 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -2312,6 +2312,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "n25q512ax3",  INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
 	{ "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
 	{ "n25q00a",     INFO(0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
+	{ "mt25ql01g",   INFO(0x21ba20, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
 	{ "mt25ql02g",   INFO(0x20ba22, 0, 64 * 1024, 4096,
 			      SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
 			      NO_CHIP_ERASE) },
-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH,Aspeed, v1 1/1] mtd: spi-nor: add Micron MT25QL01G flash
  2020-12-08 20:22 ` [PATCH,Aspeed, v1 1/1] mtd: spi-nor: " Hongwei Zhang
@ 2021-01-18 17:18   ` Tudor.Ambarus
  0 siblings, 0 replies; 3+ messages in thread
From: Tudor.Ambarus @ 2021-01-18 17:18 UTC (permalink / raw)
  To: hongweiz; +Cc: andrew, linux-mtd, joel

Hi, Hongwei,

On 12/8/20 10:22 PM, Hongwei Zhang wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add Micron MT25QL01G flash, used on AST2600 board.

MT25QL01G is a stacked device (two 512Mb die), and we don't support stacked
devices in SPI NOR as of now. This flash can be added when proper support
is added in SPI NOR. Would you be interested in working to add support for
stacked devices?

Cheers,
ta

> 
> Signed-off-by: Hongwei Zhang <hongweiz@ami.com>
> ---
>  drivers/mtd/spi-nor/spi-nor.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 99ce971ebc6d..800890038c39 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -2312,6 +2312,7 @@ static const struct flash_info spi_nor_ids[] = {
>         { "n25q512ax3",  INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
>         { "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>         { "n25q00a",     INFO(0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
> +       { "mt25ql01g",   INFO(0x21ba20, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>         { "mt25ql02g",   INFO(0x20ba22, 0, 64 * 1024, 4096,
>                               SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
>                               NO_CHIP_ERASE) },
> --
> 2.17.1
> 

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-18 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 20:22 [PATCH,Aspeed, v1 0/1] mtd: spi-nor-ids: add Micron MT25QL01G flash Hongwei Zhang
2020-12-08 20:22 ` [PATCH,Aspeed, v1 1/1] mtd: spi-nor: " Hongwei Zhang
2021-01-18 17:18   ` Tudor.Ambarus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.