]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/Kconfig
dm: tpm: Add a 'tpmtest' command
[karo-tx-uboot.git] / common / Kconfig
index ac288b42812edaa31de815e7ac17844c975239fe..147fb45db8018f3e864ee1d9f52e60eaacd09d47 100644 (file)
@@ -17,6 +17,13 @@ config SYS_HUSH_PARSER
        help
          Backward compatibility.
 
+config SYS_PROMPT
+       string "Shell prompt"
+       default "=> "
+       help
+         This string is displayed in the command line to the left of the
+         cursor.
+
 menu "Autoboot options"
 
 config AUTOBOOT_KEYED
@@ -759,6 +766,28 @@ config CMD_REGULATOR
 
 endmenu
 
+menu "Security commands"
+config CMD_TPM
+       bool "Enable the 'tpm' command"
+       depends on TPM
+       help
+         This provides a means to talk to a TPM from the command line. A wide
+         range of commands if provided - see 'tpm help' for details. The
+         command requires a suitable TPM on your board and the correct driver
+         must be enabled.
+
+config CMD_TPM_TEST
+       bool "Enable the 'tpm test' command"
+       depends on CMD_TPM
+       help
+         This provides a a series of tests to confirm that the TPM is working
+         correctly. The tests cover initialisation, non-volatile RAM, extend,
+         global lock and checking that timing is within expectations. The
+         tests pass correctly on Infineon TPMs but may need to be adjusted
+         for other devices.
+
+endmenu
+
 endmenu
 
 menu "Environment configuration settings"