aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:37 +0000
committerJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:37 +0000
commite5910acf7fe4b8f3dcb2e2ce60ee5f1de1eb7d61 (patch)
tree4eef5783e11357f98df2083a49b4f240e8e3830c /target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
parent7c76e870395f36de61cadbd9ae4b0b7efc3dd4a7 (diff)
downloadupstream-e5910acf7fe4b8f3dcb2e2ce60ee5f1de1eb7d61.tar.gz
upstream-e5910acf7fe4b8f3dcb2e2ce60ee5f1de1eb7d61.tar.bz2
upstream-e5910acf7fe4b8f3dcb2e2ce60ee5f1de1eb7d61.zip
brcm63xx: 3.10: backport multi-board support
There have been no reported regressions, so backport it to 3.10. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41422 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/534-board_hw556.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/534-board_hw556.patch14
1 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
index f1e62cc319..baf0266afb 100644
--- a/target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
+++ b/target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
@@ -1,6 +1,14 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2897,6 +2897,492 @@ static struct board_info __initdata boar
+@@ -12,6 +12,7 @@
+ #include <linux/string.h>
+ #include <linux/gpio_keys.h>
+ #include <linux/input.h>
++#include <linux/pci_ids.h>
+ #include <linux/platform_device.h>
+ #include <linux/spi/spi.h>
+ #include <linux/spi/spi_gpio.h>
+@@ -2893,6 +2894,492 @@ static struct board_info __initdata boar
},
};
@@ -493,7 +501,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
-@@ -3336,6 +3822,10 @@ static const struct board_info __initcon
+@@ -3332,6 +3819,10 @@ static const struct board_info __initcon
&board_nb4_fxc_r2,
&board_ct6373_1,
&board_HW553,
@@ -504,7 +512,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
-@@ -3401,13 +3891,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3351,13 +3842,37 @@ static void __init boardid_fixup(u8 *boo
struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
char *board_name = (char *)bcm63xx_nvram_get_name();