diff options
author | Tobias Waldekranz <tobias@waldekranz.com> | 2023-02-16 16:33:49 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-05 10:54:47 -0400 |
commit | c41e209ea67ee9be04519a3c7afda80a32253317 (patch) | |
tree | 71e36eef8d34bb097904a7c7d01b6824e8af452d /include/dm | |
parent | 3d2fc79714542702f55fc407f7e7885464c39cd2 (diff) | |
download | u-boot-c41e209ea67ee9be04519a3c7afda80a32253317.tar.gz u-boot-c41e209ea67ee9be04519a3c7afda80a32253317.tar.bz2 u-boot-c41e209ea67ee9be04519a3c7afda80a32253317.zip |
blk: blkmap: Add basic infrastructure
blkmaps are loosely modeled on Linux's device mapper subsystem. The
basic idea is that you can create virtual block devices whose blocks
can be backed by a plethora of sources that are user configurable.
This change just adds the basic infrastructure for creating and
removing blkmap devices. Subsequent changes will extend this to add
support for actual mappings.
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/uclass-id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 33e43c20db..576237b954 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-id.h @@ -37,6 +37,7 @@ enum uclass_id { UCLASS_AUDIO_CODEC, /* Audio codec with control and data path */ UCLASS_AXI, /* AXI bus */ UCLASS_BLK, /* Block device */ + UCLASS_BLKMAP, /* Composable virtual block device */ UCLASS_BOOTCOUNT, /* Bootcount backing store */ UCLASS_BOOTDEV, /* Boot device for locating an OS to boot */ UCLASS_BOOTMETH, /* Bootmethod for booting an OS */ |