
*changes v1->v2* [PATCH 2/7] fix for BCH4 and BCH16 ECC scheme [PATCH 7/7] <new patch> - white space-clean up
*original v1* This patch series - removes un-wanted & redundant code in omap_elm and omap_gpmc drivers - refactors some private struct in omap_gpmc to make them generic across ecc-schemes - minor code fixes and clean-ups This series can be as-it-is applied on u-boot 'v2014.04-rc3'.
*Testing Procedure* Boot tested on am335x_evm (MLO -> U-boot -> kernel with filesystem flashed from U-boot) using OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH8_CODE_HW_DETECTION_SW ecc-schemes
Pekon Gupta (7): mtd: nand: omap_elm: remove #include omap_gpmc.h mtd: nand: omap_elm: use bch_type instead of nibble count to differentiate between BCH4/BCH8/BCH16 mtd: nand: omap_elm: use macros for register definitions mtd: nand: omap_gpmc: remove unused members of 'struct nand_bch_priv' mtd: nand: omap_gpmc: rename struct nand_bch_priv to struct omap_nand_info mtd: nand: omap_gpmc: minor cleanup of omap_correct_data_bch mtd: nand: omap: fix error-codes returned from omap-elm driver
drivers/mtd/nand/omap_elm.c | 28 ++++++------ drivers/mtd/nand/omap_gpmc.c | 101 +++++++++++++++++-------------------------- include/linux/mtd/omap_elm.h | 11 +++-- 3 files changed, 59 insertions(+), 81 deletions(-)