diff options
| author | Johan Jonker <[email protected]> | 2023-10-18 16:00:40 +0200 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2023-10-24 15:55:16 +0800 |
| commit | 900c303a0296ea862627be0405322327a170f95e (patch) | |
| tree | 1111432182946bde2cdde45eea069dc284e095b6 /disk | |
| parent | d27f227271d7b0cfc000508b859f1cb80a05f562 (diff) | |
rockchip: dm: prepare rkmtd UCLASS
Prepare a rkmtd UCLASS in use for writing Rockchip boot blocks
in combination with existing userspace tools and rockusb command.
Signed-off-by: Johan Jonker <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'disk')
| -rw-r--r-- | disk/part.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c index 85244b09f35..36b88205eca 100644 --- a/disk/part.c +++ b/disk/part.c @@ -197,6 +197,7 @@ void dev_print(struct blk_desc *desc) case UCLASS_PVBLOCK: case UCLASS_HOST: case UCLASS_BLKMAP: + case UCLASS_RKMTD: printf ("Vendor: %s Rev: %s Prod: %s\n", desc->vendor, desc->revision, @@ -330,6 +331,9 @@ static void print_part_header(const char *type, struct blk_desc *desc) case UCLASS_PVBLOCK: puts("PV BLOCK"); break; + case UCLASS_RKMTD: + puts("RKMTD"); + break; case UCLASS_VIRTIO: puts("VirtIO"); break; |
