dm: core: Require users of devres to include the header
[oweals/u-boot.git] / test / Kconfig
index de16d179d0797940c540466ee51775eec0a23079..cb51b4672102dc61c01a91bd001e77ae945dd498 100644 (file)
@@ -6,6 +6,30 @@ menuconfig UNIT_TEST
          This does not require sandbox to be included, but it is most
          often used there.
 
+config UT_LIB
+       bool "Unit tests for library functions"
+       depends on UNIT_TEST
+       default y
+       help
+         Enables the 'ut lib' command which tests library functions like
+         memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
+
+if UT_LIB
+
+config UT_LIB_ASN1
+       bool "Unit test for asn1 compiler and decoder function"
+       default y
+       imply ASYMMETRIC_KEY_TYPE
+       imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
+       imply X509_CERTIFICATE_PARSER
+       imply PKCS7_MESSAGE_PARSER
+       imply RSA_PUBLIC_KEY_PARSER
+       help
+         Enables a test which exercises asn1 compiler and decoder function
+         via various parsers.
+
+endif
+
 config UT_TIME
        bool "Unit tests for time functions"
        depends on UNIT_TEST
@@ -25,4 +49,5 @@ config UT_UNICODE
 
 source "test/dm/Kconfig"
 source "test/env/Kconfig"
+source "test/optee/Kconfig"
 source "test/overlay/Kconfig"