mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
disk: part: Handle blkmap device in print_part_header()
Print out the blkmap device type when showing partition header for a blkmap device. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
893e67883b
commit
5fdd48066e
1 changed files with 3 additions and 0 deletions
|
@ -336,6 +336,9 @@ static void print_part_header(const char *type, struct blk_desc *desc)
|
||||||
case UCLASS_EFI_MEDIA:
|
case UCLASS_EFI_MEDIA:
|
||||||
puts("EFI");
|
puts("EFI");
|
||||||
break;
|
break;
|
||||||
|
case UCLASS_BLKMAP:
|
||||||
|
puts("BLKMAP");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("UNKNOWN(%d)", desc->uclass_id);
|
printf("UNKNOWN(%d)", desc->uclass_id);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue