u-boot/drivers
Tom Rini c39d6a0ea5 nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters
We make these two functions take a size_t pointer to how much space
was used on NAND to read or write the buffer (when reads/writes happen)
so that bad blocks can be accounted for.  We also make them take an
loff_t limit on how much data can be read or written.  This means that
we can now catch the case of when writing to a partition would exceed
the partition size due to bad blocks.  To do this we also need to make
check_skip_len count not just complete blocks used but partial ones as
well.  All callers of nand_(read|write)_skip_bad are adjusted to call
these with the most sensible limits available.

The changes were started by Pantelis and finished by Tom.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Tom Rini <trini@ti.com>
2013-04-10 15:22:22 +02:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block Consolidate bool type 2013-04-01 16:33:52 -04:00
bootcount Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
dfu dfu: Support larger than memory transfers. 2013-04-10 13:42:05 +02:00
dma mxs: dma: Fix APBH DMA driver for MX23 2013-01-28 11:43:00 +01:00
fpga Consolidate bool type 2013-04-01 16:33:52 -04:00
gpio Merge u-boot/master into u-boot-ti/master 2013-03-11 12:16:13 -04:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00
input ppc: Move mpc5xxx clocks to arch_global_data 2013-02-04 09:05:43 -05:00
misc Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged 2012-12-19 13:02:36 -08:00
mmc Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' 2013-03-26 09:51:09 +01:00
mtd nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters 2013-04-10 15:22:22 +02:00
net Consolidate bool type 2013-04-01 16:33:52 -04:00
pci powerpc/p4080ds: fix PCI-e x8 link training down failure 2012-11-27 18:28:07 -06:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power Exynos5: TMU: Add hardware tripping 2013-03-12 17:07:31 +09:00
qe ppc: Move CONFIG_QE to arch_global_data 2013-02-04 09:05:42 -05:00
rtc Consolidate bool type 2013-04-01 16:33:52 -04:00
serial Consolidate bool type 2013-04-01 16:33:52 -04:00
sound Sound: Support for MAX98095 codec in driver 2013-03-08 22:34:18 +09:00
spi Consolidate bool type 2013-04-01 16:33:52 -04:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Consolidate bool type 2013-04-01 16:33:52 -04:00
video video: bcm2835: fix build issues 2013-03-29 14:29:39 +01:00
watchdog mx31/mx35/mx51/mx53/mx6: add watchdog 2013-01-13 11:39:57 +01:00