
8 Nov
2019
8 Nov
'19
3:51 p.m.
Am Mittwoch, 23. Oktober 2019, 16:46:39 CET schrieb Heiko Stuebner:
From: Heiko Stuebner heiko.stuebner@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@theobroma-systems.com
this patch already received in v2 a Reviewed-by: Simon Glass sjg@chromium.org