From 5fdd48066e8a055576294c3846be8ea3914e7902 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Tue, 26 Sep 2023 16:43:45 +0800 Subject: [PATCH] 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 Reviewed-by: Simon Glass --- disk/part.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disk/part.c b/disk/part.c index 9127515400..85244b09f3 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; -- 2.39.5