]> git.baikalelectronics.ru Git - uboot.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)
commit587054666b8a16334cddb3bb713a9a787d682b1b
tree21b128ef4330fc99ea0dde18b733d432da4b4ed5
parente01a5bb5bd3b114aea3fdce8a732f5bb293db017
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