]> git.baikalelectronics.ru Git - uboot.git/commit
fdtdec: Support retrieving the name of a carveout
authorThierry Reding <treding@nvidia.com>
Fri, 3 Sep 2021 13:16:18 +0000 (15:16 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 Oct 2021 21:18:30 +0000 (14:18 -0700)
commitd2e0f2652a1c72b4611321859853f826fe718641
tree74ac3ca45b7a69addd61faf887b20a175e92aa16
parent90affc4d2134b547f417ee3e10820e27aaccb9fe
fdtdec: Support retrieving the name of a carveout

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@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
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