[PATCH 5/9] fdtdec: Support reserved-memory flags
Simon Glass
sjg at chromium.org
Thu Sep 30 06:09:23 CEST 2021
On Fri, 3 Sept 2021 at 07:16, Thierry Reding <thierry.reding at gmail.com> wrote:
>
> From: Thierry Reding <treding at nvidia.com>
>
> 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 at nvidia.com>
> ---
> arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
> arch/riscv/lib/fdt_fixup.c | 2 +-
> board/nvidia/p2371-2180/p2371-2180.c | 4 ++--
> board/nvidia/p2771-0000/p2771-0000.c | 4 ++--
> board/nvidia/p3450-0000/p3450-0000.c | 4 ++--
> include/fdtdec.h | 20 +++++++++++-------
> lib/fdtdec.c | 28 ++++++++++++++++---------
> lib/fdtdec_test.c | 4 ++--
> lib/optee/optee.c | 3 ++-
> test/dm/fdtdec.c | 13 ++++++------
> 10 files changed, 50 insertions(+), 34 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list