]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num
authorSean Anderson <sean.anderson@seco.com>
Fri, 29 Oct 2021 15:05:54 +0000 (11:05 -0400)
committerMarek Vasut <marex@denx.de>
Sat, 30 Oct 2021 20:55:00 +0000 (22:55 +0200)
commit6558d9883a395e30b462e3d4ec6acb2f89dc5c83
tree33ee5b70529a5538789b50e038f2657074fbe54d
parentce34c419eac00c92fe5795612297cae1000393f2
cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num

This allows specifying partitions using more extended syntax. This is
particularly useful to access eMMC hardware partitions. For example,
this allows something like

ums 0 mmc 0.0,0.1,0.2,0.3

to expose four LUNs for each of the four default eMMC hardware
partitions. Note that the comma syntax was already present, and this
syntax is already documented.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
cmd/usb_mass_storage.c