[PATCH v2 3/6] blk: blkmap: add ramdisk creation utility function

Simon Glass sjg at chromium.org
Sat Sep 2 02:09:17 CEST 2023


On Fri, 1 Sept 2023 at 04:26, Masahisa Kojima
<masahisa.kojima at linaro.org> wrote:
>
> 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 at linaro.org>
> ---
>  drivers/block/Makefile        |  1 +
>  drivers/block/blkmap.c        | 15 ----------
>  drivers/block/blkmap_helper.c | 53 +++++++++++++++++++++++++++++++++++
>  include/blkmap.h              | 29 +++++++++++++++++++
>  4 files changed, 83 insertions(+), 15 deletions(-)
>  create mode 100644 drivers/block/blkmap_helper.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list