commit | 3dcc4cf99432864005b15db029332c70a9e05ae8 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri Sep 03 15:16:17 2021 +0200 |
committer | Tom Warren <twarren@nvidia.com> | Wed Oct 13 14:18:30 2021 -0700 |
tree | bfb954d2df5ec7d71432579beb09ac03bc17e232 | |
parent | 0ea53035f99f709e57bdbff05e3b7b7738f53c42 [diff] |
fdtdec: Allow using fdtdec_get_carveout() in loops In order make it possible to use fdtdec_get_carveout() in loops, return FDT_ERR_NOTFOUND when the passed-in index exceeds the number of phandles present in the given property. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>