part: Support string block devices in part_get_info_by_dev_and_name
authorSean Anderson <sean.anderson@seco.com>
Fri, 5 Feb 2021 14:38:57 +0000 (09:38 -0500)
committerMarek Vasut <marex@denx.de>
Fri, 26 Feb 2021 14:30:55 +0000 (15:30 +0100)
commit81c1aa89e17a73a899e0e55a3459f236909f2baf
tree675e808a431c47b519a0dff3cec36e5aac456a81
parent9f7bb2825b81680c0bc3cb4b0376e6a230501242
part: Support string block devices in part_get_info_by_dev_and_name

This adds support for things like "#partname" and "0.1#partname". The block
device parsing is done like in blk_get_device_part_str.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
disk/part.c