u-boot-brain/drivers/mtd
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
..
nand arm: omap: Fix switching back to nandecc sw. 2012-09-01 14:58:19 +02:00
onenand linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
spi sf: spansion: Add support for S25FL256S 2012-08-14 11:45:50 -04:00
ubi UBI: init eba tables before wl when attaching a device 2011-10-12 11:36:05 +02:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs 2012-08-13 14:34:44 +02:00
cfi_mtd.c CFI: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
dataflash.c drivers/mtd/dataflash.c: Fix GCC 4.6 warning 2011-11-16 21:28:47 +01:00
ftsmc020.c ftsmc020: fix relocation 2011-05-12 23:43:27 +02:00
jedec_flash.c add STM29F400BB to table of supported legacy flashs 2012-02-09 09:45:53 +01:00
Makefile st_smi: Add support for SPEAr SMI driver 2012-07-07 14:07:38 +02:00
mtdconcat.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mtdcore.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mtdpart.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
st_smi.c MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00