u-boot/board/cm_t35
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
..
cm_t35.c nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters 2013-04-10 15:22:22 +02:00
display.c common/lcd.c: remove global lcd_base 2013-03-21 10:16:53 +01:00
eeprom.c cm-t35: print PCB revision information 2012-07-07 14:07:24 +02:00
eeprom.h cm-t35: print PCB revision information 2012-07-07 14:07:24 +02:00
leds.c omap: gpio: Adapt board files to use generic API 2011-09-13 08:25:15 +02:00
Makefile cm-t35: add support for dvi displays 2013-03-08 16:41:14 -05:00