diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2011-11-19 16:02:55 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 18:07:26 +0000 |
commit | d13d19ece39f20bf097782e1812a9c31a5a4fcf1 (patch) | |
tree | 8ea5f606a95f7e3761e55945f247c818dfb0dfc0 /drivers/gpio/gpio-74x164.c | |
parent | 7a7fcf14021bc0f0728dd0aaa2635475de0db54c (diff) |
mtd: docg3: add ECC correction code
Credit for discovering the BCH algorith parameters, and bit
reversing algorithm is to be give to Mike Dunn and Ivan
Djelic.
The BCH correction code relied upon the BCH library, where
all data and ECC is bit-reversed. The BCH library works
correctly when each input byte is bit-reversed, and
accordingly ECC output is also bit-reversed.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Ivan Djelic <ivan.djelic@parrot.com>
Reviewed-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/gpio/gpio-74x164.c')
0 files changed, 0 insertions, 0 deletions