[PATCH 1/2] libfdt: Make fdt_cells function accessible

Simon Glass sjg at chromium.org
Thu Apr 9 18:25:56 CEST 2020


Hi Matthias,

On Wed, 8 Apr 2020 at 03:35, <matthias.bgg at kernel.org> wrote:
>
> From: Matthias Brugger <mbrugger at suse.com>
>
> For reading address-cells and size-cells, the libfdt only provides
> functions which do not return in case the node does not provide the
> property. For traversing the DT to find the parent node which provides
> this property we will need to know that.
>
> Make fdt_cells accessible from outside of libfdt so that we can detect
> not present size- and address-cells properties in a node.
>
> Signed-off-by: Matthias Brugger <mbrugger at suse.com>
> ---
>
>  scripts/dtc/libfdt/fdt_addresses.c | 2 +-
>  scripts/dtc/libfdt/libfdt.h        | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)

Can you please send these patches upstream too?

Thanks,
Simon


More information about the U-Boot mailing list