]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mxc_nand: allow swapping the Bad block Indicator for NFC v1
authorGaëtan Carlier <gcembed@gmail.com>
Fri, 24 Aug 2012 16:17:44 +0000 (18:17 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 29 Aug 2012 07:50:09 +0000 (10:50 +0300)
commit179c4c1957fd9f8b212a500d0e5288686ab91f20
tree650c89f25d07e60315210c334e06e5ea81cddf0f
parent8dc3cde05d662a225330ef58e6d1174d9b3f1fbc
mxc_nand: allow swapping the Bad block Indicator for NFC v1

Swap the BI-byte on position 0x7D0 with a data byte at 0x835.  To fix a bug
in Freescale imx NFC v1 SoC's for 2K page NAND flashes: imx27 and imx31.
Warning: The same solution needs to be applied to the boot loader and the
flash programmer.

Signed-off-by: Gaëtan Carlier <gcembed@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
arch/arm/plat-mxc/include/mach/mxc_nand.h
drivers/mtd/nand/mxc_nand.c