commit | d5598cfa9bcab50812b2b416af91c2a37be67531 | [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 | 10cd8efe1a7eacd63907ba95bd8442bc2cdce461 [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>