bcm63xx: Enable LED pin support for ath9k pci fixup.
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Nov 2012 14:19:16 +0000 (14:19 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Nov 2012 14:19:16 +0000 (14:19 +0000)
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34321 3c298f89-4303-0410-b956-a3cf2f4a3e73

30 files changed:
target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.3/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.3/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.3/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.3/528-board_nb6.patch
target/linux/brcm63xx/patches-3.3/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.3/530-board_963281T_TEF.patch
target/linux/brcm63xx/patches-3.3/531-board_96328A-1441N1.patch
target/linux/brcm63xx/patches-3.3/532-board_96328a-1241N.patch
target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch
target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch
target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch
target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch
target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.6/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.6/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.6/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.6/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.6/528-board_nb6.patch
target/linux/brcm63xx/patches-3.6/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.6/530-board_963281T_TEF.patch
target/linux/brcm63xx/patches-3.6/531-board_96328A-1441N1.patch
target/linux/brcm63xx/patches-3.6/532-board_96328a-1241N.patch
target/linux/brcm63xx/patches-3.6/550-alice_gate2_leds.patch
target/linux/brcm63xx/patches-3.6/551-96348gw_a_leds.patch
target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
target/linux/brcm63xx/patches-3.6/553-board_rta770bw.patch
target/linux/brcm63xx/patches-3.6/801-ssb_export_fallback_sprom.patch

diff --git a/target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch b/target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch
new file mode 100644 (file)
index 0000000..e09cd83
--- /dev/null
@@ -0,0 +1,49 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -939,7 +939,7 @@ int __init board_register_devices(void)
+       /* register any fixups */
+       for (i = 0; i < board.has_caldata; i++)
+               pci_enable_ath9k_fixup(board.caldata[i].slot, board.caldata[i].caldata_offset,
+-                      board.caldata[i].endian_check);
++                      board.caldata[i].endian_check, board.caldata[i].led_pin);
+       return 0;
+ }
+--- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
++++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
+@@ -173,13 +173,14 @@ static void ath9k_pci_fixup(struct pci_d
+ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
+ void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check)
++      unsigned endian_check, int led_pin)
+ {
+       if (ath9k_num_fixups >= ARRAY_SIZE(ath9k_fixups))
+               return;
+       ath9k_fixups[ath9k_num_fixups].slot = slot;
+       ath9k_fixups[ath9k_num_fixups].pdata.endian_check = endian_check;
++      ath9k_fixups[ath9k_num_fixups].pdata.led_pin = led_pin;
+       if (!bcm63xx_read_eeprom(ath9k_fixups[ath9k_num_fixups].pdata.eeprom_data, offset))
+               return;
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -19,6 +19,7 @@ struct ath9k_caldata {
+       unsigned int    slot;
+       u32             caldata_offset;
+       unsigned int    endian_check:1;
++      int             led_pin;
+ };
+ /*
+--- a/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
++++ b/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
+@@ -3,6 +3,6 @@
+ void pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check) __init;
++      unsigned endian_check, int led_pin) __init;
+ #endif /* _PCI_ATH9K_FIXUP */
index b339d74..a3b630e 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -195,6 +195,109 @@ static struct board_info __initdata boar
+@@ -195,6 +195,110 @@ static struct board_info __initdata boar
  
        },
  };
@@ -27,6 +27,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 +              {
 +                      .caldata_offset = 0x7d1000,
 +                      .slot           = 0,
++                      .led_pin        = -1,
 +              },
 +      },
 +
@@ -120,7 +121,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2393,6 +2496,7 @@ static const struct board_info __initdat
+@@ -2393,6 +2497,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 76425cd..837b70a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1334,6 +1334,57 @@ static struct board_info __initdata boar
+@@ -1335,6 +1335,57 @@ static struct board_info __initdata boar
        },
  };
  
