Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: omap3430-sdp: Revert to using software ECC for NAND

For v3.14 and prior, 1-bit Hamming code ECC via software was used
for NAND on this board.
Commit c06c52701695 in v3.15 changed the behaviour
to use 1-bit Hamming code via Hardware using a different ECC layout
i.e. (ROM code layout) than what is used by software ECC.

This ECC layout change causes NAND filesystems created in v3.14
and prior to be unusable in v3.15 and later. So revert back to
using software ECC scheme.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Roger Quadros and committed by
Tony Lindgren
d5c1eb17 a3e83f05

+1 -1
+1 -1
arch/arm/boot/dts/omap3430-sdp.dts
··· 107 107 #address-cells = <1>; 108 108 #size-cells = <1>; 109 109 reg = <1 0 0x08000000>; 110 - ti,nand-ecc-opt = "ham1"; 110 + ti,nand-ecc-opt = "sw"; 111 111 nand-bus-width = <8>; 112 112 gpmc,cs-on-ns = <0>; 113 113 gpmc,cs-rd-off-ns = <36>;