mtd: nand: omap: add support for BCH16_ECC - ELM driver updates
authorpekon gupta <pekon@ti.com>
Mon, 19 May 2014 07:54:40 +0000 (13:24 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 21 May 2014 00:52:14 +0000 (17:52 -0700)
commit2be589e4b28457f148640dc6addf6da24af64b7f
tree20a98917a2d4754f71ddce64387407701f5babf9
parent27c9fd607587e6c3b517590df4cd35ac85f3d0bd
mtd: nand: omap: add support for BCH16_ECC - ELM driver updates

ELM hardware engine is used to detect ECC errors for BCHx ecc-schemes
(like BCH4/BCH8/BCH16). This patch extends configuration of ELM registers
for adding support of BCH16_HW ecc-scheme.

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/elm.c
include/linux/platform_data/elm.h