[PATCH v3] mtd: spi-nor: simplify spi_nor_get_flash_info()
Pratyush Yadav
pratyush at kernel.org
Tue Jun 18 02:46:54 PDT 2024
Hi Michael,
On Mon, Jun 03 2024, Michael Walle wrote:
> Rework spi_nor_get_flash_info() to make it look more straight forward
> and esp. don't return early. The latter is a preparation to check for
> deprecated flashes.
>
> Signed-off-by: Michael Walle <mwalle at kernel.org>
Reviewed-by: Pratyush Yadav <pratyush at kernel.org>
Applied to spi-nor/next. Thanks.
> ---
> v3:
> - rework the handling quite a bit, thanks Tudor.
> - drop the spurious comment about the partitions, it goes way back
> until the initial support. I don't think it's accurate anymore.
> If the flash has the same size, the partitions can be trusted. If
> not, anything can happen.. We don't know.
>
> v2/v1:
> - none, this is a remaining patch of my spring cleanup series.
Do you also plan to re-roll the deprecation patch some time in the
future?
--
Regards,
Pratyush Yadav
More information about the linux-mtd
mailing list