projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
68da322
)
brcm63xx: Add fallback sprom for WAP-5813n
author
jogo
<jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Aug 2014 12:22:02 +0000
(12:22 +0000)
committer
jogo
<jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Aug 2014 12:22:02 +0000
(12:22 +0000)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42105
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch
patch
|
blob
|
history
diff --git
a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
index
83bd1ec
..
6bafd89
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
+++ b/
target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
@@
-8,7
+8,7
@@
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
-@@ -4559,6 +4560,
99
@@ static struct board_info __initdata boar
+@@ -4559,6 +4560,
117
@@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
};
.has_ohci0 = 1,
.has_ehci0 = 1,
};
@@
-27,12
+27,22
@@
+ }
+};
+
+ }
+};
+
++static struct sprom_fixup __initdata wap5813n_fixups[] = {
++ { .offset = 97, .value = 0xfeed },
++ { .offset = 98, .value = 0x15d1 },
++ { .offset = 99, .value = 0xfb0d },
++ { .offset = 113, .value = 0xfef7 },
++ { .offset = 114, .value = 0x15f7 },
++ { .offset = 115, .value = 0xfb1a },
++};
++
+static struct board_info __initdata board_WAP5813n = {
+ .name = "96369R-1231N",
+ .expected_cpu_id = 0x6368,
+
+ .has_uart0 = 1,
+ .has_pci = 1,
+static struct board_info __initdata board_WAP5813n = {
+ .name = "96369R-1231N",
+ .expected_cpu_id = 0x6368,
+
+ .has_uart0 = 1,
+ .has_pci = 1,
++ .use_fallback_sprom = 1,
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+
@@
-102,13
+112,21
@@
+ },
+ },
+
+ },
+ },
+
++ .fallback_sprom = {
++ .type = SPROM_BCM43222,
++ .pci_bus = 0,
++ .pci_dev = 1,
++ .board_fixups = wap5813n_fixups,
++ .num_board_fixups = ARRAY_SIZE(wap5813n_fixups),
++ },
++
+ .spis = WAP5813n_spi_devices,
+ .num_spis = ARRAY_SIZE(WAP5813n_spi_devices),
+};
#endif
/*
+ .spis = WAP5813n_spi_devices,
+ .num_spis = ARRAY_SIZE(WAP5813n_spi_devices),
+};
#endif
/*
-@@ -4942,6 +50
36
,7 @@ static const struct board_info __initcon
+@@ -4942,6 +50
54
,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
diff --git
a/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
b/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
index
ea29e00
..
f0f7dab
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
+++ b/
target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
@@
-99,7
+99,7
@@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
-@@ -50
36,6 +5128
,7 @@ static const struct board_info __initcon
+@@ -50
54,6 +5146
,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
diff --git
a/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
b/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
index
bc18ba1
..
890ce02
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
+++ b/
target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
@@
-99,7
+99,7
@@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
-@@ -51
29,6 +5221
,7 @@ static const struct board_info __initcon
+@@ -51
47,6 +5239
,7 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
&board_VR3025u,
&board_96368mvwg,
&board_96368mvngr,
&board_VR3025u,
diff --git
a/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
b/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
index
5312c98
..
16d3f64
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
+++ b/
target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
@@
-90,7
+90,7
@@
static struct board_info __initdata board_VR3025u = {
.name = "96368M-1541N",
.expected_cpu_id = 0x6368,
static struct board_info __initdata board_VR3025u = {
.name = "96368M-1541N",
.expected_cpu_id = 0x6368,
-@@ -52
20,6 +5303
,7 @@ static const struct board_info __initcon
+@@ -52
38,6 +5321
,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
diff --git
a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
index
e518fc3
..
f5fd41e
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
+++ b/
target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
@@
-50,7
+50,7
@@
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
-@@ -5
286,6 +5329
,7 @@ static const struct board_info __initcon
+@@ -5
304,6 +5347
,7 @@ static const struct board_info __initcon
&board_nb4_fxc_r1,
&board_nb4_fxc_r2,
&board_ct6373_1,
&board_nb4_fxc_r1,
&board_nb4_fxc_r2,
&board_ct6373_1,
diff --git
a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
index
8e693ec
..
cd51733
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
+++ b/
target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
@@
-89,7
+89,7
@@
static struct board_info __initdata board_A4001N1 = {
.name = "963281T_TEF",
.expected_cpu_id = 0x6328,
static struct board_info __initdata board_A4001N1 = {
.name = "963281T_TEF",
.expected_cpu_id = 0x6328,
-@@ -52
77,6 +5359
,7 @@ static const struct board_info __initcon
+@@ -52
95,6 +5377
,7 @@ static const struct board_info __initcon
&board_AR5381u,
&board_AR5387un,
&board_963281TAN,
&board_AR5381u,
&board_AR5387un,
&board_963281TAN,
diff --git
a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch
b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch
index
abdfcdd
..
6474e9a
100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch
+++ b/
target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch
@@
-142,7
+142,7
@@
#endif
/*
#endif
/*
-@@ -53
53,6 +5488
,7 @@ static const struct board_info __initcon
+@@ -53
71,6 +5506
,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,
&board_96318ref_p300,
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,
&board_96318ref_p300,