mbox series

[v2,0/2] fdtdec: support multiple phandles in memory carveout

Message ID 20200403104304.32616-1-laurentiu.tudor@nxp.com
Headers show
Series fdtdec: support multiple phandles in memory carveout | expand

Message

Laurentiu Tudor April 3, 2020, 10:43 a.m. UTC
Content-Type: text/plain; charset="us-ascii"

fdtdec_set_carveout() is limited to only one phandle. Fix this
limitation by adding support for multiple phandles and also add
an unit test for the function.

Changes in v2:
 - added a unit test for the function (Simon)
 - added a cover letter

Laurentiu Tudor (2):
  fdtdec: support multiple phandles in memory carveout
  test: fdtdec: test fdtdec_set_carveout()

 lib/fdtdec.c     | 36 +++++++++++++++++++++--------
 test/dm/Makefile |  1 +
 test/dm/fdtdec.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 87 insertions(+), 10 deletions(-)
 create mode 100644 test/dm/fdtdec.c