aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-06-23 10:58:16 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-06-23 11:54:20 +0200
commitf5f1d40b5ec8130afa5440f958713e1d029b0161 (patch)
tree040ef29eff22917783c84ddb64c927d688bb5055 /target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch
parent4d5f296af857ecbd3916d1d156d1bc63c998995a (diff)
downloadupstream-f5f1d40b5ec8130afa5440f958713e1d029b0161.tar.gz
upstream-f5f1d40b5ec8130afa5440f958713e1d029b0161.tar.bz2
upstream-f5f1d40b5ec8130afa5440f958713e1d029b0161.zip
kernel: backport MTD patch extracing TRX code to separated parser
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch')
-rw-r--r--target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch b/target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch
index a022564e9e..9bf014e881 100644
--- a/target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch
+++ b/target/linux/generic/patches-4.9/430-mtd-add-myloader-partition-parser.patch
@@ -1,8 +1,8 @@
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
-@@ -174,6 +174,22 @@ config MTD_BCM47XX_PARTS
- This provides partitions parser for devices based on BCM47xx
- boards.
+@@ -178,6 +178,22 @@ menu "Partition parsers"
+ source "drivers/mtd/parsers/Kconfig"
+ endmenu
+config MTD_MYLOADER_PARTS
+ tristate "MyLoader partition parsing"
@@ -30,6 +30,6 @@
obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
+obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
+ obj-y += parsers/
# 'Users' - code which presents functionality to userspace.
- obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o