From: Ezequiel Garcia Date: Sat, 24 May 2014 14:17:10 +0000 (-0300) Subject: ARM: dts: Specify the NAND ECC scheme explicitly on Armada 385 DB board X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ad58443cfa7a60a058f1b956054f19a1d00162d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: dts: Specify the NAND ECC scheme explicitly on Armada 385 DB board The factory bootloader on A385-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 Link: https://lkml.kernel.org/r/1400941030-2123-3-git-send-email-ezequiel.garcia@free-electrons.com Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/armada-385-db.dts b/arch/arm/boot/dts/armada-385-db.dts index ff9637dd8d0f..5bae4731828b 100644 --- a/arch/arm/boot/dts/armada-385-db.dts +++ b/arch/arm/boot/dts/armada-385-db.dts @@ -98,6 +98,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";