diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-11-22 12:55:14 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-11-24 08:31:55 +0100 |
commit | 934edb764dfd9fffe88478ecd315bee6ca0a781a (patch) | |
tree | c48581cf5ed5db70d7a14064e2d73fd9251d488f /target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch | |
parent | 6680fab9474a8a2d66d5ef86e2c392abe0d2c62d (diff) | |
download | upstream-934edb764dfd9fffe88478ecd315bee6ca0a781a.tar.gz upstream-934edb764dfd9fffe88478ecd315bee6ca0a781a.tar.bz2 upstream-934edb764dfd9fffe88478ecd315bee6ca0a781a.zip |
kernel: don't auto-split "firmware" if it has "compatible" DT property
If "compatible" is being used that should trigger a proper parser
directly. It's more reliable thanks to not trying parsers one by one. In
such case partition shouldn't be split automatically to avoid parsing it
twice.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch')
-rw-r--r-- | target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch b/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch index a48ae87ea2..0393fb2309 100644 --- a/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch +++ b/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch @@ -57,7 +57,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> #ifdef CONFIG_MTD_SPLIT_FIRMWARE_NAME #define SPLIT_FIRMWARE_NAME CONFIG_MTD_SPLIT_FIRMWARE_NAME #else -@@ -1118,6 +1152,61 @@ void mtd_part_parser_cleanup(struct mtd_ +@@ -1119,6 +1153,61 @@ void mtd_part_parser_cleanup(struct mtd_ } } |