]> git.dujemihanovic.xyz Git - u-boot.git/commit
part: Support getting whole disk from part_get_info_by_dev_and_name_or_num
authorSean Anderson <sean.anderson@seco.com>
Fri, 5 Feb 2021 14:38:56 +0000 (09:38 -0500)
committerMarek Vasut <marex@denx.de>
Fri, 26 Feb 2021 14:30:55 +0000 (15:30 +0100)
commit9f7bb2825b81680c0bc3cb4b0376e6a230501242
treed6ebad803137613c37508f340a22059a0bb9e366
parent59715754e1d1d9279f38d70df1c3c2949a5e5203
part: Support getting whole disk from part_get_info_by_dev_and_name_or_num

This adds an option to part_get_info_by_dev_and_name_or_num to allow
callers to specify whether whole-disk partitions are fine.

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