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

Signed-off-by: Lars Poeschel <poesc...@lemonage.de>
---
 drivers/mtd/Kconfig | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 59278d1..787b1cd 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -1,3 +1,12 @@
-source "drivers/mtd/nand/Kconfig"
+menu "Memory Technology Device (MTD) support"
+
+config MTD_PARTITIONS
+       bool "mtd partitions support"
+       help
+         Adds the MTD partitioning infrastructure from the Linux
+         kernel. Needed for UBI support.
 
+endmenu
+
+source "drivers/mtd/nand/Kconfig"
 source "drivers/mtd/spi/Kconfig"
-- 
2.1.4

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

Reply via email to