commit | 37ba9844c2e3689a6860d3f5c6d312490a3f2d80 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 21 18:24:35 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Sat Mar 27 16:26:48 2021 +1300 |
tree | 4b21e8668e84f92959618bece56b3fe64eb25002 | |
parent | acd98611c3ca26f10b997ab09aeacd9f4b91d5f3 [diff] |
dtoc: Tidy up property-offset handling If a property does not yet have an offset, then that means it exists in the cache'd fdt but has not yet been synced back to the flat tree. Use the dirty flag for this so we don't need to check the offset too. Improve the comments for Prop and Node to make it clear what an offset of None means. Also clear the dirty flag after the property is synced. Signed-off-by: Simon Glass <sjg@chromium.org>