[PATCH v4 00/24] mtd: spinand: driver improvements
Frieder Schrempf
frieder.schrempf at kontron.de
Tue Aug 12 11:39:42 CEST 2025
Hi Mikhail,
Am 09.08.25 um 03:04 schrieb Mikhail Kshevetskiy:
> This patch series makes u-boot spinand driver almost the same as spinand
> driver from linux-6.17-rc1. This provides the following improvements:
> * it becomes easy to port changes from linux kernel
> * more flash is supported
> * spi drivers can accelerate flash reading/writing using spi-mem dirmap API
> * continuous reading mode was supported
> * OTP support was added (for some flashes)
> * add support of special data recovery reading (for some flashes)
> * bug fixes
> * other minor improvements
>
> The following linux kernel driver features was not implemented
> * support of different ECC engines
> * per operation maximum spi bus frequency
>
> The patchset also includes fixes for continuous reading mode.
> The similar patches were sent to upstream linux kernel.
>
> Changes v2:
> * update patch description
> * add fixes for continuous reading mode
>
> Changes v3:
> * fix duplication in patch description
> * add more information about commits ported from linux kernel
>
> Changes v4:
> * the original authorship was preserved for several patches
> * the code was synced with the latest shapshot of future linux-6.17-rc1
> * spi-nand was replaced by spinand in patch description
> * continuous reading mode fixes were updated
Thanks for continuing the work!
Did you do any tests with this on real hardware? If yes, can you please
add some information about your setup to the cover letter?
For the last three patches (22 - 24), I would suggest to first get them
reviewed/merged in the kernel and then port them to U-Boot.
Thanks
Frieder
More information about the U-Boot
mailing list