[PATCH v4 8/8] mtd: spi-nor: macronix: Add support for mx25uw51245g with RWW

Tudor Ambarus tudor.ambarus at linaro.org
Thu Mar 16 23:09:00 PDT 2023


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:
> Describe this new part and provide the RWW flag for it.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at 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?

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/

Thanks,
ta



More information about the linux-arm-kernel mailing list