Skip to content

Commit

Permalink
ARM: dts: Specify the NAND ECC scheme explicitly on Armada 385 DB board
Browse files Browse the repository at this point in the history
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 <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1400941030-2123-3-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Ezequiel Garcia authored and Arnd Bergmann committed Jun 17, 2014
1 parent 3364ee5 commit 1ad5844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/armada-385-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1ad5844

Please sign in to comment.