[U-Boot] [PATCH 1/1] tests: enable DT overlay tests by default

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Dec 14 21:11:57 UTC 2018


Enable device tree overlay tests by default if unit tests are selected.

Overlays have been mainlined in the device tree compiler so there is no
reason anymore to disable the tests by default.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 test/overlay/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/overlay/Kconfig b/test/overlay/Kconfig
index 13c85428cba..f39966623dc 100644
--- a/test/overlay/Kconfig
+++ b/test/overlay/Kconfig
@@ -1,11 +1,10 @@
 config UT_OVERLAY
 	bool "Enable Device Tree Overlays Unit Tests"
-	depends on OF_LIBFDT_OVERLAY
 	depends on UNIT_TEST
+	default y
+	select OF_LIBFDT_OVERLAY
 	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.
-- 
2.19.2



More information about the U-Boot mailing list