u-boot/tools/dtoc
Simon Glass 37ba9844c2 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>
2021-03-27 16:26:48 +13:00
..
test dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Only generate the required files 2021-03-26 17:03:08 +13:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt_util.py binman: Use target-specific tools when cross-compiling 2020-09-22 12:54:13 -06:00
fdt.py dtoc: Tidy up property-offset handling 2021-03-27 16:26:48 +13:00
main.py dtoc: Add an option for device instantiation 2021-03-22 19:23:27 +13:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Support processing the root node 2021-03-22 19:23:27 +13:00
test_dtoc.py dtoc: Only generate the required files 2021-03-26 17:03:08 +13:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py dtoc: Improve internal error for Refresh() 2021-03-27 16:26:48 +13:00
test_src_scan.py dtoc: Support processing the root node 2021-03-22 19:23:27 +13:00