summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-10 12:21:39 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-10 12:21:39 +0000
commita299702df02b47045fcdd58034267049bc58a148 (patch)
treee205859c91e221fbf09a1a81dcc22f117130459f /target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
parenta166e0518897040d70dd34af9d323bf700b19ab9 (diff)
downloadmtk-20170518-a299702df02b47045fcdd58034267049bc58a148.zip
mtk-20170518-a299702df02b47045fcdd58034267049bc58a148.tar.gz
mtk-20170518-a299702df02b47045fcdd58034267049bc58a148.tar.bz2
brcm63xx: Add fallback sprom for CT5361_CT5621
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42099
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch11
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch b/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
index 7474fb9..94cd8cf 100644
--- a/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
+++ b/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -594,6 +594,51 @@ static struct board_info __initdata boar
+@@ -594,6 +594,58 @@ static struct board_info __initdata boar
};
@@ -12,6 +12,7 @@
+ .has_enet0 = 0,
+ .has_enet1 = 1,
+ .has_pci = 1,
++ .use_fallback_sprom = 1,
+
+ .enet1 = {
+ .has_phy = 1,
@@ -47,12 +48,18 @@
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
++
++ .fallback_sprom = {
++ .type = SPROM_BCM4318,
++ .pci_bus = 0,
++ .pci_dev = 1,
++ },
+};
+
static struct board_info __initdata board_96348gw = {
.name = "96348GW",
.expected_cpu_id = 0x6348,
-@@ -2118,6 +2163,7 @@ static const struct board_info __initcon
+@@ -2118,6 +2170,7 @@ static const struct board_info __initcon
&board_96348sv,
&board_V2500V_BB,
&board_V2110,