[U-Boot] [PATCH] mtd: nand: vf610_nfc: resync with upstream Linux version

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Oct 14 10:43:27 CEST 2015


Hello Stefan,

On Tue, 13 Oct 2015 22:11:42 -0700, Stefan Agner <stefan at agner.ch>
wrote:
> This resyncs the driver changes with the Linux version of the
> driver. The driver received some feedback in the LKML and got
> recently acceppted, the latest version can be found here:
> https://lkml.org/lkml/2015/9/2/678
> 
> Notable changes are:
> - On ECC error, reread OOB and count bit flips in OOB too.
>   If flipped bits are below threshold, also return an empty
>   OOB buffer.
> - Return the amount of bit flips in vf610_nfc_read_page.
> - Use endianness aware vf610_nfc_read to read ECC status.
> - Do not enable IDLE IRQ (since we do not operate with an
>   interrupt service routine).
> - Use type safe struct for buffer variants (vf610_nfc_alt_buf).
> - Renamed variables in struct vf610_nfc (column and page_sz)
>   to reflect better what they really representing.
> 
> The U-Boot version currently does not support RAW NAND write
> when using the HW ECC engine.
>  
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv at toradex.com>
> Signed-off-by: Stefan Agner <stefan at agner.ch>

If tests were made on vf610twr and colibri_vf, then it would be nice if
testers could send their Tested-By; I think that with these, plus the
one I'll make ASAP under my 3ADEV hat on pcm052, we could take this in
2015.10 along with:

	http://patchwork.ozlabs.org/patch/530017/
	http://patchwork.ozlabs.org/patch/529986/
	http://patchwork.ozlabs.org/patch/529985/

Tom: assuming <http://patchwork.ozlabs.org/patch/530001/> tests being
reported as requested, I could pull all these in ARM, test on pcm052,
and PR to main. Ok?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list