U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: <Takahiro.Kuwano@infineon.com>
To: <weijie.gao@mediatek.com>, <u-boot@lists.denx.de>
Cc: <GSS_MTK_Uboot_upstream@mediatek.com>, <trini@konsulko.com>,
	<vigneshr@ti.com>, <marek.vasut+renesas@mailbox.org>,
	<tudor.ambarus@linaro.org>, <jeyu@issi.com>,
	<christoph.reiter@evk.biz>, <miquel.raynal@bootlin.com>,
	<yangshiji66@outlook.com>, <bernhard.messerklinger@at.abb.com>,
	<vaishnav.a@ti.com>, <prasad.kummari@amd.com>
Subject: RE: [PATCH v2 3/7] mtd: spi-nor-ids: Add support for GigaDevice GD25Q256
Date: Tue, 12 May 2026 06:16:10 +0000	[thread overview]
Message-ID: <cc029112ea4a4e829ec628022b632221@infineon.com> (raw)
In-Reply-To: <6558b4e914d6de3353af2728016b17e3736d4a6d.1777368885.git.weijie.gao@mediatek.com>

Hi,

> This flash is tested on MediaTek's filogic platform.
> 
> The datasheet can be found here:
> https://download.gigadevice.com/Datasheet/DS-00526-GD25Q256E-Rev1.3.pdf

Please add a quick introduction/description about the device in commit
message and use Link: tag for datasheet reference.

> 
> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
> ---
> v2: updated commit message
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index fcc546fb5ae..8b74fbd4946 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -147,6 +147,11 @@ 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)
>         },
> +       {
> +               INFO("gd25q256", 0xc84019, 0, 64 * 1024, 512,
> +                       SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> +                       SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)

Did you test locking feature?
Per datasheet, this device has 4-bit BPs and TB at SR BIT(6), while current
u-boot supports 3-bit BPs and TB at SR BIT(5) only.

> +       },
>         /* adding these 3V QSPI flash parts */
>         {INFO("gd25b256", 0xc84019, 0, 64 * 1024, 512,  SECT_4K |
>         SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)  },
> --
> 2.45.2

Thanks,
Takahiro


  reply	other threads:[~2026-05-12  8:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  9:39 [PATCH v2 0/7] Fix and add some spi-nor flash parts (v2) Weijie Gao
2026-04-28  9:39 ` [PATCH v2 1/7] mtd: spi-nor-ids: Correct flash flags for ESMT/EON flashes Weijie Gao
2026-04-28  9:39 ` [PATCH v2 2/7] mtd: spi-nor-ids: Add support for ESMT/EON EN25QX128A/EN25QH256/EN25QX256A Weijie Gao
2026-04-28  9:39 ` [PATCH v2 3/7] mtd: spi-nor-ids: Add support for GigaDevice GD25Q256 Weijie Gao
2026-05-12  6:16   ` Takahiro.Kuwano [this message]
2026-05-12  8:42     ` Weijie Gao
2026-04-28  9:39 ` [PATCH v2 4/7] mtd: spi-nor-ids: Add 4K page support for Macronix MX25L25635E Weijie Gao
2026-04-28  9:39 ` [PATCH v2 5/7] mtd: spi-nor-ids: Fix Winbond W25Q256JW and remove W25Q256FW Weijie Gao
2026-04-28  9:39 ` [PATCH v2 6/7] mtd: spi-nor-ids: Reorder winbond parts with part families Weijie Gao
2026-04-28  9:39 ` [PATCH v2 7/7] mtd: spi-nor-ids: Add support for Winbond W25Q256JV-M/W25Q512JV-M Weijie Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc029112ea4a4e829ec628022b632221@infineon.com \
    --to=takahiro.kuwano@infineon.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=bernhard.messerklinger@at.abb.com \
    --cc=christoph.reiter@evk.biz \
    --cc=jeyu@issi.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=prasad.kummari@amd.com \
    --cc=trini@konsulko.com \
    --cc=tudor.ambarus@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=vaishnav.a@ti.com \
    --cc=vigneshr@ti.com \
    --cc=weijie.gao@mediatek.com \
    --cc=yangshiji66@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox