mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
spl: mmc: Report device number when we fail
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>
This commit is contained in:
parent
a71e907c4d
commit
aa608b6c99
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue