bcm63xx: reorder patches

Reorder patches for a clearer distinction between the purposes of
the different patches.

SVN-Revision: 31127
master
Jonas Gorski 13 years ago
parent 13b6ec1d05
commit 44d546290a
  1. 0
      target/linux/brcm63xx/patches-3.3/100-MIPS-BCM63XX-add-missing-include-for-bcm63xx_gpio.h.patch
  2. 8
      target/linux/brcm63xx/patches-3.3/300-reset_buttons.patch
  3. 4
      target/linux/brcm63xx/patches-3.3/301-led_count.patch
  4. 2
      target/linux/brcm63xx/patches-3.3/302-extended-platform-devices.patch
  5. 2
      target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch
  6. 10
      target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch
  7. 6
      target/linux/brcm63xx/patches-3.3/400-usb-ohci-support.patch
  8. 6
      target/linux/brcm63xx/patches-3.3/401-usb-ehci-support.patch
  9. 0
      target/linux/brcm63xx/patches-3.3/402-add_bcm63xx_ohci_controller.patch
  10. 0
      target/linux/brcm63xx/patches-3.3/403-add_bcm63xx_ehci_controller.patch
  11. 2
      target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
  12. 0
      target/linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch
  13. 0
      target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch
  14. 0
      target/linux/brcm63xx/patches-3.3/407-bcm6345_enet.patch
  15. 2
      target/linux/brcm63xx/patches-3.3/408-6358-enet1-external-mii-clk.patch
  16. 6
      target/linux/brcm63xx/patches-3.3/409-spi.patch
  17. 6
      target/linux/brcm63xx/patches-3.3/500-board-D4PW.patch
  18. 12
      target/linux/brcm63xx/patches-3.3/501-board-NB4.patch
  19. 8
      target/linux/brcm63xx/patches-3.3/502-board-96338W2_E7T.patch
  20. 4
      target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
  21. 4
      target/linux/brcm63xx/patches-3.3/504-board_dsl_274xb_rev_c.patch
  22. 4
      target/linux/brcm63xx/patches-3.3/505-board_spw500v.patch
  23. 4
      target/linux/brcm63xx/patches-3.3/506-board_gw6200_gw6000.patch
  24. 4
      target/linux/brcm63xx/patches-3.3/507-board-MAGIC.patch
  25. 4
      target/linux/brcm63xx/patches-3.3/508-board_hw553.patch
  26. 4
      target/linux/brcm63xx/patches-3.3/509-board_rta1320_16m.patch
  27. 4
      target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch
  28. 8
      target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch
  29. 4
      target/linux/brcm63xx/patches-3.3/512-board_BTV2110.patch
  30. 0
      target/linux/brcm63xx/patches-3.3/513-board_livebox.patch
  31. 4
      target/linux/brcm63xx/patches-3.3/514-board_ct536_ct5621.patch
  32. 4
      target/linux/brcm63xx/patches-3.3/515-board_DWV-S0_fixes.patch
  33. 4
      target/linux/brcm63xx/patches-3.3/516-board_96348A-122.patch
  34. 2
      target/linux/brcm63xx/patches-3.3/517-RTA1205W_16_uart_fixes.patch
  35. 4
      target/linux/brcm63xx/patches-3.3/519_board_CPVA502plus.patch
  36. 2
      target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
  37. 2
      target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch
  38. 2
      target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch
  39. 10
      target/linux/brcm63xx/patches-3.3/800-wl_exports.patch
  40. 0
      target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch

