]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: GPMC: Support Software ECC scheme via DT
authorRoger Quadros <rogerq@ti.com>
Mon, 25 Aug 2014 23:15:33 +0000 (16:15 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Aug 2014 23:15:33 +0000 (16:15 -0700)
commit46c49730b9cc58ed6f0b56ccabb4c9385e71530a
treed2166d47b481f14434dbb8d9f9ab4c1b464ea616
parent9173a3ae9743c582936329bca4348c24110fa988
ARM: OMAP2+: GPMC: Support Software ECC scheme via DT

For v3.14 and prior, 1-bit Hamming code ECC via software was the
default choice for some boards e.g. 3430sdp.
Commit 9408e50680c7 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 don't mark "sw" scheme
as deperecated and support it.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/mtd/gpmc-nand.txt
arch/arm/mach-omap2/gpmc.c