@@ -58,7 +58,7 @@
  #endif
  
  /*
-@@ -2526,6 +2577,7 @@ static const struct board_info __initdat
+@@ -2527,6 +2578,7 @@ static const struct board_info __initdat
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 58b209e..e399cff 100644 (file)
@@ -14,7 +14,7 @@
  static struct board_info board;
  
  /*
-@@ -2261,6 +2268,111 @@ static struct board_info __initdata boar
+@@ -2262,6 +2269,111 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2592,6 +2704,7 @@ static const struct board_info __initdat
+@@ -2593,6 +2705,7 @@ static const struct board_info __initdat
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index fe47dc6..cd9ab79 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2512,6 +2512,71 @@ static struct board_info __initdata boar
+@@ -2513,6 +2513,71 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -72,7 +72,7 @@
  #endif
  
  /*
-@@ -2707,6 +2772,7 @@ static const struct board_info __initdat
+@@ -2708,6 +2773,7 @@ static const struct board_info __initdat
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index 58bd3ef..c9ff917 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2579,6 +2582,103 @@ static struct board_info __initdata boar
+@@ -2580,6 +2583,103 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2775,6 +2875,10 @@ static const struct board_info __initdat
+@@ -2776,6 +2876,10 @@ static const struct board_info __initdat
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2842,6 +2946,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2843,6 +2947,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index cab0461..f965f7b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1010,6 +1010,55 @@ static struct board_info __initdata boar
+@@ -1011,6 +1011,55 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -56,7 +56,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2843,6 +2892,7 @@ static const struct board_info __initdat
+@@ -2844,6 +2893,7 @@ static const struct board_info __initdat
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index 49e3c7c..080aa44 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2873,6 +2992,7 @@ static const struct board_info __initdat
+@@ -2874,6 +2993,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index c254040..7c93af8 100644 (file)
@@ -79,7 +79,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -2991,6 +3063,7 @@ static struct board_info __initdata boar
+@@ -2992,6 +3064,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index c2e2ef9..2516e09 100644 (file)
@@ -73,7 +73,7 @@
  static struct board_info __initdata board_96328A_1441N1 = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3063,6 +3129,7 @@ static struct board_info __initdata boar
+@@ -3064,6 +3130,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index d151cab..eb5ca08 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1918,6 +1918,99 @@ static struct board_info __initdata boar
+@@ -1919,6 +1919,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
index ce263b2..5060a90 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1375,6 +1375,19 @@ static struct board_info __initdata boar
+@@ -1376,6 +1376,19 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0 = 1,
index 095a851..e5663b0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -843,6 +843,17 @@ static struct board_info __initdata boar
+@@ -844,6 +844,17 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
        },
index a1286c9..2edae51 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -735,6 +735,53 @@ static struct board_info __initdata boar
+@@ -736,6 +736,53 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -54,7 +54,7 @@
  #endif
  
  /*
-@@ -3260,6 +3307,7 @@ static const struct board_info __initdat
+@@ -3261,6 +3308,7 @@ static const struct board_info __initdat
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index 3e380b1..ab1f544 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -3365,7 +3366,7 @@ static const struct board_info __initdat
+@@ -3366,7 +3367,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -3385,6 +3386,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3386,6 +3387,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };
diff --git a/target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch b/target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch
new file mode 100644 (file)
index 0000000..3a33549
--- /dev/null
@@ -0,0 +1,49 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -984,7 +984,7 @@ int __init board_register_devices(void)
+       /* register any fixups */
+       for (i = 0; i < board.has_caldata; i++)
+               pci_enable_ath9k_fixup(board.caldata[i].slot, board.caldata[i].caldata_offset,
+-                      board.caldata[i].endian_check);
++                      board.caldata[i].endian_check, board.caldata[i].led_pin);
+       return 0;
+ }
+--- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
++++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
+@@ -173,13 +173,14 @@ static void ath9k_pci_fixup(struct pci_d
+ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
+ void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check)
++      unsigned endian_check, int led_pin)
+ {
+       if (ath9k_num_fixups >= ARRAY_SIZE(ath9k_fixups))
+               return;
+       ath9k_fixups[ath9k_num_fixups].slot = slot;
+       ath9k_fixups[ath9k_num_fixups].pdata.endian_check = endian_check;
++      ath9k_fixups[ath9k_num_fixups].pdata.led_pin = led_pin;
+       if (!bcm63xx_read_eeprom(ath9k_fixups[ath9k_num_fixups].pdata.eeprom_data, offset))
+               return;
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -19,6 +19,7 @@ struct ath9k_caldata {
+       unsigned int    slot;
+       u32             caldata_offset;
+       unsigned int    endian_check:1;
++      int             led_pin;
+ };
+ /*
+--- a/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
++++ b/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
+@@ -3,6 +3,6 @@
+ void pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check) __init;
++      unsigned endian_check, int led_pin) __init;
+ #endif /* _PCI_ATH9K_FIXUP */
index b339d74..a3b630e 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -195,6 +195,109 @@ static struct board_info __initdata boar
+@@ -195,6 +195,110 @@ static struct board_info __initdata boar
  
        },
  };
