u-boot/tools/dtoc/test
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
..
dtoc_test.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_add_prop.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_addr32.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_addr32_64.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_addr64.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_addr64_32.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_alias_bad.dts dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
dtoc_test_alias_bad_path.dts dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
dtoc_test_alias_bad_uc.dts dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
dtoc_test_aliases.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_bad_reg.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_bad_reg2.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_driver_alias.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_empty.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_inst.dts dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
dtoc_test_invalid_driver.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_noparent.dts dtoc: Check that a parent is not missing 2021-07-15 19:50:27 +08:00
dtoc_test_noprops.dts dtoc: Improve handling of reg properties 2021-04-06 16:33:19 +12:00
dtoc_test_phandle.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_phandle_bad.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_phandle_bad2.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_phandle_cd_gpios.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_phandle_reorder.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_phandle_single.dts dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
dtoc_test_scan_drivers.cxx dtoc: Process driver aliases along with drivers 2021-03-22 19:23:27 +13:00
dtoc_test_simple.dts dtoc: Support widening a bool value 2021-08-01 09:05:24 -06:00
dtoc_test_single_reg.dts dtoc: Improve handling of reg properties 2021-04-06 16:33:19 +12:00