projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915ffa5
)
mmc: display mmc list information like mmc_legacy type
author
Xu Ziyuan
<
[email protected]
>
Sat, 23 Jul 2016 03:11:22 +0000
(11:11 +0800)
committer
Jaehoon Chung
<
[email protected]
>
Fri, 5 Aug 2016 02:21:25 +0000
(11:21 +0900)
It's nicer to see this:
=> mmc list
dwmmc@
ff0c0000
: 0
dwmmc@
ff0f0000
: 1 (eMMC)
than this:
=> mmc list
dwmmc@
ff0c0000
: 0dwmmc@
ff0f0000
: 1 (eMMC)
With the former, it's much clearer which mmc devices are on.
Signed-off-by: Ziyuan Xu <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
Reviewed-by: Jaehoon Chung <
[email protected]
>
Tested-by: Jaehoon Chung <
[email protected]
>
Signed-off-by: Jaehoon Chung <
[email protected]
>
drivers/mmc/mmc-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc-uclass.c
b/drivers/mmc/mmc-uclass.c
index f262c6eb39882231f89cc72dbfba154b3aa7bc43..425abb1b9ef748183909e208fe32210555de09c8 100644
(file)
--- a/
drivers/mmc/mmc-uclass.c
+++ b/
drivers/mmc/mmc-uclass.c
@@
-169,7
+169,7
@@
void print_mmc_devices(char separator)
for (uclass_first_device(UCLASS_MMC, &dev);
dev;
- uclass_next_device(&dev)) {
+ uclass_next_device(&dev)
, first = false
) {
struct mmc *m = mmc_get_mmc_dev(dev);
if (!first) {