ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes
authorPekon Gupta <pekon@ti.com>
Wed, 5 Feb 2014 13:28:30 +0000 (18:58 +0530)
committerTony Lindgren <tony@atomide.com>
Sun, 2 Mar 2014 18:15:52 +0000 (10:15 -0800)
commit0611c41934ab35ce84dea34ab291897ad3cbc7be
tree2183257d9f406f1f15e402a622b8a0aa2b9882c2
parent24d0bb8861f3d97af7e56b6615516872e9e61abf
ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes

This patch
 - refactors gpmc_hwecc_bch_capable()
 - add checks for new platforms like dra7xx, am43xx
 - add checks for OMAP3 SoC, w.r.t. new ECC schemes spawned in following commit:
    commit ac65caf514ec3e55e8d3d510ee37f80dd97418fe
    ARM: OMAP2+: cleaned-up DT support of various ECC schemes

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-nand.c