]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/Kconfig
tpm: Add Kconfig options for TPMs
[karo-tx-uboot.git] / lib / Kconfig
index 0cee969583d1da8638859bdcf031a860648d130e..16921c02c55175086ed52a2fe8edf7c4faee5d75 100644 (file)
@@ -41,6 +41,7 @@ config SYS_VSNPRINTF
 
 config REGEX
        bool "Enable regular expression support"
+       default y if NET
        help
          If this variable is defined, U-Boot is linked against the
          SLRE (Super Light Regular Expression) library, which adds
@@ -52,8 +53,20 @@ config LIB_RAND
        help
          This library provides pseudo-random number generator functions.
 
+source lib/dhry/Kconfig
+
 source lib/rsa/Kconfig
 
+config TPM
+       bool "Trusted Platform Module (TPM) Support"
+       help
+         This enables support for TPMs which can be used to provide security
+         features for your board. The TPM can be connected via LPC or I2C
+         and a sandbox TPM is provided for testing purposes. Use the 'tpm'
+         command to interactive the TPM. Driver model support is provided
+         for the low-level TPM interface, but only one TPM is supported at
+         a time by the TPM library.
+
 menu "Hashing Support"
 
 config SHA1
@@ -98,4 +111,6 @@ config ERRNO_STR
          - if errno is null or positive number - a pointer to "Success" message
          - if errno is negative - a pointer to errno related message
 
+source lib/efi/Kconfig
+
 endmenu