diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-04-13 16:53:16 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-04-13 16:53:16 +0000 |
commit | c75e700d4234d149aeba5781d0a73cc329a6005c (patch) | |
tree | e50d6f8830dbac7471cef55ea14baa36b245aa54 /target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch | |
parent | 99768ccb7c7593c36ebca250bd5cbe1d6b74d166 (diff) | |
download | master-31e0f0ae-c75e700d4234d149aeba5781d0a73cc329a6005c.tar.gz master-31e0f0ae-c75e700d4234d149aeba5781d0a73cc329a6005c.tar.bz2 master-31e0f0ae-c75e700d4234d149aeba5781d0a73cc329a6005c.zip |
brcm47xx: remove support for kernel 3.0
SVN-Revision: 31276
Diffstat (limited to 'target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch b/target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch deleted file mode 100644 index 2cce8b97b9..0000000000 --- a/target/linux/brcm47xx/patches-3.0/0021-add-workarround-for-wndr3400.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 3e889f1cf928c6d87229761a0bc4c18c775a988b Mon Sep 17 00:00:00 2001 -From: Hauke Mehrtens <hauke@hauke-m.de> -Date: Sun, 17 Jul 2011 21:13:32 +0200 -Subject: [PATCH 21/26] add workarround for wndr3400 - - -Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> ---- - drivers/mtd/bcm47xxpart.c | 17 ++++++++++++----- - 1 files changed, 12 insertions(+), 5 deletions(-) - ---- a/drivers/mtd/bcm47xxpart.c -+++ b/drivers/mtd/bcm47xxpart.c -@@ -78,11 +78,12 @@ struct trx_header { - - #define NVRAM_SPACE 0x8000 - --#define ROUTER_NETGEAR_WGR614L 1 --#define ROUTER_NETGEAR_WNR834B 2 --#define ROUTER_NETGEAR_WNDR3300 3 --#define ROUTER_NETGEAR_WNR3500L 4 --#define ROUTER_SIMPLETECH_SIMPLESHARE 5 -+#define ROUTER_NETGEAR_WGR614L 1 -+#define ROUTER_NETGEAR_WNR834B 2 -+#define ROUTER_NETGEAR_WNDR3300 3 -+#define ROUTER_NETGEAR_WNR3500L 4 -+#define ROUTER_SIMPLETECH_SIMPLESHARE 5 -+#define ROUTER_NETGEAR_WNDR3400 6 - - static struct mtd_partition bcm47xx_parts[] = { - { name: "cfe", offset:0, size:0, mask_flags:MTD_WRITEABLE, }, -@@ -400,6 +401,11 @@ static int get_router(void) - return ROUTER_NETGEAR_WNR3500L; - } - -+ if (boardnum == 1 && boardtype == 0xb4cf && boardrev == 0x1100) { -+ /* Netgear WNDR3400 */ -+ return ROUTER_NETGEAR_WNDR3400; -+ } -+ - if (boardtype == 0x042f - && boardrev == 0x10 - && boardflags == 0 -@@ -440,6 +446,7 @@ static int parse_bcm47xx_partitions(stru - case ROUTER_NETGEAR_WNR834B: - case ROUTER_NETGEAR_WNDR3300: - case ROUTER_NETGEAR_WNR3500L: -+ case ROUTER_NETGEAR_WNDR3400: - /* Netgear: checksum is @ 0x003AFFF8 for 4M flash or checksum - * is @ 0x007AFFF8 for 8M flash - */ |