[PATCH 2/9] fdtdec: Support retrieving the name of a carveout
Simon Glass
sjg at chromium.org
Thu Sep 30 06:09:19 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>
>
> When retrieving a given carveout for a device, allow callers to query
> the name. This helps differentiating between carveouts when there are
> more than one.
>
> This is also useful when copying carveouts to help assign a meaningful
> name that cannot always be guessed.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
> board/nvidia/p2371-2180/p2371-2180.c | 2 +-
> board/nvidia/p2771-0000/p2771-0000.c | 2 +-
> board/nvidia/p3450-0000/p3450-0000.c | 2 +-
> include/fdtdec.h | 8 +++++---
> lib/fdtdec.c | 12 ++++++++----
> lib/fdtdec_test.c | 3 ++-
> 6 files changed, 18 insertions(+), 11 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list