omap3: nand: making ecc layout as compatible with romcode ecc
authorSukumar Ghorai <s-ghorai@ti.com>
Fri, 28 Jan 2011 10:12:09 +0000 (15:42 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Feb 2011 23:32:55 +0000 (15:32 -0800)
commitf040d33253b2daf6f305fc35fca2399047ced028
tree09accb3434f740a07780f9b3df6a4020cff84cfb
parentf3d73f362d689a1d044e77964864f0a8ea0217f3
omap3: nand: making ecc layout as compatible with romcode ecc

This patch overrides nand ecc layout and bad block descriptor (for 8-bit
device) to support hw ecc in romcode layout. So as to have in sync with ecc
layout throughout; i.e. x-loader, u-boot and kernel.

This enables to flash x-loader, u-boot, kernel, FS images from kernel itself
and compatiable with other tools.

This patch does not enables this feature by default and need to pass from
board file to enable for any board.

Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/gpmc.h
drivers/mtd/nand/omap2.c