summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2023-10-18 16:00:40 +0200
committerKever Yang <kever.yang@rock-chips.com>2023-10-24 15:55:16 +0800
commit900c303a0296ea862627be0405322327a170f95e (patch)
tree1111432182946bde2cdde45eea069dc284e095b6 /drivers/block
parentd27f227271d7b0cfc000508b859f1cb80a05f562 (diff)
downloadu-boot-900c303a0296ea862627be0405322327a170f95e.tar.gz
u-boot-900c303a0296ea862627be0405322327a170f95e.tar.bz2
u-boot-900c303a0296ea862627be0405322327a170f95e.zip
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 <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/blk-uclass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c
index f126547cc7..30ad5bbb00 100644
--- a/drivers/block/blk-uclass.c
+++ b/drivers/block/blk-uclass.c
@@ -36,6 +36,7 @@ static struct {
{ UCLASS_VIRTIO, "virtio" },
{ UCLASS_PVBLOCK, "pvblock" },
{ UCLASS_BLKMAP, "blkmap" },
+ { UCLASS_RKMTD, "rkmtd" },
};
static enum uclass_id uclass_name_to_iftype(const char *uclass_idname)