
Dear "Hitz, Christian",
In message CD1B567EF015FE41B29FF476B8600DDD26BBF25B88@vsrv-mail01.newtechgroup.local you wrote:
This patch merges the BCH ECC algorithm from the 3.0 Linux kernel. This enables U-Boot to support modern NAND flash chips that require more than 1-bit of ECC in software.
Signed-off-by: Christian Hitz christian.hitz@aizo.com
drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 39 ++- drivers/mtd/nand/nand_bch.c | 236 ++++++++ drivers/mtd/nand/nand_ids.c | 35 ++ include/linux/bch.h | 79 +++ include/linux/mtd/nand.h | 10 +- include/linux/mtd/nand_bch.h | 72 +++ lib/Makefile | 1 + lib/bch.c | 1358 ++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 1823 insertions(+), 8 deletions(-) create mode 100644 drivers/mtd/nand/nand_bch.c create mode 100644 include/linux/bch.h create mode 100644 include/linux/mtd/nand_bch.h create mode 100644 lib/bch.c
Checkpatch says:
total: 566 errors, 1052 warnings, 1912 lines checked
Please clean up and resubmit. Thanks.
Best regards,
Wolfgang Denk