mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Ben Dooks](/assets/img/avatar_default.png)
This adds support for using large page NAND devices with the S3C24XX NAND controller. This also adds the file Documentation/arm/Samsung-S3C24XX/NAND.txt to describe the differences. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
30 lines
798 B
Text
30 lines
798 B
Text
S3C24XX NAND Support
|
|
====================
|
|
|
|
Introduction
|
|
------------
|
|
|
|
Small Page NAND
|
|
---------------
|
|
|
|
The driver uses a 512 byte (1 page) ECC code for this setup. The
|
|
ECC code is not directly compatible with the default kernel ECC
|
|
code, so the driver enforces its own OOB layout and ECC parameters
|
|
|
|
Large Page NAND
|
|
---------------
|
|
|
|
The driver is capable of handling NAND flash with a 2KiB page
|
|
size, with support for hardware ECC generation and correction.
|
|
|
|
Unlike the 512byte page mode, the driver generates ECC data for
|
|
each 256 byte block in an 2KiB page. This means that more than
|
|
one error in a page can be rectified. It also means that the
|
|
OOB layout remains the default kernel layout for these flashes.
|
|
|
|
|
|
Document Author
|
|
---------------
|
|
|
|
Ben Dooks, Copyright 2007 Simtec Electronics
|
|
|