mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Maxime Ripard](/assets/img/avatar_default.png)
This adds a bunch of unit tests for the "fdt apply" command. They've all been run successfully in the sandbox. However, as you still require an out-of-tree dtc with overlay support, this is disabled by default. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 lines
454 B
Plaintext
12 lines
454 B
Plaintext
config UT_OVERLAY
|
|
bool "Enable Device Tree Overlays Unit Tests"
|
|
depends on OF_LIBFDT_OVERLAY
|
|
depends on UNIT_TEST
|
|
help
|
|
This enables the 'ut overlay' command which runs a series of unit
|
|
tests on the fdt overlay code.
|
|
If all is well then all tests pass although there will be a few
|
|
messages printed along the way.
|
|
Be warned that it requires an out-of-tree dtc compiler with patches
|
|
to support the DT overlays, otherwise it will fail.
|