aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:45 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:45 +0000
commit770ba9d40fc6a0198e0253c6e6eab283b9a22ebd (patch)
tree03d7b839ad0d3233ef9874589cc525d5d3d31c8b /target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
parentddbff6a198ed59fa555236189ea0c57bf03639c3 (diff)
downloadupstream-770ba9d40fc6a0198e0253c6e6eab283b9a22ebd.tar.gz
upstream-770ba9d40fc6a0198e0253c6e6eab283b9a22ebd.tar.bz2
upstream-770ba9d40fc6a0198e0253c6e6eab283b9a22ebd.zip
brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42211
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch11
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch b/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
index fa5874569f..ca84962039 100644
--- a/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
+++ b/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -653,6 +653,68 @@ static struct board_info __initdata boar
+@@ -653,6 +653,75 @@ static struct board_info __initdata boar
},
},
};
@@ -13,6 +13,7 @@
+ .has_uart0 = 1,
+ .has_enet0 = 1,
+ .has_pci = 1,
++ .use_fallback_sprom = 1,
+
+ .enet0 = {
+ .has_phy = 1,
@@ -65,11 +66,17 @@
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
++
++ .fallback_sprom = {
++ .type = SPROM_BCM4318,
++ .pci_bus = 0,
++ .pci_dev = 1,
++ },
+};
#endif /* CONFIG_BCM63XX_CPU_6348 */
/*
-@@ -1252,6 +1314,7 @@ static const struct board_info __initcon
+@@ -1252,6 +1321,7 @@ static const struct board_info __initcon
&board_96348gw_a,
&board_rta1025w_16,
&board_96348_D4PW,