@ -9,7 +9,7 @@
#include <asm/addrspace.h> #include <asm/addrspace.h>
#include <bcm63xx_board.h> #include <bcm63xx_board.h>
#include <bcm63xx_cpu.h> #include <bcm63xx_cpu.h>
@@ -296,6 +298,16 @@ static struct board_info __initdata boar @@ -294,6 +296,16 @@ static struct board_info __initdata boar
.active_low = 1, .active_low = 1,
}, },
}, },
@ -26,7 +26,7 @@
}; };
static struct board_info __initdata board_96348gw = { static struct board_info __initdata board_96348gw = {
@@ -354,6 +366,16 @@ static struct board_info __initdata boar @@ -352,6 +364,16 @@ static struct board_info __initdata boar
.active_low = 1, .active_low = 1,
}, },
}, },
@ -43,7 +43,7 @@
}; };
static struct board_info __initdata board_FAST2404 = { static struct board_info __initdata board_FAST2404 = {
@@ -852,12 +874,23 @@ static struct platform_device bcm63xx_gp @@ -850,12 +872,23 @@ static struct platform_device bcm63xx_gp
.dev.platform_data = &bcm63xx_led_data, .dev.platform_data = &bcm63xx_led_data,
}; };
@ -67,7 +67,7 @@
if (board.has_uart0) if (board.has_uart0)
bcm63xx_uart_register(0); bcm63xx_uart_register(0);
@@ -912,5 +945,16 @@ int __init board_register_devices(void) @@ -904,5 +937,16 @@ int __init board_register_devices(void)
platform_device_register(&bcm63xx_gpio_leds); platform_device_register(&bcm63xx_gpio_leds);

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -891,6 +891,7 @@ int __init board_register_devices(void) @@ -889,6 +889,7 @@ int __init board_register_devices(void)
{ {
u32 val; u32 val;
int button_count = 0; int button_count = 0;
@ -8,7 +8,7 @@
if (board.has_uart0) if (board.has_uart0)
bcm63xx_uart_register(0); bcm63xx_uart_register(0);
@@ -940,7 +941,11 @@ int __init board_register_devices(void) @@ -932,7 +933,11 @@ int __init board_register_devices(void)
platform_device_register(&mtd_dev); platform_device_register(&mtd_dev);

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -932,6 +932,9 @@ int __init board_register_devices(void) @@ -924,6 +924,9 @@ int __init board_register_devices(void)
} }
#endif #endif

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -935,6 +935,9 @@ int __init board_register_devices(void) @@ -927,6 +927,9 @@ int __init board_register_devices(void)
if (board.num_devs) if (board.num_devs)
platform_add_devices(board.devs, board.num_devs); platform_add_devices(board.devs, board.num_devs);

@ -1,8 +1,8 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -32,9 +32,13 @@ @@ -28,9 +28,13 @@
#include <bcm63xx_dev_usb_ehci.h> #include <bcm63xx_dev_dsp.h>
#include <bcm63xx_dev_spi.h> #include <bcm63xx_dev_pcmcia.h>
#include <board_bcm963xx.h> #include <board_bcm963xx.h>
+#include <bcm_tag.h> +#include <bcm_tag.h>
@ -14,7 +14,7 @@
static struct bcm963xx_nvram nvram; static struct bcm963xx_nvram nvram;
static unsigned int mac_addr_used; static unsigned int mac_addr_used;
static struct board_info board; static struct board_info board;
@@ -732,6 +736,29 @@ static int board_get_mac_address(u8 *mac @@ -721,6 +725,29 @@ static int board_get_mac_address(u8 *mac
return 0; return 0;
} }
@ -44,7 +44,7 @@
/* /*
* early init callback, read nvram data from flash and checksum it * early init callback, read nvram data from flash and checksum it
*/ */
@@ -774,6 +801,11 @@ void __init board_prom_init(void) @@ -762,6 +789,11 @@ void __init board_prom_init(void)
return; return;
} }

