Re: [PATCH v4 8/8] mtd: spi-nor: macronix: Add support for mx25uw51245g with RWW
From: liao jaime <hidden>
Date: 2023-03-17 07:44:51
Hi Tudor
Hi, Jaime, Miquel, Any news with the datasheet, can you send me a copy of it? On 2/1/23 11:36, Miquel Raynal wrote:quoted
Describe this new part and provide the RWW flag for it. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- drivers/mtd/spi-nor/macronix.c | 3 +++ 1 file changed, 3 insertions(+)diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index 6853ec9ae65d..655e7eec865c 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c@@ -82,6 +82,9 @@ static const struct flash_info macronix_nor_parts[] = { { "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) FIXUP_FLAGS(SPI_NOR_4B_OPCODES) }, + { "mx25uw51245g", INFOB(0xc2813a, 0, 16 * 1024, 1024, 4) + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_RWW) + FIXUP_FLAGS(SPI_NOR_4B_OPCODES) },Is this flash not really supporting SFDP?
Yap MX25UW51245G have SFDP table support. As below is the link of octal DTR feature patch which include MX25UW51245G SFDP information. https://patchwork.ozlabs.org/project/uboot/patch/20220718064922.20193-2-jaimeliao.tw@gmail.com/ Sorry for that I can't share the link of datasheet cause Macronix didn't make it public.
We ask people that update or add new flash entries to do a erase, verify erase, write, read back and compare test. Also to dump the sysfs entries. Here's how to do that: https://lore.kernel.org/lkml/97a3b023-b9bc-c34d-45a4-ddd56f47bd76@microchip.com/T/ (local) Thanks, ta
Thanks Jaime _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel