mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-08 20:55:18 -05:00
libfdt: Add fdt_check_full() function
This new function implements a complete and thorough check of an fdt blob's structure. Given a buffer containing an fdt, it should return 0 only if the fdt within is structurally sound in all regards. It doesn't check anything about the blob's contents (i.e. the actual values of the nodes and properties), of course. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c14223fb22
commit
4b8fcc3d01
7 changed files with 141 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ LIB_TESTS_L = get_mem_rsv \
|
|||
property_iterate \
|
||||
subnode_iterate \
|
||||
overlay overlay_bad_fixup \
|
||||
check_path check_header
|
||||
check_path check_header check_full
|
||||
LIB_TESTS = $(LIB_TESTS_L:%=$(TESTS_PREFIX)%)
|
||||
|
||||
LIBTREE_TESTS_L = truncated_property truncated_string truncated_memrsv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue