summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2023-09-26 16:43:45 +0800
committerTom Rini <[email protected]>2023-10-10 16:30:45 -0400
commit5fdd48066e8a055576294c3846be8ea3914e7902 (patch)
tree8a5006ab4a8b4c96494c0973706e0fe8eb738aed /disk
parent893e67883b0889b4cc4090664117e5b312ac7ff6 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c
index 91275154001..85244b09f35 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -336,6 +336,9 @@ static void print_part_header(const char *type, struct blk_desc *desc)
case UCLASS_EFI_MEDIA:
puts("EFI");
break;
+ case UCLASS_BLKMAP:
+ puts("BLKMAP");
+ break;
default:
printf("UNKNOWN(%d)", desc->uclass_id);
break;