[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJsYDV++V0HCNqM-GnpBBwDjwBSfgw8ZO56wDwD3iMPJ4joSvg@mail.gmail.com>
Date: Wed, 13 Apr 2022 13:07:32 +0800
From: Chuanhong Guo <gch981213@...il.com>
To: linux-mtd@...ts.infradead.org
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Patrice Chotard <patrice.chotard@...s.st.com>,
Boris Brezillon <boris.brezillon@...labora.com>,
Christophe Kerello <christophe.kerello@...s.st.com>,
Daniel Palmer <daniel@...f.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mtd: spinand: add support for ESMT F50x1G41LB
On Wed, Apr 13, 2022 at 12:23 PM Chuanhong Guo <gch981213@...il.com> wrote:
>
> This patch adds support for ESMT F50L1G41LB and F50D1G41LB.
> It seems that ESMT likes to use random JEDEC ID from other vendors.
> Their 1G chips uses 0xc8 from GigaDevice and 2G/4G chips uses 0x2c from
> Micron. For this reason, the ESMT entry is named esmt_c8 with explicit
> JEDEC ID in variable name.
>
> Datasheets:
> https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/F50L1G41LB(2M).pdf
> https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/F50D1G41LB(2M).pdf
>
> Signed-off-by: Chuanhong Guo <gch981213@...il.com>
> [...]
> +static const struct spinand_info esmt_c8_spinand_table[] = {
> + SPINAND_INFO("F50L1G41LB",
> + SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x01, 0x7f,
> + 0x7f, 0x7f),
This patch is broken. SPI NAND core doesn't support 5-byte ID atm.
--
Regards,
Chuanhong Guo
Powered by blists - more mailing lists