[PATCH] mtd: spi-nor: gigadevice: add GD25LQ80C
Vignesh Raghavendra
vigneshr at ti.com
Fri Sep 25 07:36:27 EDT 2020
Hi,
On 9/22/20 12:17 AM, Stijn Tintel wrote:
> Tested on a TP-Link OC200.
>
But what was tested? Dual and quad mode tested (as you enable those
flags)? And lock/unlock as well?
Could you add this info to commit message?
> Datasheet: https://www.gigadevice.com/datasheet/gd25lq80c/
>
> Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
> ---
> drivers/mtd/spi-nor/gigadevice.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c
> index 447d84bb2128..840fa9f90a67 100644
> --- a/drivers/mtd/spi-nor/gigadevice.c
> +++ b/drivers/mtd/spi-nor/gigadevice.c
> @@ -24,6 +24,9 @@ static struct spi_nor_fixups gd25q256_fixups = {
> };
>
> static const struct flash_info gigadevice_parts[] = {
> + { "gd25lq80c", INFO(0xc86014, 0, 64 * 1024, 16,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },
> { "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },
>
Regards
Vignesh
More information about the linux-mtd
mailing list