Convert CONFIG_CMD_DIAG to Kconfig
[platform/kernel/u-boot.git] / cmd / Kconfig
index 6488701..334e531 100644 (file)
@@ -387,6 +387,15 @@ endmenu
 
 menu "Device access commands"
 
+config CMD_CLK
+       bool "clk - Show clock frequencies"
+       help
+         (deprecated)
+         Shows clock frequences by calling a sock_clk_dump() hook function.
+         This is depreated in favour of using the CLK uclass and accessing
+         clock values from associated drivers. However currently no command
+         exists for this.
+
 config CMD_DM
        bool "dm - Access to driver model information"
        depends on DM
@@ -654,6 +663,16 @@ config CMD_BMP
          the image into RAM, then using this command to look at it or display
          it.
 
+config CMD_BSP
+       bool "Enable board-specific commands"
+       help
+         (deprecated: instead, please define a Kconfig option for each command)
+
+         Some boards have board-specific commands which are only enabled
+         during developemnt and need to be turned off for production. This
+         option provides a way to control this. The commands that are enabled
+         vary depending on the board.
+
 config CMD_BKOPS_ENABLE
        bool "mmc bkops enable"
        depends on CMD_MMC
@@ -870,6 +889,27 @@ config CMD_CROS_EC
 endmenu
 
 menu "Filesystem commands"
+config CMD_CBFS
+       bool "Enable the 'cbfs' command"
+       depends on FS_CBFS
+       help
+         Define this to enable support for reading from a Coreboot
+         filesystem. This is a ROM-based filesystem used for accessing files
+         on systems that use coreboot as the first boot-loader and then load
+         U-Boot to actually boot the Operating System. Available commands are
+         cbfsinit, cbfsinfo, cbfsls and cbfsload.
+
+config CMD_CRAMFS
+       bool "Enable the 'cramfs' command"
+       depends on FS_CRAMFS
+       help
+         This provides commands for dealing with CRAMFS (Compressed ROM
+         filesystem). CRAMFS is useful when space is tight since files are
+         compressed. Two commands are provided:
+
+            cramfsls   - lists files in a cramfs image
+            cramfsload - loads a file from a cramfs image
+
 config CMD_EXT2
        bool "ext2 command support"
        help
@@ -932,6 +972,14 @@ config CMD_BEDBUG
          for some PowerPC processors. For details please see the
          docuemntation in doc/README.beddbug
 
+config CMD_DIAG
+       bool "diag - Board diagnostics"
+       help
+         This command provides access to board diagnostic tests. These are
+         called Power-on Self Tests (POST). The command allows listing of
+         available tests and running either all the tests, or specific tests
+         identified by name.
+
 endmenu
 
 config CMD_UBI