@ -58,15 +58,15 @@ Subject: [PATCH 21/57] MIPS: BCM63XX: register ohci device.
obj-y += boards/ obj-y += boards/
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -25,6 +25,7 @@ @@ -27,6 +27,7 @@
#include <bcm63xx_dev_enet.h> #include <bcm63xx_dev_enet.h>
#include <bcm63xx_dev_dsp.h> #include <bcm63xx_dev_dsp.h>
#include <bcm63xx_dev_pcmcia.h> #include <bcm63xx_dev_pcmcia.h>
+#include <bcm63xx_dev_usb_ohci.h> +#include <bcm63xx_dev_usb_ohci.h>
#include <board_bcm963xx.h> #include <board_bcm963xx.h>
#include <bcm_tag.h>
#define PFX "board_bcm963xx: " @@ -940,6 +941,9 @@ int __init board_register_devices(void)
@@ -874,6 +875,9 @@ int __init board_register_devices(void)
!board_get_mac_address(board.enet1.mac_addr)) !board_get_mac_address(board.enet1.mac_addr))
bcm63xx_enet_register(1, &board.enet1); bcm63xx_enet_register(1, &board.enet1);

@ -41,15 +41,15 @@ Subject: [PATCH 23/57] MIPS: BCM63XX: register ehci device.
obj-y += boards/ obj-y += boards/
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -26,6 +26,7 @@ @@ -28,6 +28,7 @@
#include <bcm63xx_dev_dsp.h> #include <bcm63xx_dev_dsp.h>
#include <bcm63xx_dev_pcmcia.h> #include <bcm63xx_dev_pcmcia.h>
#include <bcm63xx_dev_usb_ohci.h> #include <bcm63xx_dev_usb_ohci.h>
+#include <bcm63xx_dev_usb_ehci.h> +#include <bcm63xx_dev_usb_ehci.h>
#include <board_bcm963xx.h> #include <board_bcm963xx.h>
#include <bcm_tag.h>
#define PFX "board_bcm963xx: " @@ -941,6 +942,9 @@ int __init board_register_devices(void)
@@ -875,6 +876,9 @@ int __init board_register_devices(void)
!board_get_mac_address(board.enet1.mac_addr)) !board_get_mac_address(board.enet1.mac_addr))
bcm63xx_enet_register(1, &board.enet1); bcm63xx_enet_register(1, &board.enet1);

@ -12,7 +12,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -818,7 +818,7 @@ static struct mtd_partition mtd_partitio @@ -872,7 +872,7 @@ static struct mtd_partition mtd_partitio
} }
}; };

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -821,6 +821,8 @@ void __init board_prom_init(void) @@ -844,6 +844,8 @@ void __init board_prom_init(void)
if (BCMCPU_IS_6348()) if (BCMCPU_IS_6348())
val |= GPIO_MODE_6348_G3_EXT_MII | val |= GPIO_MODE_6348_G3_EXT_MII |
GPIO_MODE_6348_G0_EXT_MII; GPIO_MODE_6348_G0_EXT_MII;

@ -885,15 +885,15 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -30,6 +30,7 @@ @@ -29,6 +29,7 @@
#include <bcm63xx_dev_pcmcia.h> #include <bcm63xx_dev_pcmcia.h>
#include <bcm63xx_dev_usb_ohci.h> #include <bcm63xx_dev_usb_ohci.h>
#include <bcm63xx_dev_usb_ehci.h> #include <bcm63xx_dev_usb_ehci.h>
+#include <bcm63xx_dev_spi.h> +#include <bcm63xx_dev_spi.h>
#include <board_bcm963xx.h> #include <board_bcm963xx.h>
#include <bcm_tag.h>
#define PFX "board_bcm963xx: " @@ -972,6 +973,8 @@ int __init board_register_devices(void)
@@ -949,6 +950,8 @@ int __init board_register_devices(void)
if (board.num_spis) if (board.num_spis)
spi_register_board_info(board.spis, board.num_spis); spi_register_board_info(board.spis, board.num_spis);

