1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-19 15:20:06 +01:00

dm: core: Expand ofnode tests

The current tests do not cover all functions, nor do they cover the new
multi-tree functionality. Add and update the tests accordingly and update
the 'future work' notes in the documentation.

There is a still more testing needed for the failure cases, since at
present some ofnode functions return a libfdt error code instead of
converting it to an errno.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2022-09-06 20:27:30 -06:00
committed by Tom Rini
parent 88a1ae8172
commit 47a677c2eb
2 changed files with 214 additions and 22 deletions

View File

@@ -321,10 +321,7 @@ Adding a new function for device-tree access involves the following steps:
Future work
-----------
Live tree support was introduced in U-Boot 2017.07. There is still quite a bit
of work to do to flesh this out:
Live tree support was introduced in U-Boot 2017.07. Some possible enhancements
are:
- tests for all access functions
- more support for livetree modification
- addition of more access functions as needed
- support for livetree in SPL and before relocation (if desired)