[U-Boot] [PATCH 4/6] disk: Return the partition number in part_get_info_by_name()

Simon Glass sjg at chromium.org
Thu Apr 6 22:42:53 UTC 2017


On 2 April 2017 at 02:49, Alex Deymo <deymo at google.com> wrote:
> 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 at google.com>
> ---
>  common/fb_mmc.c | 6 +++---
>  disk/part.c     | 2 +-
>  include/part.h  | 3 ++-
>  3 files changed, 6 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list