[U-Boot] [PATCH] spl: spl_mmc: Error and count distinction

2015-05-22 Thread Paul Kocialkowski
This introduces a distinction between return codes that are read bytes counts and errors. Read bytes counts are erroneous when null (no data was read) while errors are erroneous when non-null. Signed-off-by: Paul Kocialkowski --- common/spl/spl_mmc.c | 33 +++-- 1 fil

Re: [U-Boot] [PATCH] spl: spl_mmc: Error and count distinction

2015-05-22 Thread Tim Harvey
On Fri, May 22, 2015 at 3:45 AM, Paul Kocialkowski wrote: > This introduces a distinction between return codes that are read bytes counts > and errors. Read bytes counts are erroneous when null (no data was read) while > errors are erroneous when non-null. > > Signed-off-by: Paul Kocialkowski > -