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