u-boot-brain/tools/dtoc/test
Simon Glass da39341223 dtoc: Improve handling of reg properties
This existing code assumes that a reg property is larger than one cell,
but this is not always the case. Fix this assumption.

Also if a node's parent is missing the #address-cells and #size-cells
properties we use 2 as a default for each. But this should not happen in
practice. More likely the properties were removed for SPL due to there
being no 'u-boot,dm-pre-reloc' property, or similar. Add a warning for
this as the failure can be very confusing.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-04-06 16:33:19 +12: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_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: Add a subnode test for multiple nodes 2021-03-27 16:26:48 +13:00
dtoc_test_single_reg.dts dtoc: Improve handling of reg properties 2021-04-06 16:33:19 +12:00