[PATCH v2 4/9] blk: blkmap: Add memory mapping support
Simon Glass
sjg at chromium.org
Fri Feb 17 03:55:06 CET 2023
On Thu, 16 Feb 2023 at 08:34, Tobias Waldekranz <tobias at waldekranz.com> wrote:
>
> 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 at waldekranz.com>
> ---
> drivers/block/blkmap.c | 105 +++++++++++++++++++++++++++++++++++++++++
> include/blkmap.h | 29 ++++++++++++
> 2 files changed, 134 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Only nit is we normally have a blank line before the final 'return' in
a function
More information about the U-Boot
mailing list