[PATCH] fdtdec: support multiple phandles in memory carveout

Simon Glass sjg at chromium.org
Thu Apr 2 04:34:19 CEST 2020


Hi,

On Tue, 31 Mar 2020 at 07:16, Laurentiu Tudor <laurentiu.tudor at nxp.com> wrote:
>
> fdtdec_set_carveout() is limited to only one phandle. Fix this
> limitation by adding support for multiple phandles.
>
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> ---
>  lib/fdtdec.c | 36 ++++++++++++++++++++++++++----------
>  1 file changed, 26 insertions(+), 10 deletions(-)
>

Please can you add a test for this function? You could put it in
test/dm/fdtdec.c - see ofnode.c for an example.

Regards,
Simon


More information about the U-Boot mailing list