git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
893e678
)
disk: part: Handle blkmap device in print_part_header()
author
Bin Meng
<bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:45 +0000
(16:43 +0800)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/disk/part.c
b/disk/part.c
index
9127515
..
85244b0
100644
(file)
--- 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;