Add SPROM wifi to the kernel board data.

After this fix, the wifi won't work anyway due the lack
of RAM memory (16 MB). It will throw a kernel panic
when loading the b43 drivers.

Signed-off-by: Daniel Gonzalez Cabanelas <dgcb...@gmail.com>
diff --git a/target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch 
b/target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch
index a2cdfa9..51222f9 100644
--- a/target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch
+++ b/target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -429,6 +429,27 @@ static struct board_info __initdata boar
+@@ -429,6 +429,34 @@ static struct board_info __initdata boar
        },
  };
  
@@ -12,6 +12,7 @@
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
++      .use_fallback_sprom             = 1,
 +
 +      .enet0 = {
 +              .has_phy                = 1,
@@ -24,6 +25,12 @@
 +
 +      .ephy_reset_gpio                = 4,
 +      .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
++
++      .fallback_sprom = {
++              .type                           = SPROM_BCM4318,
++              .pci_bus                        = 0,
++              .pci_dev                        = 1,
++      },
 +};
  
  static struct board_info __initdata board_ct536_ct5621 = {


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to