Similar to what blk_get_device_part_str() does, this patch makes part_get_info_by_name() return the partition number in case of a match. This is useful when the partition number is needed and not just the descriptor. Signed-off-by: Alex Deymo <deymo@google.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| part.c | ||
| part_amiga.c | ||
| part_amiga.h | ||
| part_dos.c | ||
| part_dos.h | ||
| part_efi.c | ||
| part_iso.c | ||
| part_iso.h | ||
| part_mac.c | ||
| part_mac.h | ||