Files
u-boot-tk1-som/board
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
..
2011-11-29 15:43:38 +01:00
2013-04-01 16:33:52 -04:00
2010-12-09 10:25:56 +01:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2012-02-12 15:03:25 -05:00
2011-10-15 22:20:36 +02:00
2013-02-08 22:32:38 -05:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2013-04-01 16:33:52 -04:00
2011-10-15 22:20:36 +02:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2012-12-17 15:38:14 +01:00
2013-03-09 08:22:57 +01:00
2012-10-15 11:54:14 -07:00
2011-10-15 22:20:36 +02:00
2011-10-15 22:20:36 +02:00
2012-03-26 23:09:23 +02:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2011-10-15 22:20:36 +02:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2010-11-28 21:45:32 +01:00
2012-02-12 15:03:25 -05:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2012-10-04 16:59:13 +02:00
2013-04-01 16:33:52 -04:00
2011-10-15 22:20:36 +02:00