kernel/3.10: move OpenWrt MTD options into a submenu
Separate OpenWrt specific MTD options from the mainline option by moving those into a new submenu in the kernel configuration interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37997
This commit is contained in:
parent
bd6d4c4ded
commit
4beccfcccb
@ -1,9 +1,11 @@
|
|||||||
--- a/drivers/mtd/Kconfig
|
--- a/drivers/mtd/Kconfig
|
||||||
+++ b/drivers/mtd/Kconfig
|
+++ b/drivers/mtd/Kconfig
|
||||||
@@ -23,6 +23,23 @@ config MTD_TESTS
|
@@ -12,6 +12,27 @@ menuconfig MTD
|
||||||
WARNING: some of the tests will ERASE entire MTD device which they
|
|
||||||
test. Do not use these tests unless you really know what you do.
|
|
||||||
|
|
||||||
|
if MTD
|
||||||
|
|
||||||
|
+menu "OpenWrt specific MTD options"
|
||||||
|
+
|
||||||
+config MTD_ROOTFS_ROOT_DEV
|
+config MTD_ROOTFS_ROOT_DEV
|
||||||
+ bool "Automatically set 'rootfs' partition to be root filesystem"
|
+ bool "Automatically set 'rootfs' partition to be root filesystem"
|
||||||
+ default y
|
+ default y
|
||||||
@ -21,9 +23,11 @@
|
|||||||
+ depends on MTD_UIMAGE_SPLIT
|
+ depends on MTD_UIMAGE_SPLIT
|
||||||
+ default "firmware"
|
+ default "firmware"
|
||||||
+
|
+
|
||||||
config MTD_REDBOOT_PARTS
|
+endmenu
|
||||||
tristate "RedBoot partition table parsing"
|
+
|
||||||
---help---
|
config MTD_TESTS
|
||||||
|
tristate "MTD tests support (DANGEROUS)"
|
||||||
|
depends on m
|
||||||
--- a/drivers/mtd/mtdpart.c
|
--- a/drivers/mtd/mtdpart.c
|
||||||
+++ b/drivers/mtd/mtdpart.c
|
+++ b/drivers/mtd/mtdpart.c
|
||||||
@@ -29,6 +29,8 @@
|
@@ -29,6 +29,8 @@
|
||||||
|
Loading…
Reference in New Issue
Block a user