Commit 9d3b5654 authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

spl: spl_mmc: fix mmc Falcon mode regression


 broke mmc based Falcon mode.

The block_read function returns the number of blocks read thus the error
check needs to look for a return of 0 blocks read.

Cc: Paul Kocialkowski <>
Signed-off-by: default avatarTim Harvey <>
Acked-by: default avatarPaul Kocialkowski <>
parent 6122f0d5
......@@ -76,7 +76,7 @@ static int mmc_load_image_raw_os(struct mmc *mmc)
if (err) {
if (err == 0) {
printf("spl: mmc block read error\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment