From a5000c0af6508b732c77125f2e8e3eb8ab960157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 28 May 2015 08:08:11 +0000 Subject: brcm47xx: drop 4.0 patch that is in 4.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 45796 --- ...X-Fix-detecting-Microsoft-MN-700-Asus-WL5.patch | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 target/linux/brcm47xx/patches-4.0/030-02-MIPS-BCM47XX-Fix-detecting-Microsoft-MN-700-Asus-WL5.patch (limited to 'target') diff --git a/target/linux/brcm47xx/patches-4.0/030-02-MIPS-BCM47XX-Fix-detecting-Microsoft-MN-700-Asus-WL5.patch b/target/linux/brcm47xx/patches-4.0/030-02-MIPS-BCM47XX-Fix-detecting-Microsoft-MN-700-Asus-WL5.patch deleted file mode 100644 index 25125af197..0000000000 --- a/target/linux/brcm47xx/patches-4.0/030-02-MIPS-BCM47XX-Fix-detecting-Microsoft-MN-700-Asus-WL5.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e0c3678ae640db049f738f30b5f23cde740799ac Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= -Date: Wed, 1 Apr 2015 16:01:02 +0200 -Subject: [PATCH] MIPS: BCM47XX: Fix detecting Microsoft MN-700 & Asus WL500G -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since the day of adding this code it was broken. We were iterating over -a wrong array and checking for wrong NVRAM entry. - -Signed-off-by: Rafał Miłecki -Cc: linux-mips@linux-mips.org -Cc: Hauke Mehrtens -Patchwork: https://patchwork.linux-mips.org/patch/9654/ -Signed-off-by: Ralf Baechle ---- - arch/mips/bcm47xx/board.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/arch/mips/bcm47xx/board.c b/arch/mips/bcm47xx/board.c -index b3ae068..3fd369d 100644 ---- a/arch/mips/bcm47xx/board.c -+++ b/arch/mips/bcm47xx/board.c -@@ -247,8 +247,8 @@ static __init const struct bcm47xx_board_type *bcm47xx_board_get_nvram(void) - } - - if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0 && -- bcm47xx_nvram_getenv("boardtype", buf2, sizeof(buf2)) >= 0) { -- for (e2 = bcm47xx_board_list_boot_hw; e2->value1; e2++) { -+ bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0) { -+ for (e2 = bcm47xx_board_list_hw_version_num; e2->value1; e2++) { - if (!strstarts(buf1, e2->value1) && - !strcmp(buf2, e2->value2)) - return &e2->board; --- -1.8.4.5 - -- cgit v1.2.3