]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: blkmap: Add memory mapping support
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 16 Feb 2023 15:33:50 +0000 (16:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 14:54:47 +0000 (10:54 -0400)
commit15d9e99a274df5d9b260f75f42f7c394e5fe0e42
tree21b128ef4330fc99ea0dde18b733d432da4b4ed5
parentc41e209ea67ee9be04519a3c7afda80a32253317
blk: blkmap: Add memory mapping support

Allow a slice of RAM to be mapped to a blkmap. This means that RAM can
now be accessed as if it was a block device, meaning that existing
filesystem drivers can now be used to access ramdisks.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/blkmap.c
include/blkmap.h