u-boot/drivers/nand
Stefan Roese cd1d937f90 [PATCH] nand: Fix problem with oobsize calculation
Here the description from Brian Brelsford <Brian_Brelsford@dell.com>:

The Hynix part returns a 0x1d in the 4th ID byte. The Samsung part
returns a 0x15. In the code fragment below bits [1:0] determine the
page size, it is ANDed via "(extid & 0x3)" then shifted out. The
next field is also ANDed with 0x3. However this is a one bit field
as defined in the Hynix and Samsung parts in the 4th ID byte that
determins the oobsize, not a two bit field. It works on Samsung as
bits[3:2] are 01. However for the Hynix there is a 11 in these two
bits, so the oob size gets messed up.

I checked the correct linux code and the suggested fix from Brian is
also available in the linux nand mtd driver.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-05 11:46:05 +01:00
..
diskonchip.c Fix JFFS2 support for legacy NAND driver. 2006-04-08 19:08:06 +02:00
Makefile * Several improvements to the new NAND subsystem: 2006-10-10 12:38:50 +02:00
nand.c Added support for the TQM8272 board from TQ 2006-12-21 17:17:02 +01:00
nand_base.c [PATCH] nand: Fix problem with oobsize calculation 2007-01-05 11:46:05 +01:00
nand_bbt.c Fix JFFS2 support for legacy NAND driver. 2006-04-08 19:08:06 +02:00
nand_ecc.c Fix JFFS2 support for legacy NAND driver. 2006-04-08 19:08:06 +02:00
nand_ids.c Fix JFFS2 support for legacy NAND driver. 2006-04-08 19:08:06 +02:00
nand_util.c [PATCH] NAND: Partition name support added to NAND subsystem 2006-10-28 17:11:10 +02:00