[PATCH v5 5/6] blkmap: add an attribute to preserve the mem mapping

Tobias Waldekranz tobias at waldekranz.com
Thu Feb 27 20:51:38 CET 2025


On tor, feb 27, 2025 at 16:45, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
> Some blkmap memory mapped devices might have to be be relevant even
> after U-Boot passes control to the next image as part of the platform
> boot. An example of such a mapping would be an OS installer ISO image,
> information for which has to be provided to the OS kernel. Use the
> 'preserve' attribute for such mappings. The code for adding a pmem
> node to the device-tree then checks if this attribute is set, and adds
> a node only for mappings which have this attribute.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---

This turned out great!

Reviewed-by: Tobias Waldekranz <tobias at waldekranz.com>


More information about the U-Boot mailing list