]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
disk: part: Handle blkmap device in print_part_header()
authorBin Meng <bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:45 +0000 (16:43 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Oct 2023 20:30:45 +0000 (16:30 -0400)
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>
disk/part.c

index 91275154001d0e7f07d20063e2332cd8d3213f06..85244b09f3596375cb05d4836719ec7c016544e4 100644 (file)
@@ -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;