mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Signed-off-by: Tom Rini <trini@konsulko.com>