]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: blkmap: add ramdisk creation utility function
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 10 Nov 2023 04:25:36 +0000 (13:25 +0900)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Sat, 18 Nov 2023 08:08:08 +0000 (10:08 +0200)
commitd822255d653421bdcda9d6f443929a5b67ca4454
treebc42b17bc84c18cb92af30806633e8aa8658e2f2
parent8cf18da1a971dbfe121c1fc1836bb4af942d06dc
blk: blkmap: add ramdisk creation utility function

User needs to call several functions to create the ramdisk
with blkmap.
This adds the utility function to create blkmap device and
mount the ramdisk.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/block/Makefile
drivers/block/blkmap.c
drivers/block/blkmap_helper.c [new file with mode: 0644]
include/blkmap.h