diff mbox

[U-Boot,RFC,4/8] Add CMD_UBI to Kconfig

Message ID 1431577798-26951-5-git-send-email-joe.hershberger@ni.com
State RFC
Headers show

Commit Message

Joe Hershberger May 14, 2015, 4:29 a.m. UTC
This command benefits from Kconfig auto-selecting-other-configs
capability.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---

 common/Kconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 4397e69..619fc9d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -319,6 +319,24 @@  config CMD_FPGA
 
 endmenu
 
+menu "Storage commands"
+
+config CMD_UBI
+	bool "ubi"
+	select RBTREE
+	help
+	  Adds commands for interacting with MTD partitions formatted
+	  with the UBI flash translation layer
+
+config UBI_SILENCE_MSG
+	bool "Silence UBI messages"
+	default y if ENV_IS_IN_UBI
+	depends on CMD_UBI
+	help
+	  Make the verbose messages from UBI stop printing. This leaves
+	  warnings and errors enabled.
+
+endmenu
 
 menu "Shell scripting commands"