u-boot-brain/drivers/mtd/nand
Jeroen Hofstee d43950463c arm: omap: Fix switching back to nandecc sw.
Orjan Friberg wrote at [1]:

"For the beagleboard, ecc.size is not explicitly set when doing 'nandecc
sw'. If it's not set for the NAND_ECC_SOFT case in nand_scan_tail, it's
set to 256 bytes.

When doing 'nandecc hw', ecc.size is set to 512 bytes. Hence, when
changing back to 'nandecc sw' ecc.size remains at 512 bytes and suddenly
the format has changed."

No patch has been submitted and the issue was still present. This patch
adds the mentioned solution. Tested on a tam3517 board.

[1] http://lists.denx.de/pipermail/u-boot/2012-February/119002.html

cc: Orjan Friberg <of@flatfrog.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
2012-09-01 14:58:19 +02:00
..
atmel_nand_ecc.h at91: add hwecc method for nand 2010-03-23 14:29:09 -05:00
atmel_nand.c Fix Stelian's email address 2011-11-29 15:43:38 +01:00
bfin_nand.c Blackfin: bfin_nand: mark local func static 2012-02-12 15:03:26 -05:00
davinci_nand.c NAND: davinci: choose correct 1-bit h/w ECC reg 2011-10-10 15:28:05 -05:00
diskonchip.c Remove legacy NAND and disk on chip code. 2009-07-16 19:07:47 -05:00
fsl_elbc_nand.c nand/fsl_elbc: Convert to self-init 2012-01-26 16:09:06 -06:00
fsl_ifc_nand.c driver/mtd:IFC: Fix possible memory leak 2012-05-18 18:15:24 -05:00
fsl_upm.c PPC: Fix fsl_upm.c by renaming nand handling functions 2011-10-03 18:41:02 -05:00
fsmc_nand.c mtd/NAND: Add FSMC driver support 2012-07-07 14:07:38 +02:00
jz4740_nand.c MIPS: Jz4740: Add NAND driver 2011-10-12 23:28:37 +09:00
kb9202_nand.c KB9202: Add NAND support 2009-08-26 15:37:01 -05:00
kirkwood_nand.c nand: increase chip_delay in mv kirkwood nand driver 2011-10-03 18:35:11 -05:00
kmeter1_nand.c 83xx, kmeter1: added NAND support 2009-08-26 15:37:02 -05:00
Makefile mtd/NAND: Add FSMC driver support 2012-07-07 14:07:38 +02:00
mpc5121_nfc.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mxc_nand.c imx: nand: Support flash based BBT 2012-05-15 08:31:33 +02:00
mxs_nand.c mxs: prefix register structs with 'mxs' prefix 2012-09-01 14:58:17 +02:00
nand_base.c NAND: Remove ONFI detection message to from bootup log 2012-05-18 18:17:06 -05:00
nand_bbt.c mtd, nand: move some printfs to debug output. 2012-05-18 18:11:37 -05:00
nand_bch.c nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
nand_ecc.c nand_spl_simple: add support for software ECC 2011-12-06 23:59:36 +01:00
nand_ids.c nand: Add more NAND types from Linux nand driver 2012-01-26 16:09:02 -06:00
nand_plat.c mtd: nand_plat: add simple GPIO framework DEV_READY option 2010-07-08 16:52:12 -05:00
nand_spl_load.c drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning 2011-12-07 16:02:07 -06:00
nand_spl_simple.c nand_spl_simple: store ecc data on the stack 2012-01-26 16:06:21 -06:00
nand_util.c nand_util: correct YAFFS image write function 2012-05-18 18:08:45 -05:00
nand.c nand: Introduce CONFIG_SYS_NAND_SELF_INIT 2012-01-26 16:09:06 -06:00
ndfc.c NAND: Add 16bit NAND support for the NDFC 2011-07-01 15:56:52 -05:00
nomadik.c nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
omap_gpmc.c arm: omap: Fix switching back to nandecc sw. 2012-09-01 14:58:19 +02:00
s3c64xx.c Fix regression in SMDK6400 2011-12-06 23:59:31 +01:00
s3c2410_nand.c GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c 2011-10-27 23:54:08 +02:00