[PATCH v4 6/8] mtd: spi-nor: Add a RWW flag
Tudor Ambarus
tudor.ambarus at linaro.org
Thu Mar 16 20:20:21 PDT 2023
Hi, Miquel!
On 2/1/23 11:36, Miquel Raynal wrote:
> Introduce a new (no SFDP) flag for the feature that we are about to
> support: Read While Write. This means, if the chip has several banks and
> supports RWW, once a page of data to write has been transferred into the
> chip's internal SRAM, another read operation happening on a different
> bank can be performed during the tPROG delay.
>
> Adding this new flag involves enlarging the no_sfdp_flags variable to 16
> bits.
>
I've just skimmed over jesd216 - f version, and indeed it seems that
reads while write support is not covered by the standard. no_sfdp_flags
is not a good place to add this flag, because there can be flashes that
both support SFDP and RWW support. Please move this flag in info->flags.
BTW, does you flash define SFDP table(s)? You can dump the tables via
sysfs, here's an example:
https://lore.kernel.org/linux-mtd/20230203044853.23513-1-Takahiro.Kuwano@infineon.com/
Cheers,
ta
More information about the linux-arm-kernel
mailing list