aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:43 +0000
committerJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:43 +0000
commit10fc07daacfee223f869397d356d1481e4094e12 (patch)
tree6a82d3ed0768bbed69af8bdce78fa4434bb3cf72 /target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch
parent3b7882e7752f154ce6407c892e7b92015c5c3481 (diff)
downloadupstream-10fc07daacfee223f869397d356d1481e4094e12.tar.gz
upstream-10fc07daacfee223f869397d356d1481e4094e12.tar.bz2
upstream-10fc07daacfee223f869397d356d1481e4094e12.zip
bcm63xx: remove 3.3 support
3.6 is tested enough to be considered stable. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35009
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch b/target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch
deleted file mode 100644
index da24b1b858..0000000000
--- a/target/linux/brcm63xx/patches-3.3/102-MTD-bcm63xxpart-merge-sparelen-calculation.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From fd2ab39f22af4176eb3d23acbc4d1218cf835065 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jonas.gorski@gmail.com>
-Date: Tue, 8 May 2012 09:47:32 +0200
-Subject: [PATCH 21/79] MTD: bcm63xxpart: merge sparelen calculation
-
-The length of the spare part is calculated the same way in both branches
-so move to a common place.
-
-Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
----
- drivers/mtd/bcm63xxpart.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/mtd/bcm63xxpart.c
-+++ b/drivers/mtd/bcm63xxpart.c
-@@ -120,7 +120,6 @@ static int bcm63xx_parse_cfe_partitions(
- kerneladdr = kerneladdr - BCM63XX_EXTENDED_SIZE;
- rootfsaddr = rootfsaddr - BCM63XX_EXTENDED_SIZE;
- spareaddr = roundup(totallen, master->erasesize) + cfelen;
-- sparelen = master->size - spareaddr - nvramlen;
-
- if (rootfsaddr < kerneladdr) {
- /* default Broadcom layout */
-@@ -138,8 +137,8 @@ static int bcm63xx_parse_cfe_partitions(
- rootfslen = 0;
- rootfsaddr = 0;
- spareaddr = cfelen;
-- sparelen = master->size - cfelen - nvramlen;
- }
-+ sparelen = master->size - spareaddr - nvramlen;
-
- /* Determine number of partitions */
- if (rootfslen > 0)