diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-07-05 08:26:46 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-20 15:35:07 (GMT) |
commit | f2a9942fbc47491cc5f5151670c42d43dc0544cb (patch) | |
tree | 24d07a7a1d1738c1d668620e31dcb5dc600f0eb4 /test/overlay/Kconfig | |
parent | e6628ad7b99b285b25147366c68a7b956e362878 (diff) | |
download | u-boot-f2a9942fbc47491cc5f5151670c42d43dc0544cb.tar.xz |
tests: Introduce DT overlay tests
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>
Diffstat (limited to 'test/overlay/Kconfig')
-rw-r--r-- | test/overlay/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/overlay/Kconfig b/test/overlay/Kconfig new file mode 100644 index 0000000..13c8542 --- /dev/null +++ b/test/overlay/Kconfig @@ -0,0 +1,11 @@ +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. |