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

Joe Hershberger joe.hershberger at ni.com
Thu May 14 06:29:54 CEST 2015


This command benefits from Kconfig auto-selecting-other-configs
capability.

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

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

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"
 
-- 
1.7.11.5



More information about the U-Boot mailing list