test: dm: add test for phandle access functions
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 25 Sep 2020 07:41:16 +0000 (09:41 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Oct 2020 15:07:54 +0000 (09:07 -0600)
commitcc72f3e026c342e30dcf2848d3a1aeb3d49045b7
tree2b3e9a6ee8cf3954ff9ef21f01bbb6e300046e1f
parentcba487c7fc0fea21757cd8dba10271469d5fde9c
test: dm: add test for phandle access functions

Add unitary test for phandle access functions
- ofnode_count_phandle_with_args
- ofnode_parse_phandle_with_args
- dev_count_phandle_with_args
- dev_read_phandle_with_args

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/dm/ofnode.c
test/dm/test-fdt.c