[U-Boot] [PATCH v3 2/4] fdtdec: only create phandle if caller wants it in fdtdec_add_reserved_memory()

Heiko Stübner heiko at sntech.de
Fri Nov 8 14:51:01 UTC 2019

Am Mittwoch, 23. Oktober 2019, 16:46:39 CET schrieb Heiko Stuebner:
> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> The phandlep pointer returning the phandle to the caller is optional
> and if it is not set when calling fdtdec_add_reserved_memory() it is
> highly likely that the caller is not interested in a phandle to the
> created reserved-memory area and really just wants that area added.
> So just don't create a phandle in that case.
> Signed-off-by: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>

this patch already received in v2 a
Reviewed-by: Simon Glass <sjg at chromium.org>

More information about the U-Boot mailing list