aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.8
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-04-06 22:22:26 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-04-06 22:22:26 +0000
commit4a46687d25b648564b55fe71fd4b219230756ff9 (patch)
tree9f4b704cb959d690416f21538a66b2431280d63d /target/linux/brcm47xx/patches-3.8
parent204bde8d98c3ef9e0c03c55ed6700f4deaa1089a (diff)
downloadupstream-4a46687d25b648564b55fe71fd4b219230756ff9.tar.gz
upstream-4a46687d25b648564b55fe71fd4b219230756ff9.tar.bz2
upstream-4a46687d25b648564b55fe71fd4b219230756ff9.zip
brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. SVN-Revision: 36235
Diffstat (limited to 'target/linux/brcm47xx/patches-3.8')
-rw-r--r--target/linux/brcm47xx/patches-3.8/028-mtd-bcm47xxpart-use-old-part-names.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.8/028-mtd-bcm47xxpart-use-old-part-names.patch b/target/linux/brcm47xx/patches-3.8/028-mtd-bcm47xxpart-use-old-part-names.patch
new file mode 100644
index 0000000000..e43bb87283
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.8/028-mtd-bcm47xxpart-use-old-part-names.patch
@@ -0,0 +1,20 @@
+--- a/drivers/mtd/bcm47xxpart.c
++++ b/drivers/mtd/bcm47xxpart.c
+@@ -134,7 +134,7 @@ static int bcm47xxpart_parse(struct mtd_
+ trx = (struct trx_header *)buf;
+
+ trx_part = curr_part;
+- bcm47xxpart_add_part(&parts[curr_part++], "firmware",
++ bcm47xxpart_add_part(&parts[curr_part++], "linux",
+ offset, 0);
+
+ i = 0;
+@@ -147,7 +147,7 @@ static int bcm47xxpart_parse(struct mtd_
+ i++;
+ }
+
+- bcm47xxpart_add_part(&parts[curr_part++], "linux",
++ bcm47xxpart_add_part(&parts[curr_part++], "kernel",
+ offset + trx->offset[i], 0);
+ i++;
+