]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fdtdec: Support reserved-memory flags
authorThierry Reding <treding@nvidia.com>
Fri, 3 Sep 2021 13:16:21 +0000 (15:16 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 Oct 2021 21:18:30 +0000 (14:18 -0700)
commitb9aad375917d4ae0dec5aedcdfa79929e1dbb730
tree6b5ae83f42b3d4c77d3f7a84f37a488393f4e269
parent9019487608c8afe7d3fc34cb5192df064b60cdb7
fdtdec: Support reserved-memory flags

Reserved memory nodes can have additional flags. Support reading and
writing these flags to ensure that reserved memory nodes can be properly
parsed and emitted.

This converts support for the existing "no-map" flag to avoid extending
the argument list for fdtdec_add_reserved_memory() to excessive length.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/riscv/lib/fdt_fixup.c
board/nvidia/p2371-2180/p2371-2180.c
board/nvidia/p2771-0000/p2771-0000.c
board/nvidia/p3450-0000/p3450-0000.c
include/fdtdec.h
lib/fdtdec.c
lib/fdtdec_test.c
lib/optee/optee.c
test/dm/fdtdec.c