/branches/18.06.1/target/linux/brcm63xx/patches-4.14/358-MIPS-BCM63XX-make-fallback-sprom-optional.patch |
@@ -42,7 +42,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -316,6 +319,7 @@ static struct board_info __initdata boar |
@@ -324,6 +327,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -50,7 +50,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -370,6 +374,7 @@ static struct board_info __initdata boar |
@@ -378,6 +382,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -58,7 +58,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -420,6 +425,7 @@ static struct board_info __initdata boar |
@@ -436,6 +441,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -66,7 +66,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -443,6 +449,7 @@ static struct board_info __initdata boar |
@@ -459,6 +465,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -74,7 +74,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -461,6 +468,7 @@ static struct board_info __initdata boar |
@@ -477,6 +484,7 @@ static struct board_info __initdata boar |
|
.has_uart0 = 1, |
.has_pci = 1, |
@@ -82,7 +82,7 @@ |
.has_ohci0 = 1, |
|
.has_enet0 = 1, |
@@ -483,6 +491,7 @@ static struct board_info __initdata boar |
@@ -499,6 +507,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -90,7 +90,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -509,6 +518,7 @@ static struct board_info __initdata boar |
@@ -525,6 +534,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -98,7 +98,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -561,6 +571,7 @@ static struct board_info __initdata boar |
@@ -577,6 +587,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -106,7 +106,7 @@ |
|
.enet0 = { |
.has_phy = 1, |
@@ -632,6 +643,7 @@ static struct board_info __initdata boar |
@@ -648,6 +659,7 @@ static struct board_info __initdata boar |
.has_enet0 = 1, |
.has_enet1 = 1, |
.has_pci = 1, |
@@ -116,7 +116,7 @@ |
.has_phy = 1, |
--- a/arch/mips/bcm63xx/boards/board_common.c |
+++ b/arch/mips/bcm63xx/boards/board_common.c |
@@ -183,8 +183,9 @@ int __init board_register_devices(void) |
@@ -187,8 +187,9 @@ int __init board_register_devices(void) |
* do this after registering enet devices |
*/ |
|
@@ -130,8 +130,8 @@ |
bcm63xx_spi_register(); |
--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
@@ -33,6 +33,7 @@ struct board_info { |
unsigned int has_usbd:1; |
@@ -35,6 +35,7 @@ struct board_info { |
unsigned int has_dsp:1; |
unsigned int has_uart0:1; |
unsigned int has_uart1:1; |
+ unsigned int use_fallback_sprom:1; |