brcm63xx: rework fallback sprom support
Rework fallback sprom support by providing different sproms for different chips. Also make it optional to use. This likely causes sprom fallback support to break on a few boards. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41942
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||
@@ -615,6 +615,8 @@ static struct board_info __initdata boar
|
||||
@@ -616,6 +616,8 @@ static struct board_info __initdata boar
|
||||
.has_uart0 = 1,
|
||||
.has_enet0 = 1,
|
||||
.enet0 = {
|
||||
@@ -9,7 +9,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -658,6 +660,8 @@ static struct board_info __initdata boar
|
||||
@@ -659,6 +661,8 @@ static struct board_info __initdata boar
|
||||
.has_uart0 = 1,
|
||||
.has_enet0 = 1,
|
||||
.enet0 = {
|
||||
@@ -18,7 +18,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -943,6 +947,8 @@ static struct board_info __initdata boar
|
||||
@@ -946,6 +950,8 @@ static struct board_info __initdata boar
|
||||
.use_internal_phy = 1,
|
||||
},
|
||||
.enet1 = {
|
||||
@@ -27,7 +27,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1015,6 +1021,8 @@ static struct board_info __initdata boar
|
||||
@@ -1019,6 +1025,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
@@ -36,7 +36,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1244,6 +1252,8 @@ static struct board_info __initdata boar
|
||||
@@ -1249,6 +1257,8 @@ static struct board_info __initdata boar
|
||||
.use_internal_phy = 1,
|
||||
},
|
||||
.enet1 = {
|
||||
@@ -45,7 +45,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1419,6 +1429,8 @@ static struct board_info __initdata boar
|
||||
@@ -1425,6 +1435,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
@@ -54,7 +54,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1609,6 +1621,8 @@ static struct board_info __initdata boar
|
||||
@@ -1616,6 +1628,8 @@ static struct board_info __initdata boar
|
||||
.use_internal_phy = 1,
|
||||
},
|
||||
.enet1 = {
|
||||
@@ -63,7 +63,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1630,6 +1644,8 @@ static struct board_info __initdata boar
|
||||
@@ -1638,6 +1652,8 @@ static struct board_info __initdata boar
|
||||
.use_internal_phy = 1,
|
||||
},
|
||||
.enet1 = {
|
||||
@@ -72,7 +72,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -1649,6 +1665,8 @@ static struct board_info __initdata boar
|
||||
@@ -1658,6 +1674,8 @@ static struct board_info __initdata boar
|
||||
.use_internal_phy = 1,
|
||||
},
|
||||
.enet1 = {
|
||||
@@ -81,7 +81,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -2020,6 +2038,8 @@ static struct board_info __initdata boar
|
||||
@@ -2030,6 +2048,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
@@ -90,7 +90,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -2072,6 +2092,8 @@ static struct board_info __initdata boar
|
||||
@@ -2083,6 +2103,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
@@ -99,7 +99,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -2213,6 +2235,8 @@ static struct board_info __initdata boar
|
||||
@@ -2224,6 +2246,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
@@ -108,7 +108,7 @@
|
||||
.force_speed_100 = 1,
|
||||
.force_duplex_full = 1,
|
||||
},
|
||||
@@ -2330,6 +2354,8 @@ static struct board_info __initdata boar
|
||||
@@ -2342,6 +2366,8 @@ static struct board_info __initdata boar
|
||||
},
|
||||
|
||||
.enet1 = {
|
||||
|
||||
Reference in New Issue
Block a user