[PATCH 15/15] disk: part: Handle blkmap device in print_part_header()
Bin Meng
bmeng at tinylab.org
Tue Sep 26 10:43:45 CEST 2023
Print out the blkmap device type when showing partition header for
a blkmap device.
Signed-off-by: Bin Meng <bmeng at tinylab.org>
---
disk/part.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/disk/part.c b/disk/part.c
index 493e04943b..6997a89775 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -309,6 +309,9 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc)
case UCLASS_EFI_MEDIA:
puts("EFI");
break;
+ case UCLASS_BLKMAP:
+ puts("BLKMAP");
+ break;
default:
printf("UNKNOWN(%d)", dev_desc->uclass_id);
break;
--
2.25.1
More information about the U-Boot
mailing list