Add a few more internal checks to make sure offsets are correct, before updating the dtb.
To make this easier, update the functions which add a property to return that property,. Signed-off-by: Simon Glass <s...@chromium.org> --- tools/dtoc/fdt.py | 27 ++++++++++++++++++++++++--- tools/dtoc/test_fdt.py | 16 ++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) Applied to u-boot-dm/next, thanks!