
On Fri, 3 Sept 2021 at 07:16, Thierry Reding thierry.reding@gmail.com wrote:
From: Thierry Reding treding@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@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@chromium.org