kernel: refresh 3.12 patches on -rc7 release
[openwrt.git] / target / linux / generic / patches-3.12 / 407-mtd-hook-mtdsplit_uimage-into-Kbuild.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -48,6 +48,12 @@ config MTD_SPLIT_SQUASHFS_ROOT
4           offset and size of the unused portion of a rootfs partition
5           containing a squashfs.
6  
7 +comment "Firmware partition parsers"
8 +
9 +config MTD_SPLIT_UIMAGE_FW
10 +       bool "uImage based firmware partition parser"
11 +       select MTD_SPLIT
12 +
13  config MTD_SPLIT
14         def_bool n
15         help 
16 --- a/drivers/mtd/Makefile
17 +++ b/drivers/mtd/Makefile
18 @@ -8,6 +8,7 @@ mtd-y                           := mtdcore.o mtdsuper.o mtdconc
19  
20  mtd-$(CONFIG_MTD_SPLIT)                += mtdsplit.o
21  mtd-$(CONFIG_MTD_SPLIT_SQUASHFS_ROOT) += mtdsplit_squashfs.o
22 +mtd-$(CONFIG_MTD_SPLIT_UIMAGE_FW) += mtdsplit_uimage.o
23  
24  obj-$(CONFIG_MTD_OF_PARTS)     += ofpart.o
25  obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o