diff options
author | Simon Glass | 2021-03-26 16:17:27 +1300 |
---|---|---|
committer | Simon Glass | 2021-04-06 16:33:19 +1200 |
commit | da393412234a37af68188e7490eba136c832a275 (patch) | |
tree | 637eaafb06d762d0a850504a3f5e0b8042022bcd /doc/README.nvme | |
parent | 3e200caff05bccc86392ba531770ebb0879ef93e (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 'doc/README.nvme')
0 files changed, 0 insertions, 0 deletions