@ -1,7 +1,7 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -487,6 +487,55 @@ static struct board_info __initdata boar @@ -129,6 +129,55 @@ static struct board_info __initdata boar
} },
}, },
}; };
+ +
@ -56,7 +56,7 @@
#endif #endif
/* /*
@@ -751,6 +800,7 @@ static const struct board_info __initdat @@ -637,6 +686,7 @@ static const struct board_info __initdat
&board_DV201AMR, &board_DV201AMR,
&board_96348gw_a, &board_96348gw_a,
&board_rta1025w_16, &board_rta1025w_16,

@ -1,16 +1,16 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -18,6 +18,9 @@ @@ -17,6 +17,9 @@
#include <linux/ssb/ssb.h>
#include <linux/gpio_buttons.h> #include <linux/gpio_buttons.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/export.h>
+#include <linux/spi/spi.h> +#include <linux/spi/spi.h>
+#include <linux/spi/spi_gpio.h> +#include <linux/spi/spi_gpio.h>
+#include <linux/spi/74x164.h> +#include <linux/spi/74x164.h>
#include <asm/addrspace.h> #include <asm/addrspace.h>
#include <bcm63xx_board.h> #include <bcm63xx_board.h>
#include <bcm63xx_cpu.h> #include <bcm63xx_cpu.h>
@@ -39,6 +42,12 @@ @@ -38,6 +41,12 @@
#define CFE_OFFSET_64K 0x10000 #define CFE_OFFSET_64K 0x10000
#define CFE_OFFSET_128K 0x20000 #define CFE_OFFSET_128K 0x20000
@ -23,7 +23,7 @@
static struct bcm963xx_nvram nvram; static struct bcm963xx_nvram nvram;
static unsigned int mac_addr_used; static unsigned int mac_addr_used;
static struct board_info board; static struct board_info board;
@@ -778,6 +787,496 @@ static struct board_info __initdata boar @@ -664,6 +673,496 @@ static struct board_info __initdata boar
.has_ohci0 = 1, .has_ohci0 = 1,
}; };
@ -520,7 +520,7 @@
#endif #endif
/* /*
@@ -808,9 +1307,30 @@ static const struct board_info __initdat @@ -694,9 +1193,30 @@ static const struct board_info __initdat
&board_96358vw2, &board_96358vw2,
&board_AGPFS0, &board_AGPFS0,
&board_DWVS0, &board_DWVS0,
@ -551,7 +551,7 @@
/* /*
* Register a sane SPROMv2 to make the on-board * Register a sane SPROMv2 to make the on-board
* bcm4318 WLAN work * bcm4318 WLAN work
@@ -962,6 +1482,9 @@ void __init board_prom_init(void) @@ -847,6 +1367,9 @@ void __init board_prom_init(void)
boardid_fixup(boot_addr); boardid_fixup(boot_addr);
} }

@ -1,8 +1,8 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -146,6 +146,38 @@ static struct board_info __initdata boar @@ -199,6 +199,38 @@ static struct board_info __initdata boar
},
}, .has_uart0 = 1,
}; };
+ +
+static struct board_info __initdata board_96338w2_e7t = { +static struct board_info __initdata board_96338w2_e7t = {
@ -39,7 +39,7 @@
#endif #endif
/* /*
@@ -1286,6 +1318,7 @@ static const struct board_info __initdat @@ -1172,6 +1204,7 @@ static const struct board_info __initdat
#ifdef CONFIG_BCM63XX_CPU_6338 #ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw, &board_96338gw,
&board_96338w, &board_96338w,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -683,6 +683,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 = { static struct board_info __initdata board_AGPFS0 = {
.name = "AGPF-S0", .name = "AGPF-S0",
.expected_cpu_id = 0x6358, .expected_cpu_id = 0x6358,
@@ -1339,6 +1431,7 @@ static const struct board_info __initdat @@ -1225,6 +1317,7 @@ static const struct board_info __initdat
&board_96358vw, &board_96358vw,
&board_96358vw2, &board_96358vw2,
&board_AGPFS0, &board_AGPFS0,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -912,6 +912,59 @@ static struct board_info __initdata boar @@ -798,6 +798,59 @@ static struct board_info __initdata boar
.has_ohci0 = 1, .has_ohci0 = 1,
}; };
@ -60,7 +60,7 @@
struct spi_gpio_platform_data nb4_spi_gpio_data = { struct spi_gpio_platform_data nb4_spi_gpio_data = {
.sck = NB4_SPI_GPIO_CLK, .sck = NB4_SPI_GPIO_CLK,
.mosi = NB4_SPI_GPIO_MOSI, .mosi = NB4_SPI_GPIO_MOSI,
@@ -1433,6 +1486,7 @@ static const struct board_info __initdat @@ -1319,6 +1372,7 @@ static const struct board_info __initdat
&board_AGPFS0, &board_AGPFS0,
&board_CPVA642, &board_CPVA642,
&board_DWVS0, &board_DWVS0,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -577,6 +577,67 @@ static struct board_info __initdata boar @@ -187,6 +187,67 @@ static struct board_info __initdata boar
}, },
}; };
@ -68,7 +68,7 @@
#endif #endif
/* /*
@@ -1478,6 +1539,7 @@ static const struct board_info __initdat @@ -1364,6 +1425,7 @@ static const struct board_info __initdat
&board_96348gw_a, &board_96348gw_a,
&board_rta1025w_16, &board_rta1025w_16,
&board_96348_D4PW, &board_96348_D4PW,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -432,6 +432,112 @@ static struct board_info __initdata boar @@ -534,6 +534,112 @@ static struct board_info __initdata boar
}, },
}; };
@ -113,7 +113,7 @@
static struct board_info __initdata board_FAST2404 = { static struct board_info __initdata board_FAST2404 = {
.name = "F@ST2404", .name = "F@ST2404",
.expected_cpu_id = 0x6348, .expected_cpu_id = 0x6348,
@@ -1532,6 +1638,8 @@ static const struct board_info __initdat @@ -1418,6 +1524,8 @@ static const struct board_info __initdat
#ifdef CONFIG_BCM63XX_CPU_6348 #ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r, &board_96348r,
&board_96348gw, &board_96348gw,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -744,6 +744,76 @@ static struct board_info __initdata boar @@ -248,6 +248,76 @@ static struct board_info __initdata boar
}, },
}; };
@ -77,7 +77,7 @@
#endif #endif
/* /*
@@ -1648,6 +1718,7 @@ static const struct board_info __initdat @@ -1534,6 +1604,7 @@ static const struct board_info __initdat
&board_rta1025w_16, &board_rta1025w_16,
&board_96348_D4PW, &board_96348_D4PW,
&board_spw500v, &board_spw500v,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1691,6 +1691,81 @@ static struct board_info __initdata boar @@ -1577,6 +1577,81 @@ static struct board_info __initdata boar
.spis = nb4_spi_devices, .spis = nb4_spi_devices,
.num_spis = ARRAY_SIZE(nb4_spi_devices), .num_spis = ARRAY_SIZE(nb4_spi_devices),
}; };
@ -82,7 +82,7 @@
#endif #endif
/* /*
@@ -1733,6 +1808,7 @@ static const struct board_info __initdat @@ -1619,6 +1694,7 @@ static const struct board_info __initdat
&board_nb4_ser_r2, &board_nb4_ser_r2,
&board_nb4_fxc_r1, &board_nb4_fxc_r1,
&board_nb4_fxc_r2, &board_nb4_fxc_r2,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -178,6 +178,43 @@ static struct board_info __initdata boar @@ -362,6 +362,43 @@ static struct board_info __initdata boar
}, },
}, },
}; };
@ -44,7 +44,7 @@
#endif #endif
/* /*
@@ -1776,6 +1813,7 @@ static const struct board_info __initdat @@ -1662,6 +1699,7 @@ static const struct board_info __initdat
&board_96338gw, &board_96338gw,
&board_96338w, &board_96338w,
&board_96338w2_e7t, &board_96338w2_e7t,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1803,6 +1803,72 @@ static struct board_info __initdata boar @@ -1689,6 +1689,72 @@ static struct board_info __initdata boar
}, },
}, },
}; };
@ -73,7 +73,7 @@
#endif #endif
/* /*
@@ -1847,6 +1913,7 @@ static const struct board_info __initdat @@ -1733,6 +1799,7 @@ static const struct board_info __initdat
&board_nb4_fxc_r1, &board_nb4_fxc_r1,
&board_nb4_fxc_r2, &board_nb4_fxc_r2,
&board_HW553, &board_HW553,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -851,6 +851,63 @@ static struct board_info __initdata boar @@ -318,6 +318,63 @@ static struct board_info __initdata boar
}, },
}; };
@ -64,7 +64,7 @@
#endif #endif
/* /*
@@ -1898,6 +1955,7 @@ static const struct board_info __initdat @@ -1784,6 +1841,7 @@ static const struct board_info __initdat
&board_96348_D4PW, &board_96348_D4PW,
&board_spw500v, &board_spw500v,
&board_96348sv, &board_96348sv,
@ -72,7 +72,7 @@
#endif #endif
#ifdef CONFIG_BCM63XX_CPU_6358 #ifdef CONFIG_BCM63XX_CPU_6358
@@ -2051,6 +2109,22 @@ void __init board_prom_init(void) @@ -1937,6 +1995,22 @@ void __init board_prom_init(void)
val = bcm_mpi_readl(MPI_CSBASE_REG(0)); val = bcm_mpi_readl(MPI_CSBASE_REG(0));
val &= MPI_CSBASE_BASE_MASK; val &= MPI_CSBASE_BASE_MASK;
boot_addr = (u8 *)KSEG1ADDR(val); boot_addr = (u8 *)KSEG1ADDR(val);
@ -95,7 +95,7 @@
/* dump cfe version */ /* dump cfe version */
cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET; cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET;
@@ -2269,6 +2343,13 @@ int __init board_register_devices(void) @@ -2154,6 +2228,13 @@ int __init board_register_devices(void)
val = bcm_mpi_readl(MPI_CSBASE_REG(0)); val = bcm_mpi_readl(MPI_CSBASE_REG(0));
val &= MPI_CSBASE_BASE_MASK; val &= MPI_CSBASE_BASE_MASK;

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -401,6 +401,62 @@ static struct board_info __initdata boar @@ -630,6 +630,62 @@ static struct board_info __initdata boar
}, },
}; };
@ -63,7 +63,7 @@
static struct board_info __initdata board_96348gw = { static struct board_info __initdata board_96348gw = {
.name = "96348GW", .name = "96348GW",
.expected_cpu_id = 0x6348, .expected_cpu_id = 0x6348,
@@ -1956,6 +2012,7 @@ static const struct board_info __initdat @@ -1842,6 +1898,7 @@ static const struct board_info __initdat
&board_spw500v, &board_spw500v,
&board_96348sv, &board_96348sv,
&board_V2500V_BB, &board_V2500V_BB,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -457,6 +457,49 @@ static struct board_info __initdata boar @@ -686,6 +686,49 @@ static struct board_info __initdata boar
}; };
@ -50,7 +50,7 @@
static struct board_info __initdata board_96348gw = { static struct board_info __initdata board_96348gw = {
.name = "96348GW", .name = "96348GW",
.expected_cpu_id = 0x6348, .expected_cpu_id = 0x6348,
@@ -2013,6 +2056,7 @@ static const struct board_info __initdat @@ -1899,6 +1942,7 @@ static const struct board_info __initdat
&board_96348sv, &board_96348sv,
&board_V2500V_BB, &board_V2500V_BB,
&board_V2110, &board_V2110,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1325,6 +1325,8 @@ static struct board_info __initdata boar @@ -1211,6 +1211,8 @@ static struct board_info __initdata boar
.name = "DWV-S0", .name = "DWV-S0",
.expected_cpu_id = 0x6358, .expected_cpu_id = 0x6358,
@ -9,7 +9,7 @@
.has_enet0 = 1, .has_enet0 = 1,
.has_enet1 = 1, .has_enet1 = 1,
.has_pci = 1, .has_pci = 1,
@@ -1340,6 +1342,7 @@ static struct board_info __initdata boar @@ -1226,6 +1228,7 @@ static struct board_info __initdata boar
}, },
.has_ohci0 = 1, .has_ohci0 = 1,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1007,6 +1007,67 @@ static struct board_info __initdata boar @@ -375,6 +375,67 @@ static struct board_info __initdata boar
}, },
}; };
@ -68,7 +68,7 @@
#endif #endif
/* /*
@@ -2060,6 +2121,7 @@ static const struct board_info __initdat @@ -1946,6 +2007,7 @@ static const struct board_info __initdat
&board_V2500V_BB, &board_V2500V_BB,
&board_V2110, &board_V2110,
&board_ct536_ct5621, &board_ct536_ct5621,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -702,6 +702,7 @@ static struct board_info __initdata boar @@ -992,6 +992,7 @@ static struct board_info __initdata boar
.name = "RTA1025W_16", .name = "RTA1025W_16",
.expected_cpu_id = 0x6348, .expected_cpu_id = 0x6348,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1069,6 +1069,42 @@ static struct board_info __initdata boar @@ -436,6 +436,42 @@ static struct board_info __initdata boar
}, },
}; };
@ -43,7 +43,7 @@
#endif #endif
/* /*
@@ -2123,6 +2159,7 @@ static const struct board_info __initdat @@ -2009,6 +2045,7 @@ static const struct board_info __initdat
&board_V2110, &board_V2110,
&board_ct536_ct5621, &board_ct536_ct5621,
&board_96348A_122, &board_96348A_122,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -601,6 +601,99 @@ static struct board_info __initdata boar @@ -1303,6 +1303,99 @@ static struct board_info __initdata boar
.has_ohci0 = 1, .has_ohci0 = 1,
.has_ehci0 = 1, .has_ehci0 = 1,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -473,6 +473,19 @@ static struct board_info __initdata boar @@ -1083,6 +1083,19 @@ static struct board_info __initdata boar
}, },
.has_ohci0 = 1, .has_ohci0 = 1,

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -335,6 +335,17 @@ static struct board_info __initdata boar @@ -661,6 +661,17 @@ static struct board_info __initdata boar
.active_low = 1, .active_low = 1,
}, },
}, },

@ -5,10 +5,10 @@
#include <linux/gpio_buttons.h> #include <linux/gpio_buttons.h>
#include <linux/input.h> #include <linux/input.h>
+#include <linux/export.h> +#include <linux/export.h>
#include <asm/addrspace.h> #include <linux/spi/spi.h>
#include <bcm63xx_board.h> #include <linux/spi/spi_gpio.h>
#include <bcm63xx_cpu.h> #include <linux/spi/74x164.h>
@@ -38,6 +39,13 @@ static unsigned int mac_addr_used; @@ -52,6 +53,13 @@ static unsigned int mac_addr_used;
static struct board_info board; static struct board_info board;
/* /*
@ -22,7 +22,7 @@
* known 6338 boards * known 6338 boards
*/ */
#ifdef CONFIG_BCM63XX_CPU_6338 #ifdef CONFIG_BCM63XX_CPU_6338
@@ -749,6 +757,7 @@ void __init board_prom_init(void) @@ -2344,6 +2352,7 @@ void __init board_prom_init(void)
/* extract nvram data */ /* extract nvram data */
memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram)); memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
Loading…
Cancel
Save