diff options
| author | Simon Glass <[email protected]> | 2023-06-01 10:22:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-07-14 12:54:50 -0400 |
| commit | a6c4f188948eaf957da8595dd76d947b8bad005a (patch) | |
| tree | ab76ae4e898e1f4ddd1cf753ce950b442d80245c /doc/develop/driver-model | |
| parent | 11c341b118a236423a294a7d62f71bf33e20aea3 (diff) | |
dm: core: Avoid registering an inaccessible tree
At present there are various restrictions on the use of livetree:
- It is only available once the tree is unflattened, i.e. after relocation
- It is designed to be used with the control FDT
- It can (in principle) be used with other FDTs, but only if they are
unflattened first; this is not supported
Add a few checks to make sure that any tree that is created is actually
valid. Otherwise it can be confusing when nodes and properties cannot
actually be accessed.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop/driver-model')
0 files changed, 0 insertions, 0 deletions
