[U-Boot] [PATCH 3/5] Make ubi selectable by Kconfig

Lars Poeschel poeschel at lemonage.de
Wed Jun 10 10:41:01 CEST 2015


Users who want to use ubi can now select it by Kconfig.
Selecting it by board config include is still possible.

Signed-off-by: Lars Poeschel <poeschel at lemonage.de>
---
 common/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index f6478fa..bc2836a 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -310,6 +310,16 @@ config CMD_FPGA
 	help
 	  FPGA support.
 
+config CMD_UBI
+	bool "ubi"
+	select RBTREE
+	depends on MTD_PARTITIONS
+	help
+	  UBI is a software layer above MTD layer which admits of LVM-like
+	  logical volumes on top of MTD devices, hides some complexities of
+	  flash chips like wear and bad blocks and provides some other useful
+	  capabilities. Please, consult the MTD web site for more details
+	  (www.linux-mtd.infradead.org).
 endmenu
 
 
-- 
2.1.4



More information about the U-Boot mailing list