diff mbox

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

Message ID 1433925663-3713-3-git-send-email-poeschel@lemonage.de
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Lars Poeschel June 10, 2015, 8:41 a.m. UTC
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@lemonage.de>
---
 common/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Tom Rini June 19, 2015, 8:24 p.m. UTC | #1
On Wed, Jun 10, 2015 at 10:41:01AM +0200, Lars Poeschel wrote:

> 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@lemonage.de>

Applied to u-boot/master, thanks!
Tom Rini June 19, 2015, 8:48 p.m. UTC | #2
On Wed, Jun 10, 2015 at 10:41:01AM +0200, Lars Poeschel wrote:

> 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@lemonage.de>

For the record, not applied to u-boot/master, thanks!
diff mbox

Patch

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