diff options
author | Huang Shijie <b32955@freescale.com> | 2013-01-29 01:23:38 (GMT) |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 08:28:02 (GMT) |
commit | 92d0e09abeebdd3f699c9f12401a9e3998a20546 (patch) | |
tree | fa51378318368e5dd1471e2f82b061e007dfb6f8 /lib/crc7.c | |
parent | 9ff16f0833806b6b59aaf0cc158fa6e42f24d7e4 (diff) | |
download | linux-fsl-qoriq-92d0e09abeebdd3f699c9f12401a9e3998a20546.tar.xz |
mtd: gpmi: add sanity check for the ECC
We do the check based on the following two facts:
[1] The mx23/mx28 can only support 20-bits ECC, while the mx6
can supports 40-bits ECC.
[2] The mx23/mx28 can only support the GF13, while the mx6
can supports GF13 and GF14.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions