Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the...
authorDaniel Dickinson <crazycshore@gmail.com>
Tue, 7 Dec 2010 15:15:41 +0000 (15:15 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Tue, 7 Dec 2010 15:15:41 +0000 (15:15 +0000)
SVN-Revision: 24302

16 files changed:
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
target/linux/brcm63xx/patches-2.6.35/140-new_bcm96348gw_leds.patch [deleted file]
target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch
target/linux/brcm63xx/patches-2.6.35/180-udc_preliminary_support.patch
target/linux/brcm63xx/patches-2.6.35/200-extended-platform-devices.patch
target/linux/brcm63xx/patches-2.6.35/200-spi-board-info.patch
target/linux/brcm63xx/patches-2.6.35/220-board-D4PW.patch
target/linux/brcm63xx/patches-2.6.35/221-board-NB4.patch
target/linux/brcm63xx/patches-2.6.35/240-spi.patch
target/linux/brcm63xx/patches-2.6.35/250-6358-enet1-external-mii-clk.patch
target/linux/brcm63xx/patches-2.6.35/270-board-96338W2_E7T.patch
target/linux/brcm63xx/patches-2.6.35/300-wl_exports.patch
target/linux/brcm63xx/patches-2.6.35/310-CPVA642_board.patch
target/linux/brcm63xx/patches-2.6.35/400-board_96358gw.patch
target/linux/brcm63xx/patches-2.6.35/410-boardid_fixup.patch
target/linux/brcm63xx/patches-2.6.35/420-board_spw500v.patch

index 6f0028218f9b0d8c4913d40652065b2923935d7d..25f2ab47e6ace70876e2e22213a95b980c0039a8 100755 (executable)
@@ -15,8 +15,7 @@ brcm63xx_detect() {
 
        case "$board_name" in
        "bcm63xx/96348GW "*)
-               status_led="tel"
-               status_led2="line1"
+               status_led="power"
                brcm63xx_has_reset_button="true"
                ifname=eth1
                ;;
diff --git a/target/linux/brcm63xx/patches-2.6.35/140-new_bcm96348gw_leds.patch b/target/linux/brcm63xx/patches-2.6.35/140-new_bcm96348gw_leds.patch
deleted file mode 100644 (file)
index 5d3fcfd..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -345,24 +345,39 @@ static struct board_info __initdata boar
-                       .active_low     = 1,
-               },
-               {
--                      .name           = "ppp",
--                      .gpio           = 3,
-+                      .name           = "power",
-+                      .gpio           = 0,
-                       .active_low     = 1,
-+                      .default_trigger = "default-on",
-               },
-               {
--                      .name           = "ppp-fail",
-+                      .name           = "stop",
-+                      .gpio           = 1,
-+                      .active_low     = 1,
-+              },
-+              {
-+                      .name           = "line1",
-                       .gpio           = 4,
-                       .active_low     = 1,
-               },
-               {
--                      .name           = "power",
--                      .gpio           = 0,
-+                      .name           = "line2",
-+                      .gpio           = 5,
-                       .active_low     = 1,
--                      .default_trigger = "default-on",
-               },
-               {
--                      .name           = "stop",
--                      .gpio           = 1,
-+                      .name           = "line3",
-+                      .gpio           = 6,
-+                      .active_low     = 1,
-+              },
-+              {
-+                      .name           = "tel",
-+                      .gpio           = 7,
-+                      .active_low     = 1,
-+              },
-+              {
-+                      .name           = "eth",
-+                      .gpio           = 35,
-                       .active_low     = 1,
-               },
-       },
-@@ -880,6 +895,7 @@ static struct platform_device bcm63xx_gp
- int __init board_register_devices(void)
- {
-       u32 val;
-+      int led_count = 0;
-       int button_count = 0;
-       if (board.has_uart0)
-@@ -922,7 +938,11 @@ int __init board_register_devices(void)
-       platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
--      bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
-+      /* count number of LEDs defined by this device */
-+      while (led_count < ARRAY_SIZE(board.leds) && board.leds[led_count].name)
-+              led_count++;
-+
-+      bcm63xx_led_data.num_leds = led_count;
-       bcm63xx_led_data.leds = board.leds;
-       platform_device_register(&bcm63xx_gpio_leds);
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -56,7 +56,7 @@ struct board_info {
-       struct bcm63xx_dsp_platform_data dsp;
-       /* GPIO LEDs */
--      struct gpio_led leds[5];
-+      struct gpio_led leds[8];
-       /* Buttons */
-       struct gpio_button buttons[2];
index 24adac4209a8a22af2738d21809baa33b13c7e13..fa5ca81bea681a3e7d12ccbe16d5a10ee696b5ca 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -603,6 +603,99 @@ static struct board_info __initdata boar
+@@ -588,6 +588,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
        struct bcm63xx_dsp_platform_data dsp;
  
        /* GPIO LEDs */
--      struct gpio_led leds[8];
+-      struct gpio_led leds[5];
 +      struct gpio_led leds[14];
  
        /* Buttons */
index 195185d799c5e893ff98dd78337f7f7e3837a2ec..84534e6ee74fd62db84ec071855314b00b77761a 100644 (file)
@@ -8,7 +8,7 @@
  #include <board_bcm963xx.h>
  
  #define PFX   "board_bcm963xx: "
-@@ -415,6 +416,8 @@ static struct board_info __initdata boar
+@@ -400,6 +401,8 @@ static struct board_info __initdata boar
        .has_ohci0                      = 1,
        .has_pccard                     = 1,
        .has_ehci0                      = 1,
@@ -17,7 +17,7 @@
  };
  
  static struct board_info __initdata board_rta1025w_16 = {
-@@ -1011,6 +1014,9 @@ int __init board_register_devices(void)
+@@ -1001,6 +1004,9 @@ int __init board_register_devices(void)
        if (board.has_dsp)
                bcm63xx_dsp_register(&board.dsp);
  
index 388e5716acbf688afa54fa65348ee1c07b54d967..70637e5d482388fc0dc2323672bc67812cac3622 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1017,6 +1017,9 @@ int __init board_register_devices(void)
+@@ -1007,6 +1007,9 @@ int __init board_register_devices(void)
        if (board.has_udc0)
                bcm63xx_udc_register();
  
index 612fbc567f3277065afe16083268eb46ea0ec945..d73d6f0ac7344fda6d99fbd029f5852118255c43 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1020,6 +1020,9 @@ int __init board_register_devices(void)
+@@ -1010,6 +1010,9 @@ int __init board_register_devices(void)
        if (board.num_devs)
                platform_add_devices(board.devs, board.num_devs);
  
index b1d022cfd0b48690a5670c693e8702c55e9d7d86..1e630d16a22aa687026fc5e0bac9a4edeab3fb6d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -479,6 +479,49 @@ static struct board_info __initdata boar
+@@ -464,6 +464,49 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -50,7 +50,7 @@
  #endif
  
  /*
-@@ -737,6 +780,7 @@ static const struct board_info __initdat
+@@ -728,6 +771,7 @@ static const struct board_info __initdat
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
index f3a838647fcc2972b530c834017376a69d8d8638..c2d1056627ea48538910c7d004611cd158567118 100644 (file)
@@ -23,7 +23,7 @@
  static struct bcm963xx_nvram nvram;
  static unsigned int mac_addr_used;
  static struct board_info board;
-@@ -758,6 +767,502 @@ static struct board_info __initdata boar
+@@ -749,6 +758,502 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
  #endif
  
  /*
-@@ -788,9 +1293,30 @@ static const struct board_info __initdat
+@@ -779,9 +1284,30 @@ static const struct board_info __initdat
        &board_96358vw2,
        &board_AGPFS0,
        &board_DWVS0,
  /*
   * Register a sane SPROMv2 to make the on-board
   * bcm4318 WLAN work
-@@ -908,6 +1434,9 @@ void __init board_prom_init(void)
+@@ -899,6 +1425,9 @@ void __init board_prom_init(void)
                return;
        }
  
index ed35e3689339763f00d605b7bf87e117abf82f02..b324a0f45b8a8420ef97c8d72d270c6e31a72d17 100644 (file)
  #include <board_bcm963xx.h>
  
  #define PFX   "board_bcm963xx: "
-@@ -1596,6 +1597,9 @@ int __init board_register_devices(void)
+@@ -1586,6 +1587,9 @@ int __init board_register_devices(void)
        if (board.num_spis)
                spi_register_board_info(board.spis, board.num_spis);
  
index bf07d359c25c1db351c4ab62199eee65736ffb19..3e033fb233f40e3eefd26cfa6c8f50caa6ab32c0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1486,6 +1486,8 @@ void __init board_prom_init(void)
+@@ -1477,6 +1477,8 @@ void __init board_prom_init(void)
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G3_EXT_MII |
                                GPIO_MODE_6348_G0_EXT_MII;
index 166123f42fb7df759ca0370ea00610f0d9902a8c..c6bd1c8693e2549df034268999df14999e28080d 100644 (file)
@@ -39,7 +39,7 @@
  #endif
  
  /*
-@@ -1273,6 +1305,7 @@ static const struct board_info __initdat
+@@ -1264,6 +1296,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
        &board_96338w,
index d88239cd97032f2bfe6428ad287c0d38f06aa073..aa7322d9e56c8c654d16c971c478192ff261796a 100644 (file)
@@ -14,7 +14,7 @@
   * known 6338 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6338
-@@ -1453,6 +1460,7 @@ void __init board_prom_init(void)
+@@ -1444,6 +1451,7 @@ void __init board_prom_init(void)
  
        /* extract nvram data */
        memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
index 0b4f7916545ed9cc3d11b67d8f5b576dceece0db..480e190d3b91fa9bc4393fd9c4d0238f1b5fc1ae 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -677,6 +677,98 @@ static struct board_info __initdata boar
+@@ -662,6 +662,98 @@ static struct board_info __initdata boar
        },
  };
  
