brcm63xx: Add fallback sprom for CT5361_CT5621
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 514-board_ct536_ct5621.patch
index 7474fb95329864d00ef7caf12348855899b3ba6d..94cd8cf39e228e833da3575dac823261b329e62f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -594,6 +594,51 @@ static struct board_info __initdata boar
+@@ -594,6 +594,58 @@ static struct board_info __initdata boar
  };
  
  
@@ -12,6 +12,7 @@
 +      .has_enet0                      = 0,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
++      .use_fallback_sprom             = 1,
 +
 +      .enet1 = {
 +              .has_phy                = 1,
 +                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
++
++      .fallback_sprom = {
++              .type                           = SPROM_BCM4318,
++              .pci_bus                        = 0,
++              .pci_dev                        = 1,
++      },
 +};
 +
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2118,6 +2163,7 @@ static const struct board_info __initcon
+@@ -2118,6 +2170,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,