[RFC PATCH 0/7] mtd: nand: Abstract away the NAND interface type
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Thu Sep 22 18:31:05 PDT 2016
On 22 September 2016 at 07:12, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:
> Hi,
>
> This series is aiming at providing a generic NAND layer to share code
> between different NAND based devices.
>
> We currently have 3 different interfaces to interact with NANDs:
> - Raw NANDs
> - OneNANDs
> - SPI NANDs
>
> Apart from the way these NAND devices are accessed they have a lot
> in common, like the way the memory is organized, or their constraints.
> This is usually a good sign that some work should be done to factorize
> the code.
>
> This work has been started by Peter who wanted to re-use the BBT
> code for its SPI-NAND driver. But I think we can push it further
> other stuff (the software ECC implementation, or the way offsets are
> converted to block/page number).
>
> Before I continue in this direction, I'd like to get some feedback
> from Peter and those who reviewed his initial submission (Brian,
> Ezequiel) [1], or anyone who is interested in this topic.
>
The general idea looks sane to me. It looks like a very decent
step forward towards the infrastructure required for SPI NAND
devices.
If there's consensus about it, then let's do some tests on a bunch
of platforms and merge it.
Thanks,
--
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar
More information about the linux-mtd
mailing list