bcm63xx: add missing fallback SPROMs
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 552-board_fast2704n.patch
index 1d83831329e5f26e967c3ddc77ae647bc2c7e6b7..e7b6a21fb2c1ec1a891c948a8ebf1e3b561d3dcb 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -204,6 +204,44 @@ static struct board_info __initdata boar
+@@ -204,6 +204,49 @@ static struct board_info __initdata boar
                .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups),
        },
  };
 +      },
 +
 +      .use_fallback_sprom = 1,
++      .fallback_sprom = {
++              .type = SPROM_BCM43217,
++              .pci_bus = 1,
++              .pci_dev = 0,
++      },
 +};
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -2101,6 +2139,7 @@ static const struct board_info __initcon
+@@ -2101,6 +2144,7 @@ static const struct board_info __initcon
        &board_96318ref,
        &board_96318ref_p300,
        &board_dsl_2751b_d1,
@@ -53,7 +58,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -2195,6 +2234,7 @@ static struct of_device_id const bcm963x
+@@ -2195,6 +2239,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref-p300", .data = &board_96318ref_p300, },
        { .compatible = "d-link,dsl-275xb-d1", .data = &board_dsl_2751b_d1, },