All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] [PATCH 0/3] mtd: nand: omap: Use Software ECC by default
@ 2014-08-05 10:11 ` Roger Quadros
  0 siblings, 0 replies; 31+ messages in thread
From: Roger Quadros @ 2014-08-05 10:11 UTC (permalink / raw)
  To: computersforpeace, tony
  Cc: balbi, ezequiel.garcia, pekon.gupta, artem.bityutskiy, dwmw2,
	jg1.han, linux-mtd, linux-omap, linux-kernel, Roger Quadros

Hi,

In Linux v3.12 and earlier some boards [1] used Software based ECC as
the NAND ECC scheme. In 3.13 commit c66d039197e4 changed that to
Hardware ECC using ROM code ECC layout. This will cause NAND filesystems
created in 3.12 and earlier to be unreadable in v3.13 and later till
they are erased and re-created.

This series fixes this issue by using Software ECC as the default ECC
scheme for the affected boards.

Tested on omap3beagle.

[1] - Affected boards
-omap3beagle
-omap3touchbook
-overo
-am3517crane
-devkit8000
-ldp
-3430sdp

cheers,
-roger

---
Roger Quadros (3):
  mtd: nand: omap: Revert to using software ECC by default
  ARM: OMAP2+: GPMC: Support Software ECC scheme via DT
  ARM: dts: omap3430-sdp: Revert to using software ECC for NAND

 Documentation/devicetree/bindings/mtd/gpmc-nand.txt |  2 +-
 arch/arm/boot/dts/omap3430-sdp.dts                  |  2 +-
 arch/arm/mach-omap2/board-flash.c                   |  2 +-
 arch/arm/mach-omap2/gpmc-nand.c                     |  3 ++-
 arch/arm/mach-omap2/gpmc.c                          |  7 +++++--
 drivers/mtd/nand/omap2.c                            | 14 +++++++++++---
 include/linux/platform_data/mtd-nand-omap2.h        | 13 +++++++++++--
 7 files changed, 32 insertions(+), 11 deletions(-)

-- 
1.8.3.2


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2014-08-22 23:11 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 10:11 [PATCH 0/3] [PATCH 0/3] mtd: nand: omap: Use Software ECC by default Roger Quadros
2014-08-05 10:11 ` Roger Quadros
2014-08-05 10:11 ` Roger Quadros
2014-08-05 10:11 ` [PATCH 1/3] mtd: nand: omap: Revert to using software " Roger Quadros
2014-08-05 10:11   ` Roger Quadros
2014-08-05 10:11   ` Roger Quadros
2014-08-05 16:15   ` Grazvydas Ignotas
2014-08-05 16:15     ` Grazvydas Ignotas
2014-08-05 20:30     ` pekon
2014-08-05 20:30       ` pekon
2014-08-05 20:30       ` pekon
2014-08-06  8:31       ` Roger Quadros
2014-08-06  8:31         ` Roger Quadros
2014-08-06  8:31         ` Roger Quadros
2014-08-06  8:02     ` Roger Quadros
2014-08-06  8:02       ` Roger Quadros
2014-08-06  8:02       ` Roger Quadros
2014-08-06 22:55       ` Grazvydas Ignotas
2014-08-06 22:55         ` Grazvydas Ignotas
2014-08-07  8:43         ` Roger Quadros
2014-08-07  8:43           ` Roger Quadros
2014-08-07  8:43           ` Roger Quadros
2014-08-22 23:11         ` Tony Lindgren
2014-08-22 23:11           ` Tony Lindgren
2014-08-22 23:11           ` Tony Lindgren
2014-08-05 10:11 ` [PATCH 2/3] ARM: OMAP2+: GPMC: Support Software ECC scheme via DT Roger Quadros
2014-08-05 10:11   ` Roger Quadros
2014-08-05 10:11   ` Roger Quadros
2014-08-05 10:11 ` [PATCH 3/3] ARM: dts: omap3430-sdp: Revert to using software ECC for NAND Roger Quadros
2014-08-05 10:11   ` Roger Quadros
2014-08-05 10:11   ` Roger Quadros

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.