mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
da39341223
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> |
||
---|---|---|
.. | ||
dtoc_test.dts | ||
dtoc_test_add_prop.dts | ||
dtoc_test_addr32.dts | ||
dtoc_test_addr32_64.dts | ||
dtoc_test_addr64.dts | ||
dtoc_test_addr64_32.dts | ||
dtoc_test_alias_bad.dts | ||
dtoc_test_alias_bad_path.dts | ||
dtoc_test_alias_bad_uc.dts | ||
dtoc_test_aliases.dts | ||
dtoc_test_bad_reg.dts | ||
dtoc_test_bad_reg2.dts | ||
dtoc_test_driver_alias.dts | ||
dtoc_test_empty.dts | ||
dtoc_test_inst.dts | ||
dtoc_test_invalid_driver.dts | ||
dtoc_test_noprops.dts | ||
dtoc_test_phandle.dts | ||
dtoc_test_phandle_bad.dts | ||
dtoc_test_phandle_bad2.dts | ||
dtoc_test_phandle_cd_gpios.dts | ||
dtoc_test_phandle_reorder.dts | ||
dtoc_test_phandle_single.dts | ||
dtoc_test_scan_drivers.cxx | ||
dtoc_test_simple.dts | ||
dtoc_test_single_reg.dts |