Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
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
|
|
|