]> git.baikalelectronics.ru Git - uboot.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)
commite01a5bb5bd3b114aea3fdce8a732f5bb293db017
tree71e36eef8d34bb097904a7c7d01b6824e8af452d
parent9e43828137e149ac0506dd9ace8b88677b2ac118
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