summaryrefslogtreecommitdiff
path: root/lib/earlycpio.c
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-01-25 06:04:07 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 08:27:59 (GMT)
commit9ff16f0833806b6b59aaf0cc158fa6e42f24d7e4 (patch)
tree179db9e57e721cb0c779b97bbfc9d7a6db8c27dc /lib/earlycpio.c
parentc80e572c029263687b8175f1ba71d425548cafcf (diff)
downloadlinux-fsl-qoriq-9ff16f0833806b6b59aaf0cc158fa6e42f24d7e4.tar.xz
mtd: gpmi: set the Golois Field bit for mx6q's BCH
The GF13 can be only used in the following case: The ECC data chunk is less then 1K bytes. In mx23/mx28, the ecc data chunk is 512 bytes. So it is okay. But in mx6q, we begin to use some large nand chip whose ecc data chunk maybe 1K bytes long. So when the data chunk is 1K bytes, we have to use the GF14. This patch sets the Golois Field bit when the GF14 is needed. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions