summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-05-24 11:17:09 -0300
committerArnd Bergmann <arnd@arndb.de>2014-06-17 17:09:43 +0200
commit3364ee57ae730ab3029172c6ae7487fb37049d38 (patch)
tree68b6ca7a404cb5ba59061d9d16fe2e6b6f590a6b /arch/arm/boot
parente509b289f7a7d9a261c5f583b55bd1110d8e2593 (diff)
downloadtalos-op-linux-3364ee57ae730ab3029172c6ae7487fb37049d38.tar.gz
talos-op-linux-3364ee57ae730ab3029172c6ae7487fb37049d38.zip
ARM: dts: Specify the NAND ECC scheme explicitly on Armada 375 DB board
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/armada-375-db.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-375-db.dts b/arch/arm/boot/dts/armada-375-db.dts
index 772fec2d26ce..1e2919d43d78 100644
--- a/arch/arm/boot/dts/armada-375-db.dts
+++ b/arch/arm/boot/dts/armada-375-db.dts
@@ -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";
OpenPOWER on IntegriCloud