commit | 00238615b2cc2b7d620d0c9ca96b7e37b6aea501 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Feb 08 11:49:52 2022 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Feb 22 10:05:44 2022 -0700 |
tree | 7139166fb02e711844068a3f2ccf63b2d2402273 | |
parent | b9b5cb3496a2960ebe68849ec264592e88f3d5f2 [diff] |
dtoc: Allow deleting nodes and adding them in the same sync This does not work at present, since the current algorithm assumes that either there are no nodes or all nodes have an offset. If a node is new, but an old node is still in the tree, then syncing fails due to this assumption. Fix it and add a test. Signed-off-by: Simon Glass <sjg@chromium.org>