* [PATCH] mtd: spi-nor: add Gigadevice gd25lq128d support
@ 2019-12-04 13:27 Jerome Brunet
2019-12-24 9:04 ` Tudor.Ambarus
0 siblings, 1 reply; 2+ messages in thread
From: Jerome Brunet @ 2019-12-04 13:27 UTC (permalink / raw)
To: Marek Vasut, Tudor Ambarus; +Cc: Jerome Brunet, linux-mtd, linux-kernel
Tested on the Amlogic aml-libretech-pc platform which does not support
dual or quad modes
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
Datasheet is available here:
http://www.elm-tech.com/en/products/spi-flash-memory/gd25lq128/gd25lq128.pdf
drivers/mtd/spi-nor/spi-nor.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 1d8621d43160..d394f3861ecd 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -2231,6 +2231,11 @@ static const struct flash_info spi_nor_ids[] = {
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
},
+ {
+ "gd25lq128d", INFO(0xc86018, 0, 64 * 1024, 256,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
{
"gd25q256", INFO(0xc84019, 0, 64 * 1024, 512,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
--
2.23.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: spi-nor: add Gigadevice gd25lq128d support
2019-12-04 13:27 [PATCH] mtd: spi-nor: add Gigadevice gd25lq128d support Jerome Brunet
@ 2019-12-24 9:04 ` Tudor.Ambarus
0 siblings, 0 replies; 2+ messages in thread
From: Tudor.Ambarus @ 2019-12-24 9:04 UTC (permalink / raw)
To: jbrunet, marek.vasut; +Cc: linux-mtd, linux-kernel
On 12/4/19 3:27 PM, Jerome Brunet wrote:
> Tested on the Amlogic aml-libretech-pc platform which does not support
> dual or quad modes
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>
> Datasheet is available here:
> http://www.elm-tech.com/en/products/spi-flash-memory/gd25lq128/gd25lq128.pdf
>
> drivers/mtd/spi-nor/spi-nor.c | 5 +++++
> 1 file changed, 5 insertions(+)
Patch applied, thanks.
ta
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-24 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 13:27 [PATCH] mtd: spi-nor: add Gigadevice gd25lq128d support Jerome Brunet
2019-12-24 9:04 ` Tudor.Ambarus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®