Эх сурвалжийг харах

cmd: Kconfig: Add a Kconfig options for a few CMD

Add the following CMD options to Kconfig:

CMD_BOOTZ
CMD_ASKENV
CMD_GREPENV
CMD_USB_MASS_STORAGE
CMD_FAT
CMD_MII
CMD_CACHE
CMD_DFU
CMD_EXT2
CMD_EXT4
CMD_EXT4_WRITE
CMD_FS_GENERIC
CMD_MMC

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
[trini: Don't make CMD_USB_MASS_STORAGE nor CMD_DFU depend on CMD_USB]
Signed-off-by: Tom Rini <trini@konsulko.com>
Dinh Nguyen 9 жил өмнө
parent
commit
ab8243e431
1 өөрчлөгдсөн 70 нэмэгдсэн , 0 устгасан
  1. 70 0
      cmd/Kconfig

+ 70 - 0
cmd/Kconfig

@@ -160,6 +160,11 @@ config CMD_BOOTM
 	help
 	help
 	  Boot an application image from the memory.
 	  Boot an application image from the memory.
 
 
+config CMD_BOOTZ
+	bool "bootz"
+	help
+	  Boot the Linux zImage
+
 config CMD_BOOTEFI
 config CMD_BOOTEFI
 	bool "bootefi"
 	bool "bootefi"
 	depends on EFI_LOADER
 	depends on EFI_LOADER
@@ -217,6 +222,11 @@ endmenu
 
 
 menu "Environment commands"
 menu "Environment commands"
 
 
+config CMD_ASKENV
+	bool "ask for env variable"
+	help
+	  Ask for environment variable
+
 config CMD_EXPORTENV
 config CMD_EXPORTENV
 	bool "env export"
 	bool "env export"
 	default y
 	default y
@@ -235,6 +245,11 @@ config CMD_EDITENV
 	help
 	help
 	  Edit environment variable.
 	  Edit environment variable.
 
 
+config CMD_GREPENV
+	bool "search env"
+	help
+	  Allow for searching environment variables
+
 config CMD_SAVEENV
 config CMD_SAVEENV
 	bool "saveenv"
 	bool "saveenv"
 	default y
 	default y
@@ -348,6 +363,11 @@ config CMD_ARMFLASH
 	help
 	help
 	  ARM Ltd reference designs flash partition access
 	  ARM Ltd reference designs flash partition access
 
 
+config CMD_MMC
+	bool "mmc"
+	help
+	  MMC memory mapped support.
+
 config CMD_NAND
 config CMD_NAND
 	bool "nand"
 	bool "nand"
 	help
 	help
@@ -373,6 +393,17 @@ config CMD_USB
 	help
 	help
 	  USB support.
 	  USB support.
 
 
+config CMD_DFU
+	bool "dfu"
+	help
+	  Enables the command "dfu" which is used to have U-Boot create a DFU
+	  class device via USB.
+
+config CMD_USB_MASS_STORAGE
+	bool "UMS usb mass storage"
+	help
+	  USB mass storage support
+
 config CMD_FPGA
 config CMD_FPGA
 	bool "fpga"
 	bool "fpga"
 	default y
 	default y
@@ -461,6 +492,11 @@ config CMD_NFS
 	help
 	help
 	  Boot image via network using NFS protocol.
 	  Boot image via network using NFS protocol.
 
 
+config CMD_MII
+	bool "mii"
+	help
+	  Enable MII utility commands.
+
 config CMD_PING
 config CMD_PING
 	bool "ping"
 	bool "ping"
 	help
 	help
@@ -515,6 +551,11 @@ config CMD_BLOCK_CACHE
 	  during development, but also allows the cache to be disabled when
 	  during development, but also allows the cache to be disabled when
 	  it might hurt performance (e.g. when using the ums command).
 	  it might hurt performance (e.g. when using the ums command).
 
 
+config CMD_CACHE
+	bool "icache or dcache"
+	help
+	  Enable the "icache" and "dcache" commands
+
 config CMD_TIME
 config CMD_TIME
 	bool "time"
 	bool "time"
 	help
 	help
@@ -619,4 +660,33 @@ config CMD_TPM_TEST
 
 
 endmenu
 endmenu
 
 
+menu "Filesystem commands"
+config CMD_EXT2
+	bool "ext2 command support"
+	help
+	  Enables EXT2 FS command
+
+config CMD_EXT4
+	bool "ext4 command support"
+	help
+	  Enables EXT4 FS command
+
+config CMD_EXT4_WRITE
+	depends on CMD_EXT4
+	bool "ext4 write command support"
+	help
+	  Enables EXT4 FS write command
+
+config CMD_FAT
+	bool "FAT command support"
+	help
+	  Support for the FAT fs
+
+config CMD_FS_GENERIC
+	bool "filesystem commands"
+	help
+	  Enables filesystem commands (e.g. load, ls) that work for multiple
+	  fs types.
+endmenu
+
 endmenu
 endmenu