[PATCH v2 2/6] dtoc: Make properties dirty when purging them

Simon Glass sjg at chromium.org
Wed Aug 2 20:07:49 CEST 2023


Without the 'dirty' flag properties are not written back to the
devicetree when synced. This means that new properties copied over to a
node are not always written out.

Fix this and add a test.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/dtoc/fdt.py                  |  1 +
 tools/dtoc/test/dtoc_test_copy.dts |  6 ++++--
 tools/dtoc/test_fdt.py             | 16 +++++++++++++---
 3 files changed, 18 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list