ARM: dts: Specify the NAND ECC scheme explicitly on Armada 375 DB board
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 24 May 2014 14:17:09 +0000 (11:17 -0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 17 Jun 2014 15:09:43 +0000 (17:09 +0200)
The factory bootloader on A375-DB boards expect the ECC strength to be
4 bits over 512 bytes. Hence, we need to specify this in the devicetree,
to prevent the kernel from assuming any different ECC scheme.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1400941030-2123-2-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-375-db.dts

index 772fec2d26ceb1458b1ad69a10d328e68b4ebd79..1e2919d43d78b2ce81405a46eb7e6e0a8c22280d 100644 (file)
@@ -91,6 +91,8 @@
                                marvell,nand-keep-config;
                                marvell,nand-enable-arbiter;
                                nand-on-flash-bbt;
+                               nand-ecc-strength = <4>;
+                               nand-ecc-step-size = <512>;
 
                                partition@0 {
                                        label = "U-Boot";