ARM: OMAP2+: nand: bch capability check
authorAfzal Mohammed <afzal@ti.com>
Sun, 30 Sep 2012 21:17:28 +0000 (02:47 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:12:08 +0000 (14:42 +0530)
commit3852ccd66a9bcb2aa6f46bce5442b6d8d08e5b5d
tree194b7067ba84e37560631fb85f7e0f3a0f3080d6
parent47f88af4ed80ac9ca593543e21ebf86a31d7e8ba
ARM: OMAP2+: nand: bch capability check

Capability of bch schemes could be discovered using soc
revision checks. If soc revision indicates that selected
ecc scheme is not supported bail out.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
arch/arm/mach-omap2/gpmc-nand.c