Re: [U-Boot] [U-Boot, v6, 4/9] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-04-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2013 02:37 AM, Igor Grinberg wrote: > On 04/10/13 16:08, Tom Rini wrote: >> On Thu, Mar 14, 2013 at 05:32:50AM -, Tom Rini wrote: > >>> We make these two functions take a size_t pointer to how much >>> space was used on NAND to read or wr

Re: [U-Boot] [U-Boot, v6, 4/9] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-04-10 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/13 16:08, Tom Rini wrote: > On Thu, Mar 14, 2013 at 05:32:50AM -, Tom Rini wrote: > >> 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 th

Re: [U-Boot] [U-Boot, v6, 4/9] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-04-10 Thread Tom Rini
On Thu, Mar 14, 2013 at 05:32:50AM -, Tom Rini wrote: > 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