@@ -99,7 +99,7 @@
  static struct board_info __initdata board_AGPFS0 = {
        .name                           = "AGPF-S0",
        .expected_cpu_id                = 0x6358,
-@@ -1339,6 +1431,7 @@ static const struct board_info __initdat
+@@ -1324,6 +1416,7 @@ static const struct board_info __initdat
        &board_96358vw,
        &board_96358vw2,
        &board_AGPFS0,
index 1fdede9494a4d6922c758774d88a362ecf3787cc..d008e1d8f78ff476a99a432a43300f592a0a86dc 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -577,6 +577,59 @@ static struct board_info __initdata boar
+@@ -562,6 +562,59 @@ static struct board_info __initdata boar
   * known 6358 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6358
@@ -60,7 +60,7 @@
  static struct board_info __initdata board_96358vw = {
        .name                           = "96358VW",
        .expected_cpu_id                = 0x6358,
-@@ -1428,6 +1481,7 @@ static const struct board_info __initdat
+@@ -1413,6 +1466,7 @@ static const struct board_info __initdat
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
index db3ebf99770637c6c2c65cb53769fc7c8b6aaae3..286d9acb29c281b3120606c684c9c29be53b5670 100644 (file)
@@ -18,7 +18,7 @@
  static struct bcm963xx_nvram nvram;
  static unsigned int mac_addr_used;
  static struct board_info board;
-@@ -1581,6 +1585,29 @@ static int board_get_mac_address(u8 *mac
+@@ -1566,6 +1570,29 @@ static int board_get_mac_address(u8 *mac
        return 0;
  }
  
@@ -48,7 +48,7 @@
  /*
   * early init callback, read nvram data from flash and checksum it
   */
-@@ -1632,6 +1659,11 @@ void __init board_prom_init(void)
+@@ -1617,6 +1644,11 @@ void __init board_prom_init(void)
        /* Fixup broken nb4 board name */
        nb4_nvram_fixup();
  
index 34785e29c7b97c7da90011596744e4bb058ee8b6..4f02951ac88fb492084307757cf0f3c9607a9c71 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -575,6 +575,67 @@ static struct board_info __initdata boar
+@@ -560,6 +560,67 @@ static struct board_info __initdata boar
  
  };
  
@@ -68,7 +68,7 @@
  #endif
  
  /*
-@@ -1482,6 +1543,7 @@ static const struct board_info __initdat
+@@ -1467,6 +1528,7 @@ static const struct board_info __initdat
        &board_96348gw_a,
        &board_rta1025w_16,
        &board_96348_D4PW,