[PATCH v2 0/2] livetree: Add only new data to fixup nodes instead of complete regeneration

Uwe Kleine-König <[email protected]>
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <[email protected]>
Hello,

here comes v2 of my effort to fix the fallout of commit 915daadbb62d
("Start with empty __local_fixups__ and __fixups__ nodes") before trying
to restore phandle information from __fixups__ and __local_fixups__ when
compiling from dtb to dts.

To address the feedback I got from David in reply to (implicit) v1[1] I
added a cleanup patch to fix a concern in the original code of a
function that only I copied and adapted.

Best regards
Uwe

[1] https://lore.kernel.org/devicetree-compiler/[email protected]

Uwe Kleine-König (2):
  livetree: Simplify append_to_property()
  livetree: Add only new data to fixup nodes instead of complete
    regeneration

 livetree.c              | 85 +++++++++++++++++++++++++++++------------
 tests/retain-fixups.dts | 29 ++++++++++++++
 tests/run_tests.sh      |  5 +++
 3 files changed, 95 insertions(+), 24 deletions(-)
 create mode 100644 tests/retain-fixups.dts

base-commit: 84d9dd2fcbc865a35d7f04d9b465b05ef286d281
-- 
2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.