aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass2021-03-26 16:17:27 +1300
committerSimon Glass2021-04-06 16:33:19 +1200
commitda393412234a37af68188e7490eba136c832a275 (patch)
tree637eaafb06d762d0a850504a3f5e0b8042022bcd /include
parent3e200caff05bccc86392ba531770ebb0879ef93e (diff)
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions