[RFC] S3C24xx: Fixing the NAND handling

Juergen Beisert jbe at pengutronix.de
Sat Mar 12 14:37:12 EST 2011


sorry for the noise, but:

Juergen Beisert wrote:
> The NAND support for the S3C24xx CPU seems totally broken in the current
> kernel:

No, it isn't.

>  - the driver's local OOB layout for small page NANDs overwrites the
> vendors bad block marker (a really bad idea!)

It does not. I mixed it up with large page NANDs. :-(

>  - the ECC setup for large page NANDs violates NANDs partial write count
> (it forces 8 partial writes instead of allowed 4 per 2048 byte page)

It does not. The MTD framework writes the data in 8 pieces in this case. But 
from the NANDs point of view it is a single write only.

So, no need to fix anything in the kernel. Maybe only in my brain....


More information about the barebox mailing list