aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
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/bcm53xx
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/bcm53xx')
-rw-r--r--target/linux/bcm53xx/config-4.91
-rw-r--r--target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/config-4.9 b/target/linux/bcm53xx/config-4.9
index 2859f03cad..c98ba7b478 100644
--- a/target/linux/bcm53xx/config-4.9
+++ b/target/linux/bcm53xx/config-4.9
@@ -225,6 +225,7 @@ CONFIG_MTD_M25P80=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_BRCMNAND=y
CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_PARSER_TRX=y
# CONFIG_MTD_PHYSMAP_OF is not set
CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_SPLIT_FIRMWARE=y
diff --git a/target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch b/target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch
index 0223ab4776..b4a25a39d0 100644
--- a/target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch
+++ b/target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch
@@ -17,7 +17,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
#include <uapi/linux/magic.h>
-@@ -249,6 +250,36 @@ static int bcm47xxpart_parse(struct mtd_
+@@ -134,6 +135,36 @@ static int bcm47xxpart_parse(struct mtd_
break;
}