[PATCH v3 1/2] dm: core: Add size operations on device tree references

Simon Glass sjg at chromium.org
Mon Apr 12 20:04:42 CEST 2021


On Mon, 12 Apr 2021 at 18:51, chenguanqiao <chenguanqiao at kuaishou.com> wrote:
>
> From: Chen Guanqiao <chenguanqiao at kuaishou.com>
>
> Add functions to add size of addresses in the device tree using ofnode
> references.
>
> If the size is not set, return FDT_SIZE_T_NONE.
>
> Signed-off-by: Chen Guanqiao <chenguanqiao at kuaishou.com>
> ---
>  drivers/core/ofnode.c | 11 +++++++++++
>  include/dm/ofnode.h   | 10 ++++++++++
>  include/fdtdec.h      |  5 +++--
>  3 files changed, 24 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list