mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 12:26:45 +07:00
71d54f3855
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>
31 lines
798 B
Plaintext
31 lines
798 B
Plaintext
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
|
|
|