All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] mtd: spi-nor-ids: add GigaDevice GD25LB512MF
@ 2026-09-18  2:48 Jim Liu
  2026-09-24  1:58 ` Takahiro.Kuwano
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Liu @ 2026-09-18  2:48 UTC (permalink / raw)
  To: JJLIU0, jim.t90615, trini, vigneshr, takahiro.kuwano, dhphadke
  Cc: u-boot, u-boot

Add the 64MB GD25LB512MF (JEDEC ID 0xc8601a) to the SPI NOR ID table.

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 3e7096bd419..06794d5507a 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -187,6 +187,8 @@ const struct flash_info spi_nor_ids[] = {
 	SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
 	{INFO("gd25lb512", 0xc8671A, 0, 64 * 1024, 1024,	SECT_4K |
 	SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
+	{INFO("gd25lb512mf", 0xc8601A, 0, 64 * 1024, 1024,	SECT_4K |
+	SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
 	{INFO("gd55lb01g", 0xc8671B, 0, 64 * 1024, 2048,	SECT_4K |
 	SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
 	{INFO("gd55lb02g", 0xc8671C, 0, 64 * 1024, 4096,	SECT_4K |
-- 
2.34.1


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

* RE: [PATCH 2/2] mtd: spi-nor-ids: add GigaDevice GD25LB512MF
  2026-09-18  2:48 [PATCH 2/2] mtd: spi-nor-ids: add GigaDevice GD25LB512MF Jim Liu
@ 2026-09-24  1:58 ` Takahiro.Kuwano
  0 siblings, 0 replies; 2+ messages in thread
From: Takahiro.Kuwano @ 2026-09-24  1:58 UTC (permalink / raw)
  To: jim.t90615, JJLIU0, trini, vigneshr, dhphadke; +Cc: u-boot, u-boot

Hi,

> Add the 64MB GD25LB512MF (JEDEC ID 0xc8601a) to the SPI NOR ID table.
> 

Please confirm the datasheet link [1], and add Link: tag.

> Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 3e7096bd419..06794d5507a 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -187,6 +187,8 @@ const struct flash_info spi_nor_ids[] = {
>         SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
>         {INFO("gd25lb512", 0xc8671A, 0, 64 * 1024, 1024,        SECT_4K |
>         SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
> +       {INFO("gd25lb512mf", 0xc8601A, 0, 64 * 1024, 1024,      SECT_4K |
> +       SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},

The chip has 4-bit BP and TB that not supported in u-boot.
Probably the other existing chips have the same issue, but I'm reluctant to
add a new chip with HAS_LOCK flag when it is known not to work...

Thanks,
Takahiro

>         {INFO("gd55lb01g", 0xc8671B, 0, 64 * 1024, 2048,        SECT_4K |
>         SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
>         {INFO("gd55lb02g", 0xc8671C, 0, 64 * 1024, 4096,        SECT_4K |
> --
> 2.34.1

[1] https://download.gigadevice.com/Datasheet/DS-01014-GD25LB512MF-Rev1.1.pdf


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

end of thread, other threads:[~2026-09-24  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  2:48 [PATCH 2/2] mtd: spi-nor-ids: add GigaDevice GD25LB512MF Jim Liu
2026-09-24  1:58 ` Takahiro.Kuwano

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.