of: Add KUnit test to confirm DTB is loaded
[linux-2.6-microblaze.git] / drivers / of / Kconfig
index d738fba..dd726c7 100644 (file)
@@ -36,6 +36,15 @@ config OF_UNITTEST
 
          If unsure, say N here. This option is not safe to enable.
 
+config OF_KUNIT_TEST
+       tristate "Devicetree KUnit Test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         This option builds KUnit unit tests for device tree infrastructure.
+
+         If unsure, say N here, but this option is safe to enable.
+
 config OF_ALL_DTBS
        bool "Build all Device Tree Blobs"
        depends on COMPILE_TEST