]> git.sur5r.net Git - u-boot/commit
spl: spl_mmc: Error and count distinction
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 22 May 2015 10:45:35 +0000 (12:45 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 28 May 2015 12:18:21 +0000 (08:18 -0400)
commit3bc37b6d65c856a90ad7389b7a216f5a83164f83
tree6bf4f8530e38303e79870d000437dc00b7a36f1f
parent657fd2d031daabf53c653ab3aa32b88846b3037d
spl: spl_mmc: Error and count distinction

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 <contact@paulk.fr>
Tested-by: Tim Harvey <tharvey@gateworks.com>
common/spl/spl_mmc.c