mtd: nand: omap: ecc.hwctl: clean omap_enable_hwecc_bch for redundant ECC configs
authorPekon Gupta <pekon@ti.com>
Mon, 3 Mar 2014 10:08:32 +0000 (15:38 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 09:55:28 +0000 (02:55 -0700)
commit16e69322c521c44e1c95c744fd1cca23549aa103
tree5eb2d0fe58b9e21c5efd168a993cb8062a0ed398
parentc5957a320122bed3262da7a3a57d6a89aaeb4358
mtd: nand: omap: ecc.hwctl: clean omap_enable_hwecc_bch for redundant ECC configs

This patch
 - refactors GPMC configurations based on ecc-scheme
 - removed dependency on is_elm_present() flag, which is implicitely
   taken care by selecting appropriate ecc-scheme

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c