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:
b813ef0
)
spl: Print from which mmc slot spl is trying to boot
author
Hans de Goede
<hdegoede@redhat.com>
Sun, 20 Mar 2016 13:17:10 +0000
(14:17 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Wed, 23 Mar 2016 21:04:13 +0000
(22:04 +0100)
On some sunxi boards (and presumably also non sunxi boards) u-boot can
be either loaded from a sdcard in a micro-sd slot, or from eMMC.
Print which MMC spl tries to boot from, to help debugging.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
patch
|
blob
|
history
diff --git
a/common/spl/spl.c
b/common/spl/spl.c
index e5167bf73e4c3181ef7c74b7736431e0df121668..82e7f58e80f028f7517ec52bd0d73566dae82d28 100644
(file)
--- a/
common/spl/spl.c
+++ b/
common/spl/spl.c
@@
-210,9
+210,9
@@
struct boot_device_name boot_name_table[] = {
{ BOOT_DEVICE_RAM, "RAM" },
#endif
#ifdef CONFIG_SPL_MMC_SUPPORT
- { BOOT_DEVICE_MMC1, "MMC" },
- { BOOT_DEVICE_MMC2, "MMC" },
- { BOOT_DEVICE_MMC2_2, "MMC" },
+ { BOOT_DEVICE_MMC1, "MMC
1
" },
+ { BOOT_DEVICE_MMC2, "MMC
2
" },
+ { BOOT_DEVICE_MMC2_2, "MMC
2_2
" },
#endif
#ifdef CONFIG_SPL_NAND_SUPPORT
{ BOOT_DEVICE_NAND, "NAND" },