commit | 459df478da303de90275e36230b521d26a1ad4e9 | [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 | 93f18a164e3215b8e3ca55170d462578eb92a600 [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>