[PATCH v2] mtd: spi-nor: Allow post_sfdp hook to return errors

Michael Walle michael at walle.cc
Tue Apr 18 02:25:05 PDT 2023


Am 2023-04-05 08:21, schrieb Tudor Ambarus:
> Multi die flashes like s25hl02gt need to determine the page_size at
> run-time by querying a configuration register for each die. Since the
> number of dice is determined in an optional SFDP table, SCCR MC, the
> page size configuration must be done in the post_sfdp hook. Allow
> post_sfdp to return errors, as reading the configuration register might
> return errors.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>

Reviewed-by: Michael Walle <michael at walle.cc>



More information about the linux-mtd mailing list