projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71e907
)
spl: mmc: Report device number when we fail
author
Alex Kiernan
<alex.kiernan@gmail.com>
Tue, 18 Sep 2018 08:11:55 +0000
(08:11 +0000)
committer
Tom Rini
<trini@konsulko.com>
Sun, 30 Sep 2018 17:00:34 +0000
(13:00 -0400)
If we fail to find the MMC boot device, report the number of the one
we were looking for in the error to aid diagnosis.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
common/spl/spl_mmc.c
patch
|
blob
|
history
diff --git
a/common/spl/spl_mmc.c
b/common/spl/spl_mmc.c
index 75c41598e6bc22d223e1cda65c7272b6a7246fb4..4d55dccc92206c0e16812db716e1915724c3bfea 100644
(file)
--- a/
common/spl/spl_mmc.c
+++ b/
common/spl/spl_mmc.c
@@
-140,7
+140,8
@@
static int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device)
#endif
if (err) {
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
- printf("spl: could not find mmc device. error: %d\n", err);
+ printf("spl: could not find mmc device %d. error: %d\n",
+ mmc_dev, err);
#endif
return err;
}