summaryrefslogtreecommitdiff
path: root/target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-03-22 09:43:01 +0100
committerJohn Crispin <john@phrozen.org>2017-03-22 09:45:18 +0100
commit3a3564ead5e4cf2f6ff73302c1e680b5575079ec (patch)
treee7acdf854e6577dd56616d8e5e0def8a2e0427d3 /target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch
parentef6c4cc4ee046aa3f0bdb307c2ceea45ac2636aa (diff)
downloadmtk-20170518-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.zip
mtk-20170518-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.tar.gz
mtk-20170518-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.tar.bz2
ipq806x: remove v4.4 support
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch')
-rw-r--r--target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch b/target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch
deleted file mode 100644
index 8890a91..0000000
--- a/target/linux/ipq806x/patches-4.4/302-mtd-qcom-smem-rename-rootfs-ubi.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/drivers/mtd/qcom_smem_part.c
-+++ b/drivers/mtd/qcom_smem_part.c
-@@ -189,6 +189,10 @@ static int parse_qcom_smem_partitions(st
- m_part->size = le32_to_cpu(s_part->size) * (*smem_blksz);
- m_part->offset = le32_to_cpu(s_part->start) * (*smem_blksz);
-
-+ /* "rootfs" conflicts with OpenWrt auto mounting */
-+ if (mtd_type_is_nand(master) && !strcmp(m_part->name, "rootfs"))
-+ m_part->name = "ubi";
-+
- /*
- * The last SMEM partition may have its size marked as
- * something like 0xffffffff, which means "until the end of the