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 <poesc...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to