@@ -27,6 +27,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 +              {
 +                      .caldata_offset = 0x7d1000,
 +                      .slot           = 0,
++                      .led_pin        = -1,
 +              },
 +      },
 +
@@ -120,7 +121,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2393,6 +2496,7 @@ static const struct board_info __initdat
+@@ -2393,6 +2497,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 76425cd..837b70a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1334,6 +1334,57 @@ static struct board_info __initdata boar
+@@ -1335,6 +1335,57 @@ static struct board_info __initdata boar
        },
  };
  
@@ -58,7 +58,7 @@
  #endif
  
  /*
-@@ -2526,6 +2577,7 @@ static const struct board_info __initdat
+@@ -2527,6 +2578,7 @@ static const struct board_info __initdat
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 58b209e..e399cff 100644 (file)
@@ -14,7 +14,7 @@
  static struct board_info board;
  
  /*
-@@ -2261,6 +2268,111 @@ static struct board_info __initdata boar
+@@ -2262,6 +2269,111 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2592,6 +2704,7 @@ static const struct board_info __initdat
+@@ -2593,6 +2705,7 @@ static const struct board_info __initdat
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index fe47dc6..cd9ab79 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2512,6 +2512,71 @@ static struct board_info __initdata boar
+@@ -2513,6 +2513,71 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -72,7 +72,7 @@
  #endif
  
  /*
-@@ -2707,6 +2772,7 @@ static const struct board_info __initdat
+@@ -2708,6 +2773,7 @@ static const struct board_info __initdat
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index 58bd3ef..c9ff917 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2579,6 +2582,103 @@ static struct board_info __initdata boar
+@@ -2580,6 +2583,103 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2775,6 +2875,10 @@ static const struct board_info __initdat
+@@ -2776,6 +2876,10 @@ static const struct board_info __initdat
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2842,6 +2946,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2843,6 +2947,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index cab0461..f965f7b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1010,6 +1010,55 @@ static struct board_info __initdata boar
+@@ -1011,6 +1011,55 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -56,7 +56,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2843,6 +2892,7 @@ static const struct board_info __initdat
+@@ -2844,6 +2893,7 @@ static const struct board_info __initdat
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index 49e3c7c..080aa44 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2873,6 +2992,7 @@ static const struct board_info __initdat
+@@ -2874,6 +2993,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index c254040..7c93af8 100644 (file)
@@ -79,7 +79,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -2991,6 +3063,7 @@ static struct board_info __initdata boar
+@@ -2992,6 +3064,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index c2e2ef9..2516e09 100644 (file)
@@ -73,7 +73,7 @@
  static struct board_info __initdata board_96328A_1441N1 = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3063,6 +3129,7 @@ static struct board_info __initdata boar
+@@ -3064,6 +3130,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index d151cab..eb5ca08 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1918,6 +1918,99 @@ static struct board_info __initdata boar
+@@ -1919,6 +1919,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
index ce263b2..5060a90 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1375,6 +1375,19 @@ static struct board_info __initdata boar
+@@ -1376,6 +1376,19 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0 = 1,
index 095a851..e5663b0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -843,6 +843,17 @@ static struct board_info __initdata boar
+@@ -844,6 +844,17 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
        },
index a1286c9..2edae51 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -735,6 +735,53 @@ static struct board_info __initdata boar
+@@ -736,6 +736,53 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -54,7 +54,7 @@
  #endif
  
  /*
-@@ -3260,6 +3307,7 @@ static const struct board_info __initdat
+@@ -3261,6 +3308,7 @@ static const struct board_info __initdat
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index 3e380b1..ab1f544 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -3365,7 +3366,7 @@ static const struct board_info __initdat
+@@ -3366,7 +3367,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -3385,6 +3386,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3386,6 +3387,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };