u-boot/tools/dtoc
Simon Glass eec44c7218 dtoc: Support widening a bool value
At present if we see 'ranges' property (with no value) we assume it is a
boolean, as per the devicetree spec.

But another node may define 'ranges' with a value, forcing us to widen it
to an int array. At present this is not supported and causes an error.

Fix this and add some test cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
2021-08-01 09:05:24 -06:00
..
test dtoc: Support widening a bool value 2021-08-01 09:05:24 -06:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Check that a parent is not missing 2021-07-15 19:50:27 +08:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt.py dtoc: Support widening a bool value 2021-08-01 09:05:24 -06:00
fdt_util.py binman: Use target-specific tools when cross-compiling 2020-09-22 12:54:13 -06:00
main.py dtoc: Convert to use ArgumentParser 2021-07-21 10:27:33 -06:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06:00
test_dtoc.py dtoc: Support widening a bool value 2021-08-01 09:05:24 -06:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py dtoc: Support widening a bool value 2021-08-01 09:05:24 -06:00
test_src_scan.py dtoc: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06:00