aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.10
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-15 15:16:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-15 15:16:16 +0000
commit4382cb6c9c6e7838803ff2cea67d956f89137a35 (patch)
tree9e8b7ea8244581f569f2a4636f8b6cc42e2a6735 /target/linux/generic/patches-3.10
parent625e34b42c44955bd9b87bd483e5d3b54268bad2 (diff)
downloadmaster-187ad058-4382cb6c9c6e7838803ff2cea67d956f89137a35.tar.gz
master-187ad058-4382cb6c9c6e7838803ff2cea67d956f89137a35.tar.bz2
master-187ad058-4382cb6c9c6e7838803ff2cea67d956f89137a35.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37997 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.10')
-rw-r--r--target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch16
1 files changed, 10 insertions, 6 deletions
diff --git a/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch b/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch
index f6ef8c7a6e..edbb704115 100644
--- a/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch
+++ b/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch
@@ -1,9 +1,11 @@
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
-@@ -23,6 +23,23 @@ config MTD_TESTS
- 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.
+@@ -12,6 +12,27 @@ menuconfig MTD
+ if MTD
+
++menu "OpenWrt specific MTD options"
++
+config MTD_ROOTFS_ROOT_DEV
+ bool "Automatically set 'rootfs' partition to be root filesystem"
+ default y
@@ -21,9 +23,11 @@
+ depends on MTD_UIMAGE_SPLIT
+ default "firmware"
+
- config MTD_REDBOOT_PARTS
- tristate "RedBoot partition table parsing"
- ---help---
++endmenu
++
+ config MTD_TESTS
+ tristate "MTD tests support (DANGEROUS)"
+ depends on m
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -29,6 +29,8 @@