]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/Kconfig
dm: tpm: Add a 'tpmtest' command
[karo-tx-uboot.git] / common / Kconfig
index 9990bec5b95e45cfad4e595f04c174a18810fee7..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
@@ -222,6 +229,13 @@ config CMD_SAVEENV
          Save all environment variables into the compiled-in persistent
          storage.
 
+config CMD_ENV_EXISTS
+       bool "env exists"
+       default y
+       help
+         Check if a variable is defined in the environment for use in
+         shell scripting.
+
 endmenu
 
 menu "Memory commands"
@@ -352,6 +366,11 @@ config CMD_MMC
        help
          MMC/SD support.
 
+config CMD_SF
+       bool "sf"
+       help
+         SPI Flash support
+
 config CMD_SPI
        bool "sspi"
        help
@@ -398,6 +417,7 @@ config CMD_SOURCE
 
 config CMD_SETEXPR
        bool "setexpr"
+       default y
        help
          Evaluate boolean and math expressions and store the result in an env
            variable.
@@ -412,6 +432,7 @@ config CMD_NET
        bool "bootp, tftpboot"
        default y
         select NET
+       default y
        help
          Network commands.
          bootp - boot image via network using BOOTP/TFTP protocol
@@ -745,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"