[U-Boot] [PATCH 2/6] fdtdec: Implement fdtdec_get_max_phandle()

Simon Glass sjg at chromium.org
Sun Mar 10 21:51:31 UTC 2019


Hi Thierry,

On Fri, 8 Mar 2019 at 13:11, Thierry Reding <thierry.reding at gmail.com> wrote:
>
> From: Thierry Reding <treding at nvidia.com>
>
> This function allows looking up the highest phandle value stored in a
> device tree, which is useful to determine the next best phandle value
> for new nodes.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
>  include/fdtdec.h | 12 ++++++++++++
>  lib/fdtdec.c     | 28 ++++++++++++++++++++++++++++
>  2 files changed, 40 insertions(+)

Can we use fdt_get_max_phandle() instead? If not, could you please add
a bit more detail to the commit message as we might consider changing
the upstream function.

Regards,
Simon


More information about the U-Boot mailing list