u-boot/drivers
Daniel Hobi 0ec81db202 Fix computation in nand_util.c:get_len_incl_bad
Depending on offset, flash size and the number of bad blocks,
get_len_incl_bad may return a too small value which may lead to:

1) If there are no bad blocks, nand_{read,write}_skip_bad chooses the
bad block aware read/write code. This may hurt performance, but does
not have any adverse effects.

2) If there are bad blocks, the nand_{read,write}_skip_bad may choose
the bad block unaware read/write code (if len_incl_bad == *length)
which leads to corrupted data.

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
2009-12-07 22:38:16 +01:00
..
bios_emulator Leave x86emu op code tables in default section 2009-10-12 23:34:06 +02:00
block Misc SATA fixups 2009-09-04 21:53:37 +02:00
dma ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
fpga fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
gpio Kirkwood: add Marvell Kirkwood gpio driver 2009-07-23 00:19:28 +02:00
hwmon Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
i2c Clean-up of s3c24x0 drivers excluding nand driver 2009-10-13 21:13:56 -05:00
input License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
misc ppc/85xx: get_law_entry isn't used in CONFIG_NAND_SPL 2009-09-30 08:42:12 -05:00
mmc OMAP3 MMC: Fix warning dereferencing type-punned pointer 2009-10-13 06:17:36 -05:00
mtd Fix computation in nand_util.c:get_len_incl_bad 2009-12-07 22:38:16 +01:00
net smc911x: fix typo in smc911x_handle_mac_address name 2009-12-07 22:04:02 +01:00
pci fsl_pci_init_port end-point initialization is broken 2009-11-04 09:16:30 -06:00
pcmcia Misc ti_pci1410a fixups 2009-09-04 21:54:04 +02:00
power OMAP3 Move twl4030 mmc function 2009-07-29 09:57:43 +02:00
qe mpc85xx: Configure QE USB for MPC8569E-MDS boards 2009-10-27 10:04:17 -05:00
rtc RTC: Fix return code in MC13783 RTC driver. 2009-12-02 23:29:18 +01:00
serial s5pc1xx: SMDKC100: fix compile warnings 2009-10-24 09:55:25 -05:00
spi Add support for CS2 dataflash for Atmel-SPI. 2009-11-23 23:43:37 +01:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root 2009-07-23 23:27:06 +02:00
video bus_vcxk.c: fix warning: unused variable 'lineptr' 2009-08-09 22:49:16 +02:00
watchdog at91sam9: add watchdog support 2009-04-04 20:42:19 +02:00