commit | c5957a320122bed3262da7a3a57d6a89aaeb4358 | [log] [tgz] |
---|---|---|
author | Pekon Gupta <pekon@ti.com> | Mon Mar 03 15:38:31 2014 +0530 |
committer | Brian Norris <computersforpeace@gmail.com> | Thu Mar 20 02:55:27 2014 -0700 |
tree | f061e67a3524c10fd41d887f36968d1db2911ad9 | |
parent | 7c977c3eb29837191f4154d819e552786bc42003 [diff] |
mtd: nand: omap: ecc.hwctl: refactor omap_enable_hwecc_bch for ECC related GPMC configs Lots of if..then..else conditions in omap_enable_hwecc_bch() can be avoided if code is refactored based on ecc-scheme. Signed-off-by: Pekon Gupta <pekon@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>