[PATCH] mtd: nand: add pxa3xx-nand driver

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Sun Jan 4 10:50:55 PST 2015


Hi Robert,

On 01/01/2015 06:58 PM, Robert Jarzmik wrote:
> The driver is taken from the Linux kernel, with the following changes :
>  - all DMA removed
>  - all asynchronous handling removed, including the interrupt handler,
>    and the asynchronous state handling
>  - pxa armada support removed
> 

If my memory doesn't fail me, the NAND controller is called NFC v1 on
pxa3xx, and NFC v2 on mvebu SoCs.

I'm wondering if we can pick a better name for this driver in barebox.
Maybe something like 'mv_nfc_nand' ?

Also, I think you can get rid of the 'builtin_flash_types' struct and
all the device detection routines, which are really duplicating the
MTD's lower level job.

I never removed it from the Linux driver, because I was afraid of
regressions and there are little testers around. However, on Barebox we
can benefit from removing that, and starting with a cleaner driver.

Just my two cents,
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the barebox mailing list