OSDN Git Service

ARM: davinci: nand: specify ecc strength
authorSekhar Nori <nsekhar@ti.com>
Fri, 16 Aug 2013 09:13:48 +0000 (14:43 +0530)
committerKevin Hilman <khilman@linaro.org>
Mon, 19 Aug 2013 16:30:20 +0000 (09:30 -0700)
commitacd36357edc08649e85ff15dc4ed62353c912eff
tree2f7be4747fb458f1944f8afc8b6dec5726b71170
parentcc05fcc4b095a5f1da1d6b7cc2b73f90e38835d4
ARM: davinci: nand: specify ecc strength

Starting with kernel v3.5, it is mandatory
to specify ECC strength when using hardware
ECC. Without this, kernel panics with a warning
of the sort:

Driver must set ecc.strength when using hardware ECC
------------[ cut here ]------------
kernel BUG at drivers/mtd/nand/nand_base.c:3519!

Fix this by specifying ECC strength for the boards
which were missing this.

Reported-by: Holger Freyther <holger@freyther.de>
Cc: <stable@vger.kernel.org> #v3.5+
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-davinci/board-dm355-leopard.c
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-dm646x-evm.c
arch/arm/mach-davinci/board-neuros-osd2.c