^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) ====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) S3C24XX NAND Support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Introduction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) ------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Small Page NAND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) The driver uses a 512 byte (1 page) ECC code for this setup. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) ECC code is not directly compatible with the default kernel ECC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) code, so the driver enforces its own OOB layout and ECC parameters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Large Page NAND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) The driver is capable of handling NAND flash with a 2KiB page
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) size, with support for hardware ECC generation and correction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Unlike the 512byte page mode, the driver generates ECC data for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) each 256 byte block in an 2KiB page. This means that more than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) one error in a page can be rectified. It also means that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) OOB layout remains the default kernel layout for these flashes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Document Author
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Ben Dooks, Copyright 2007 Simtec Electronics