projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ffa1b
)
cmd: ums: show device interface name in the information string
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Tue, 17 Nov 2020 09:51:20 +0000
(10:51 +0100)
committer
Marek Szyprowski
<m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000
(11:37 +0100)
Add interface name (i.e. 'mmc') in the information string to ease user
checking which device is exported via USB Mass Storage protocol.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ib51188a53fe5e666ceadb9ac5ce19542dc326343
cmd/usb_mass_storage.c
patch
|
blob
|
history
diff --git
a/cmd/usb_mass_storage.c
b/cmd/usb_mass_storage.c
index
cf2f559
..
14fa723
100644
(file)
--- a/
cmd/usb_mass_storage.c
+++ b/
cmd/usb_mass_storage.c
@@
-115,8
+115,8
@@
static int ums_init(const char *devtype, const char *devnums_part_str)
ums[ums_count].name = name;
ums[ums_count].block_dev = *block_dev;
- printf("UMS: LUN %d, dev %d, hwpart %d, sector %#x, count %#x\n",
- ums_count, ums[ums_count].block_dev.devnum,
+ printf("UMS: LUN %d, dev %
s %
d, hwpart %d, sector %#x, count %#x\n",
+ ums_count,
devtype,
ums[ums_count].block_dev.devnum,
ums[ums_count].block_dev.hwpart,
ums[ums_count].start_sector,
ums[ums_count].num_sectors);