]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: blkmap: Add basic infrastructure
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 16 Feb 2023 15:33:49 +0000 (16:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 14:54:47 +0000 (10:54 -0400)
commitc41e209ea67ee9be04519a3c7afda80a32253317
tree71e36eef8d34bb097904a7c7d01b6824e8af452d
parent3d2fc79714542702f55fc407f7e7885464c39cd2
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>
MAINTAINERS
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/blk-uclass.c
drivers/block/blkmap.c [new file with mode: 0644]
include/blkmap.h [new file with mode: 0644]
include/dm/uclass-id.h