]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: cros: Correct reporting of I/O errors
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:47 +0000 (11:16 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 11 Aug 2023 00:34:54 +0000 (18:34 -0600)
commitdefa33ad29f8d2897e78fdef6218b2eeea6acf6d
treee5b2b40474a7ab8cd8d8b7a3546eb372c27cf6ae
parent321d7b4d875a77552a969dd6ea5bbed2644fcb0c
bootstd: cros: Correct reporting of I/O errors

Return -EIO when the read failed, rather than the number of blocks read.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_cros.c