[PATCH 11/11] dtoc: Add new check that offsets are correct

Simon Glass sjg at chromium.org
Sat Mar 27 06:19:49 CET 2021


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 <sjg at 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!


More information about the U-Boot mailing list