summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile14
-rw-r--r--target/linux/brcm63xx/patches-3.8/500-board-D4PW.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/501-board-NB4.patch10
-rw-r--r--target/linux/brcm63xx/patches-3.8/502-board-96338W2_E7T.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/503-board-CPVA642.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/504-board_dsl_274xb_rev_c.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/505-board_spw500v.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/506-board_gw6200_gw6000.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/507-board-MAGIC.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/508-board_hw553.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/509-board_rta1320_16m.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/510-board_spw303v.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch8
-rw-r--r--target/linux/brcm63xx/patches-3.8/512-board_BTV2110.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/514-board_ct536_ct5621.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/515-board_DWV-S0_fixes.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/516-board_96348A-122.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/517-RTA1205W_16_uart_fixes.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.8/519_board_CPVA502plus.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/520-bcm63xx-add-support-for-96368MVWG-board.patch6
-rw-r--r--target/linux/brcm63xx/patches-3.8/521-bcm63xx-add-support-for-96368MVNgr-board.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/522-MIPS-BCM63XX-add-96328avng-reference-board.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/524-board_dsl_274xb_rev_f.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/525-board_96348w3.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/526-board_CT6373-1.patch6
-rw-r--r--target/linux/brcm63xx/patches-3.8/527-board_dva-g3810bn-tl-1.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/528-board_nb6.patch8
-rw-r--r--target/linux/brcm63xx/patches-3.8/529-board_fast2604.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/530-board_963281T_TEF.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/531-board_96328A-1441N1.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/532-board_96328a-1241N.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/533-board_rta770bw.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/534-board_hw556.patch6
-rw-r--r--target/linux/brcm63xx/patches-3.8/535-board_rta770w.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.8/550-alice_gate2_leds.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.8/551-96348gw_a_leds.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.8/552-board_96348gw-10_reset_button.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.8/553-boards_probe_switch.patch26
-rw-r--r--target/linux/brcm63xx/patches-3.8/554-board_DWVS0_leds_buttons.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.8/555-netgear_CVG834G_E15R3921.patch54
-rw-r--r--target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.9/555-netgear_CVG834G_E15R3921.patch54
43 files changed, 218 insertions, 96 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 69621dc5ae..754460731d 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -11,6 +11,9 @@ LOADADDR = 0x80010000 # RAM start + 16M
KERNEL_ENTRY = $(LOADADDR) # Newer kernels add a jmp to the kernel_entry at the start of the binary
RAMSIZE = 0x01000000 # 64MB
+DROP_SECTIONS := .reginfo .mdebug .comment .note .pdr .options .MIPS.options
+OBJCOPY_BIN := $(TARGET_CROSS)objcopy -S -O binary $(addprefix --remove-section=,$(DROP_SECTIONS))
+
LOADER_MAKEOPTS= \
KDIR=$(KDIR) \
LOADADDR=$(LOADADDR) \
@@ -119,11 +122,19 @@ define Image/Build/CFEOLD
-o $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin
endef
+define Image/Build/HCS
+ $(STAGING_DIR_HOST)/bin/hcsmakeimage --magic_byte=$(3) \
+ --rev_maj=$(4) --rev_min=$(5) --input_file=$(6) \
+ --output_file=$(BIN_DIR)/openwrt-$(2)-$(1).bin
+endef
+
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
define Image/Prepare
+ # Binary kernel
+ $(OBJCOPY_BIN) $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.bin
# Standard LZMA kernel
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
@@ -279,6 +290,9 @@ define Image/Build
# T-Com Speedport W 303V Typ B
$(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V)
+
+ # Netgear CVG834G
+ $(call Image/Build/HCS,$(1),cvg834g,a020,0001,0022,$(KDIR)/vmlinux.bin)
endif
endef
diff --git a/target/linux/brcm63xx/patches-3.8/500-board-D4PW.patch b/target/linux/brcm63xx/patches-3.8/500-board-D4PW.patch
index 8b17569f4b..5db8c56795 100644
--- a/target/linux/brcm63xx/patches-3.8/500-board-D4PW.patch
+++ b/target/linux/brcm63xx/patches-3.8/500-board-D4PW.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -520,6 +520,56 @@ static struct board_info __initdata boar
+@@ -522,6 +522,56 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -57,7 +57,7 @@
#endif
/*
-@@ -694,6 +744,7 @@ static const struct board_info __initcon
+@@ -696,6 +746,7 @@ static const struct board_info __initcon
&board_DV201AMR,
&board_96348gw_a,
&board_rta1025w_16,
diff --git a/target/linux/brcm63xx/patches-3.8/501-board-NB4.patch b/target/linux/brcm63xx/patches-3.8/501-board-NB4.patch
index 99b7e43acc..759ba43980 100644
--- a/target/linux/brcm63xx/patches-3.8/501-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-3.8/501-board-NB4.patch
@@ -9,9 +9,9 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
-@@ -46,6 +48,12 @@
- #define CFE_OFFSET_64K 0x10000
+@@ -48,6 +50,12 @@
#define CFE_OFFSET_128K 0x20000
+ #define HCS_OFFSET_128K 0x20000
+#define NB4_PID_OFFSET 0xff80
+#define NB4_74X164_GPIO_BASE 64
@@ -22,7 +22,7 @@
static struct board_info board;
/*
-@@ -719,6 +727,596 @@ static struct board_info __initdata boar
+@@ -721,6 +729,596 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -619,7 +619,7 @@
#endif
/*
-@@ -752,6 +1350,11 @@ static const struct board_info __initcon
+@@ -754,6 +1352,11 @@ static const struct board_info __initcon
&board_96358vw2,
&board_AGPFS0,
&board_DWVS0,
@@ -631,7 +631,7 @@
#endif
};
-@@ -806,6 +1409,16 @@ static void __init boardid_fixup(u8 *boo
+@@ -808,6 +1411,16 @@ static void __init boardid_fixup(u8 *boo
struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
char *board_name = (char *)bcm63xx_nvram_get_name();
diff --git a/target/linux/brcm63xx/patches-3.8/502-board-96338W2_E7T.patch b/target/linux/brcm63xx/patches-3.8/502-board-96338W2_E7T.patch
index 2420ab64c8..c152d8f081 100644
--- a/target/linux/brcm63xx/patches-3.8/502-board-96338W2_E7T.patch
+++ b/target/linux/brcm63xx/patches-3.8/502-board-96338W2_E7T.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -191,6 +191,40 @@ static struct board_info __initdata boar
+@@ -193,6 +193,40 @@ static struct board_info __initdata boar
},
},
};
@@ -41,7 +41,7 @@
#endif
/*
-@@ -1329,6 +1363,7 @@ static const struct board_info __initcon
+@@ -1331,6 +1365,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
&board_96338w,
diff --git a/target/linux/brcm63xx/patches-3.8/503-board-CPVA642.patch b/target/linux/brcm63xx/patches-3.8/503-board-CPVA642.patch
index ec75cfefdc..8770ef8a85 100644
--- a/target/linux/brcm63xx/patches-3.8/503-board-CPVA642.patch
+++ b/target/linux/brcm63xx/patches-3.8/503-board-CPVA642.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -718,6 +718,98 @@ static struct board_info __initdata boar
+@@ -720,6 +720,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,
-@@ -1384,6 +1476,7 @@ static const struct board_info __initcon
+@@ -1386,6 +1478,7 @@ static const struct board_info __initcon
&board_96358vw,
&board_96358vw2,
&board_AGPFS0,
diff --git a/target/linux/brcm63xx/patches-3.8/504-board_dsl_274xb_rev_c.patch b/target/linux/brcm63xx/patches-3.8/504-board_dsl_274xb_rev_c.patch
index 50fac61b73..138e55114d 100644
--- a/target/linux/brcm63xx/patches-3.8/504-board_dsl_274xb_rev_c.patch
+++ b/target/linux/brcm63xx/patches-3.8/504-board_dsl_274xb_rev_c.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -854,6 +854,61 @@ static struct board_info __initdata boar
+@@ -856,6 +856,61 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -62,7 +62,7 @@
struct spi_gpio_platform_data nb4_spi_gpio_data = {
.sck = NB4_SPI_GPIO_CLK,
.mosi = NB4_SPI_GPIO_MOSI,
-@@ -1478,6 +1533,7 @@ static const struct board_info __initcon
+@@ -1480,6 +1535,7 @@ static const struct board_info __initcon
&board_AGPFS0,
&board_CPVA642,
&board_DWVS0,
diff --git a/target/linux/brcm63xx/patches-3.8/505-board_spw500v.patch b/target/linux/brcm63xx/patches-3.8/505-board_spw500v.patch
index 6abdac3db7..09f18768f5 100644
--- a/target/linux/brcm63xx/patches-3.8/505-board_spw500v.patch
+++ b/target/linux/brcm63xx/patches-3.8/505-board_spw500v.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -612,6 +612,67 @@ static struct board_info __initdata boar
+@@ -614,6 +614,67 @@ static struct board_info __initdata boar
},
},
};
@@ -68,7 +68,7 @@
#endif
/*
-@@ -1525,6 +1586,7 @@ static const struct board_info __initcon
+@@ -1527,6 +1588,7 @@ static const struct board_info __initcon
&board_96348gw_a,
&board_rta1025w_16,
&board_96348_D4PW,
diff --git a/target/linux/brcm63xx/patches-3.8/506-board_gw6200_gw6000.patch b/target/linux/brcm63xx/patches-3.8/506-board_gw6200_gw6000.patch
index 6635590c64..413524789c 100644
--- a/target/linux/brcm63xx/patches-3.8/506-board_gw6200_gw6000.patch
+++ b/target/linux/brcm63xx/patches-3.8/506-board_gw6200_gw6000.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -479,6 +479,112 @@ static struct board_info __initdata boar
+@@ -481,6 +481,112 @@ static struct board_info __initdata boar
},
};
@@ -113,7 +113,7 @@
static struct board_info __initdata board_FAST2404 = {
.name = "F@ST2404",
.expected_cpu_id = 0x6348,
-@@ -1579,6 +1685,8 @@ static const struct board_info __initcon
+@@ -1581,6 +1687,8 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
&board_96348gw,
diff --git a/target/linux/brcm63xx/patches-3.8/507-board-MAGIC.patch b/target/linux/brcm63xx/patches-3.8/507-board-MAGIC.patch
index 6bd1dff175..f7f65de099 100644
--- a/target/linux/brcm63xx/patches-3.8/507-board-MAGIC.patch
+++ b/target/linux/brcm63xx/patches-3.8/507-board-MAGIC.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -779,6 +779,78 @@ static struct board_info __initdata boar
+@@ -781,6 +781,78 @@ static struct board_info __initdata boar
},
},
};
@@ -79,7 +79,7 @@
#endif
/*
-@@ -1695,6 +1767,7 @@ static const struct board_info __initcon
+@@ -1697,6 +1769,7 @@ static const struct board_info __initcon
&board_rta1025w_16,
&board_96348_D4PW,
&board_spw500v,
diff --git a/target/linux/brcm63xx/patches-3.8/508-board_hw553.patch b/target/linux/brcm63xx/patches-3.8/508-board_hw553.patch
index f26017ea68..b26fde6e1f 100644
--- a/target/linux/brcm63xx/patches-3.8/508-board_hw553.patch
+++ b/target/linux/brcm63xx/patches-3.8/508-board_hw553.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1737,6 +1737,82 @@ static struct board_info __initdata boar
+@@ -1739,6 +1739,82 @@ static struct board_info __initdata boar
.spis = nb4_spi_devices,
.num_spis = ARRAY_SIZE(nb4_spi_devices),
};
@@ -83,7 +83,7 @@
#endif
/*
-@@ -1782,6 +1858,7 @@ static const struct board_info __initcon
+@@ -1784,6 +1860,7 @@ static const struct board_info __initcon
&board_nb4_ser_r2,
&board_nb4_fxc_r1,
&board_nb4_fxc_r2,
diff --git a/target/linux/brcm63xx/patches-3.8/509-board_rta1320_16m.patch b/target/linux/brcm63xx/patches-3.8/509-board_rta1320_16m.patch
index a596f45b7a..d91ad06764 100644
--- a/target/linux/brcm63xx/patches-3.8/509-board_rta1320_16m.patch
+++ b/target/linux/brcm63xx/patches-3.8/509-board_rta1320_16m.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -225,6 +225,45 @@ static struct board_info __initdata boar
+@@ -227,6 +227,45 @@ static struct board_info __initdata boar
},
},
};
@@ -46,7 +46,7 @@
#endif
/*
-@@ -1826,6 +1865,7 @@ static const struct board_info __initcon
+@@ -1828,6 +1867,7 @@ static const struct board_info __initcon
&board_96338gw,
&board_96338w,
&board_96338w2_e7t,
diff --git a/target/linux/brcm63xx/patches-3.8/510-board_spw303v.patch b/target/linux/brcm63xx/patches-3.8/510-board_spw303v.patch
index d21358e43d..e659e9f255 100644
--- a/target/linux/brcm63xx/patches-3.8/510-board_spw303v.patch
+++ b/target/linux/brcm63xx/patches-3.8/510-board_spw303v.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1852,6 +1852,72 @@ static struct board_info __initdata boar
+@@ -1854,6 +1854,72 @@ static struct board_info __initdata boar
},
},
};
@@ -73,7 +73,7 @@
#endif
/*
-@@ -1899,6 +1965,7 @@ static const struct board_info __initcon
+@@ -1901,6 +1967,7 @@ static const struct board_info __initcon
&board_nb4_fxc_r1,
&board_nb4_fxc_r2,
&board_HW553,
diff --git a/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch
index a2d78a6075..4a9218560f 100644
--- a/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch
+++ b/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -890,6 +890,65 @@ static struct board_info __initdata boar
+@@ -892,6 +892,65 @@ static struct board_info __initdata boar
},
},
};
@@ -66,7 +66,7 @@
#endif
/*
-@@ -1950,6 +2009,7 @@ static const struct board_info __initcon
+@@ -1952,6 +2011,7 @@ static const struct board_info __initcon
&board_96348_D4PW,
&board_spw500v,
&board_96348sv,
@@ -74,7 +74,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
-@@ -2070,6 +2130,22 @@ void __init board_prom_init(void)
+@@ -2073,6 +2133,22 @@ void __init board_prom_init(void)
val &= MPI_CSBASE_BASE_MASK;
}
boot_addr = (u8 *)KSEG1ADDR(val);
@@ -107,7 +107,7 @@
#include <bcm63xx_cpu.h>
#include <bcm63xx_dev_flash.h>
#include <bcm63xx_dev_hsspi.h>
-@@ -157,6 +158,13 @@ int __init bcm63xx_flash_register(int nu
+@@ -158,6 +159,13 @@ int __init bcm63xx_flash_register(int nu
val = bcm_mpi_readl(MPI_CSBASE_REG(0));
val &= MPI_CSBASE_BASE_MASK;
diff --git a/target/linux/brcm63xx/patches-3.8/512-board_BTV2110.patch b/target/linux/brcm63xx/patches-3.8/512-board_BTV2110.patch
index 53f0377bad..a20503e9be 100644
--- a/target/linux/brcm63xx/patches-3.8/512-board_BTV2110.patch
+++ b/target/linux/brcm63xx/patches-3.8/512-board_BTV2110.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -450,6 +450,64 @@ static struct board_info __initdata boar
+@@ -452,6 +452,64 @@ static struct board_info __initdata boar
},
};
@@ -65,7 +65,7 @@
static struct board_info __initdata board_96348gw = {
.name = "96348GW",
.expected_cpu_id = 0x6348,
-@@ -2010,6 +2068,7 @@ static const struct board_info __initcon
+@@ -2012,6 +2070,7 @@ static const struct board_info __initcon
&board_spw500v,
&board_96348sv,
&board_V2500V_BB,
diff --git a/target/linux/brcm63xx/patches-3.8/514-board_ct536_ct5621.patch b/target/linux/brcm63xx/patches-3.8/514-board_ct536_ct5621.patch
index 25d98471c4..2a4d83b4a5 100644
--- a/target/linux/brcm63xx/patches-3.8/514-board_ct536_ct5621.patch
+++ b/target/linux/brcm63xx/patches-3.8/514-board_ct536_ct5621.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -508,6 +508,51 @@ static struct board_info __initdata boar
+@@ -510,6 +510,51 @@ static struct board_info __initdata boar
};
@@ -52,7 +52,7 @@
static struct board_info __initdata board_96348gw = {
.name = "96348GW",
.expected_cpu_id = 0x6348,
-@@ -2069,6 +2114,7 @@ static const struct board_info __initcon
+@@ -2071,6 +2116,7 @@ static const struct board_info __initcon
&board_96348sv,
&board_V2500V_BB,
&board_V2110,
diff --git a/target/linux/brcm63xx/patches-3.8/515-board_DWV-S0_fixes.patch b/target/linux/brcm63xx/patches-3.8/515-board_DWV-S0_fixes.patch
index cad84e7dc5..b2a1714adf 100644
--- a/target/linux/brcm63xx/patches-3.8/515-board_DWV-S0_fixes.patch
+++ b/target/linux/brcm63xx/patches-3.8/515-board_DWV-S0_fixes.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1277,6 +1277,8 @@ static struct board_info __initdata boar
+@@ -1279,6 +1279,8 @@ static struct board_info __initdata boar
.name = "DWV-S0",
.expected_cpu_id = 0x6358,
@@ -9,7 +9,7 @@
.has_enet0 = 1,
.has_enet1 = 1,
.has_pci = 1,
-@@ -1292,6 +1294,7 @@ static struct board_info __initdata boar
+@@ -1294,6 +1296,7 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.8/516-board_96348A-122.patch b/target/linux/brcm63xx/patches-3.8/516-board_96348A-122.patch
index 823a587534..b0900dee18 100644
--- a/target/linux/brcm63xx/patches-3.8/516-board_96348A-122.patch
+++ b/target/linux/brcm63xx/patches-3.8/516-board_96348A-122.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -553,6 +553,69 @@ static struct board_info __initdata boar
+@@ -555,6 +555,69 @@ static struct board_info __initdata boar
},
};
@@ -70,7 +70,7 @@
static struct board_info __initdata board_96348gw = {
.name = "96348GW",
.expected_cpu_id = 0x6348,
-@@ -2118,6 +2181,7 @@ static const struct board_info __initcon
+@@ -2120,6 +2183,7 @@ static const struct board_info __initcon
&board_V2500V_BB,
&board_V2110,
&board_ct536_ct5621,
diff --git a/target/linux/brcm63xx/patches-3.8/517-RTA1205W_16_uart_fixes.patch b/target/linux/brcm63xx/patches-3.8/517-RTA1205W_16_uart_fixes.patch
index 7f0ee27d48..4c22d7bf0b 100644
--- a/target/linux/brcm63xx/patches-3.8/517-RTA1205W_16_uart_fixes.patch
+++ b/target/linux/brcm63xx/patches-3.8/517-RTA1205W_16_uart_fixes.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -818,6 +818,7 @@ static struct board_info __initdata boar
+@@ -820,6 +820,7 @@ static struct board_info __initdata boar
.name = "RTA1025W_16",
.expected_cpu_id = 0x6348,
diff --git a/target/linux/brcm63xx/patches-3.8/519_board_CPVA502plus.patch b/target/linux/brcm63xx/patches-3.8/519_board_CPVA502plus.patch
index 6dd246be57..5ca2376b34 100644
--- a/target/linux/brcm63xx/patches-3.8/519_board_CPVA502plus.patch
+++ b/target/linux/brcm63xx/patches-3.8/519_board_CPVA502plus.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1116,6 +1116,46 @@ static struct board_info __initdata boar
+@@ -1118,6 +1118,46 @@ static struct board_info __initdata boar
},
},
};
@@ -47,7 +47,7 @@
#endif
/*
-@@ -2183,6 +2223,7 @@ static const struct board_info __initcon
+@@ -2185,6 +2225,7 @@ static const struct board_info __initcon
&board_V2110,
&board_ct536_ct5621,
&board_96348A_122,
diff --git a/target/linux/brcm63xx/patches-3.8/520-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/brcm63xx/patches-3.8/520-bcm63xx-add-support-for-96368MVWG-board.patch
index c3b2c16543..bb4213311e 100644
--- a/target/linux/brcm63xx/patches-3.8/520-bcm63xx-add-support-for-96368MVWG-board.patch
+++ b/target/linux/brcm63xx/patches-3.8/520-bcm63xx-add-support-for-96368MVWG-board.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2190,6 +2190,78 @@ static struct board_info __initdata boar
+@@ -2192,6 +2192,78 @@ static struct board_info __initdata boar
#endif
/*
@@ -89,7 +89,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
* all boards
*/
static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -2241,6 +2313,10 @@ static const struct board_info __initcon
+@@ -2243,6 +2315,10 @@ static const struct board_info __initcon
&board_HW553,
&board_spw303v,
#endif
@@ -100,7 +100,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
};
/*
-@@ -2409,12 +2485,25 @@ void __init board_prom_init(void)
+@@ -2416,12 +2492,25 @@ void __init board_prom_init(void)
bcm63xx_pci_enabled = 1;
if (BCMCPU_IS_6348())
val |= GPIO_MODE_6348_G2_PCI;
diff --git a/target/linux/brcm63xx/patches-3.8/521-bcm63xx-add-support-for-96368MVNgr-board.patch b/target/linux/brcm63xx/patches-3.8/521-bcm63xx-add-support-for-96368MVNgr-board.patch
index 920d172786..c956dbbc3a 100644
--- a/target/linux/brcm63xx/patches-3.8/521-bcm63xx-add-support-for-96368MVNgr-board.patch
+++ b/target/linux/brcm63xx/patches-3.8/521-bcm63xx-add-support-for-96368MVNgr-board.patch
@@ -9,7 +9,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2259,6 +2259,72 @@ static struct board_info __initdata boar
+@@ -2261,6 +2261,72 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
};
@@ -82,7 +82,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
#endif
/*
-@@ -2316,6 +2382,7 @@ static const struct board_info __initcon
+@@ -2318,6 +2384,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
diff --git a/target/linux/brcm63xx/patches-3.8/522-MIPS-BCM63XX-add-96328avng-reference-board.patch b/target/linux/brcm63xx/patches-3.8/522-MIPS-BCM63XX-add-96328avng-reference-board.patch
index 5875bd2ad9..735fdba154 100644
--- a/target/linux/brcm63xx/patches-3.8/522-MIPS-BCM63XX-add-96328avng-reference-board.patch
+++ b/target/linux/brcm63xx/patches-3.8/522-MIPS-BCM63XX-add-96328avng-reference-board.patch
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -73,13 +73,45 @@ static struct board_info __initdata boar
+@@ -75,13 +75,45 @@ static struct board_info __initdata boar
.port_no = 0,
},
@@ -56,7 +56,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
.name = "96328avng::power",
.gpio = 4,
.active_low = 1,
-@@ -96,7 +128,7 @@ static struct board_info __initdata boar
+@@ -98,7 +130,7 @@ static struct board_info __initdata boar
.active_low = 1,
},
{
diff --git a/target/linux/brcm63xx/patches-3.8/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch b/target/linux/brcm63xx/patches-3.8/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
index c27c02f2d5..c5cd05c643 100644
--- a/target/linux/brcm63xx/patches-3.8/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
+++ b/target/linux/brcm63xx/patches-3.8/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -134,6 +134,76 @@ static struct board_info __initdata boar
+@@ -136,6 +136,76 @@ static struct board_info __initdata boar
},
},
};
@@ -86,7 +86,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
#endif
/*
-@@ -2365,6 +2435,7 @@ static struct board_info __initdata boar
+@@ -2367,6 +2437,7 @@ static struct board_info __initdata boar
static const struct board_info __initconst *bcm963xx_boards[] = {
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.8/524-board_dsl_274xb_rev_f.patch b/target/linux/brcm63xx/patches-3.8/524-board_dsl_274xb_rev_f.patch
index a389af6514..10e76fb2ad 100644
--- a/target/linux/brcm63xx/patches-3.8/524-board_dsl_274xb_rev_f.patch
+++ b/target/linux/brcm63xx/patches-3.8/524-board_dsl_274xb_rev_f.patch
@@ -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
-@@ -204,6 +204,111 @@ static struct board_info __initdata boar
+@@ -206,6 +206,111 @@ static struct board_info __initdata boar
},
};
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
#endif
/*
-@@ -2436,6 +2541,7 @@ static const struct board_info __initcon
+@@ -2438,6 +2543,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
&board_963281TAN,
diff --git a/target/linux/brcm63xx/patches-3.8/525-board_96348w3.patch b/target/linux/brcm63xx/patches-3.8/525-board_96348w3.patch
index 665840cad3..a6af6be175 100644
--- a/target/linux/brcm63xx/patches-3.8/525-board_96348w3.patch
+++ b/target/linux/brcm63xx/patches-3.8/525-board_96348w3.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1363,6 +1363,59 @@ static struct board_info __initdata boar
+@@ -1365,6 +1365,59 @@ static struct board_info __initdata boar
},
};
@@ -60,7 +60,7 @@
#endif
/*
-@@ -2571,6 +2624,7 @@ static const struct board_info __initcon
+@@ -2573,6 +2626,7 @@ static const struct board_info __initcon
&board_ct536_ct5621,
&board_96348A_122,
&board_CPVA502plus,
diff --git a/target/linux/brcm63xx/patches-3.8/526-board_CT6373-1.patch b/target/linux/brcm63xx/patches-3.8/526-board_CT6373-1.patch
index 6642e34912..c9b7bb7d15 100644
--- a/target/linux/brcm63xx/patches-3.8/526-board_CT6373-1.patch
+++ b/target/linux/brcm63xx/patches-3.8/526-board_CT6373-1.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -54,6 +54,13 @@
+@@ -56,6 +56,13 @@
#define NB4_SPI_GPIO_CLK 6
#define NB4_74HC64_GPIO(X) (NB4_74X164_GPIO_BASE + (X))
@@ -14,7 +14,7 @@
static struct board_info board;
/*
-@@ -2306,6 +2313,113 @@ static struct board_info __initdata boar
+@@ -2308,6 +2315,113 @@ static struct board_info __initdata boar
.num_spis = ARRAY_SIZE(nb4_spi_devices),
};
@@ -128,7 +128,7 @@
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
-@@ -2639,6 +2753,7 @@ static const struct board_info __initcon
+@@ -2641,6 +2755,7 @@ static const struct board_info __initcon
&board_nb4_ser_r2,
&board_nb4_fxc_r1,
&board_nb4_fxc_r2,
diff --git a/target/linux/brcm63xx/patches-3.8/527-board_dva-g3810bn-tl-1.patch b/target/linux/brcm63xx/patches-3.8/527-board_dva-g3810bn-tl-1.patch
index c4d81bc2db..1760db5145 100644
--- a/target/linux/brcm63xx/patches-3.8/527-board_dva-g3810bn-tl-1.patch
+++ b/target/linux/brcm63xx/patches-3.8/527-board_dva-g3810bn-tl-1.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2561,6 +2561,73 @@ static struct board_info __initdata boar
+@@ -2563,6 +2563,73 @@ static struct board_info __initdata boar
},
}
};
@@ -74,7 +74,7 @@
#endif
/*
-@@ -2756,6 +2823,7 @@ static const struct board_info __initcon
+@@ -2758,6 +2825,7 @@ static const struct board_info __initcon
&board_ct6373_1,
&board_HW553,
&board_spw303v,
diff --git a/target/linux/brcm63xx/patches-3.8/528-board_nb6.patch b/target/linux/brcm63xx/patches-3.8/528-board_nb6.patch
index e565b8ecb9..b352b739d6 100644
--- a/target/linux/brcm63xx/patches-3.8/528-board_nb6.patch
+++ b/target/linux/brcm63xx/patches-3.8/528-board_nb6.patch
@@ -8,7 +8,7 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
-@@ -53,6 +54,8 @@
+@@ -55,6 +56,8 @@
#define NB4_SPI_GPIO_MOSI 7
#define NB4_SPI_GPIO_CLK 6
#define NB4_74HC64_GPIO(X) (NB4_74X164_GPIO_BASE + (X))
@@ -17,7 +17,7 @@
#define CT6373_PID_OFFSET 0xff80
#define CT6373_74X164_GPIO_BASE 64
-@@ -2630,6 +2633,103 @@ static struct board_info __initdata boar
+@@ -2632,6 +2635,103 @@ static struct board_info __initdata boar
};
#endif
@@ -121,7 +121,7 @@
/*
* known 6368 boards
*/
-@@ -2826,6 +2926,10 @@ static const struct board_info __initcon
+@@ -2828,6 +2928,10 @@ static const struct board_info __initcon
&board_DVAG3810BN,
#endif
@@ -132,7 +132,7 @@
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
-@@ -2893,6 +2997,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2895,6 +2999,11 @@ static void __init boardid_fixup(u8 *boo
}
}
diff --git a/target/linux/brcm63xx/patches-3.8/529-board_fast2604.patch b/target/linux/brcm63xx/patches-3.8/529-board_fast2604.patch
index 3cff43025c..9417bdfa43 100644
--- a/target/linux/brcm63xx/patches-3.8/529-board_fast2604.patch
+++ b/target/linux/brcm63xx/patches-3.8/529-board_fast2604.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1031,6 +1031,57 @@ static struct board_info __initdata boar
+@@ -1033,6 +1033,57 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@@ -58,7 +58,7 @@
static struct board_info __initdata board_rta1025w_16 = {
.name = "RTA1025W_16",
.expected_cpu_id = 0x6348,
-@@ -2894,6 +2945,7 @@ static const struct board_info __initcon
+@@ -2896,6 +2947,7 @@ static const struct board_info __initcon
&board_96348gw_10,
&board_96348gw_11,
&board_FAST2404,
diff --git a/target/linux/brcm63xx/patches-3.8/530-board_963281T_TEF.patch b/target/linux/brcm63xx/patches-3.8/530-board_963281T_TEF.patch
index 9ee467623e..22cbd57ab2 100644
--- a/target/linux/brcm63xx/patches-3.8/530-board_963281T_TEF.patch
+++ b/target/linux/brcm63xx/patches-3.8/530-board_963281T_TEF.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -215,6 +215,125 @@ static struct board_info __initdata boar
+@@ -217,6 +217,125 @@ static struct board_info __initdata boar
},
};
@@ -126,7 +126,7 @@
static struct board_info __initdata board_dsl_274xb_f1 = {
.name = "AW4339U",
.expected_cpu_id = 0x6328,
-@@ -2926,6 +3045,7 @@ static const struct board_info __initcon
+@@ -2928,6 +3047,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
&board_963281TAN,
diff --git a/target/linux/brcm63xx/patches-3.8/531-board_96328A-1441N1.patch b/target/linux/brcm63xx/patches-3.8/531-board_96328A-1441N1.patch
index 26cc128289..3b107959b8 100644
--- a/target/linux/brcm63xx/patches-3.8/531-board_96328A-1441N1.patch
+++ b/target/linux/brcm63xx/patches-3.8/531-board_96328A-1441N1.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -145,6 +145,78 @@ static struct board_info __initdata boar
+@@ -147,6 +147,78 @@ static struct board_info __initdata boar
},
};
@@ -79,7 +79,7 @@
static struct board_info __initdata board_963281TAN = {
.name = "963281TAN",
.expected_cpu_id = 0x6328,
-@@ -3044,6 +3116,7 @@ static struct board_info __initdata boar
+@@ -3046,6 +3118,7 @@ static struct board_info __initdata boar
static const struct board_info __initconst *bcm963xx_boards[] = {
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.8/532-board_96328a-1241N.patch b/target/linux/brcm63xx/patches-3.8/532-board_96328a-1241N.patch
index a0de0da3b0..fb4bc3fb95 100644
--- a/target/linux/brcm63xx/patches-3.8/532-board_96328a-1241N.patch
+++ b/target/linux/brcm63xx/patches-3.8/532-board_96328a-1241N.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -145,6 +145,72 @@ static struct board_info __initdata boar
+@@ -147,6 +147,72 @@ static struct board_info __initdata boar
},
};
@@ -73,7 +73,7 @@
static struct board_info __initdata board_96328A_1441N1 = {
.name = "96328A-1441N1",
.expected_cpu_id = 0x6328,
-@@ -3116,6 +3182,7 @@ static struct board_info __initdata boar
+@@ -3118,6 +3184,7 @@ static struct board_info __initdata boar
static const struct board_info __initconst *bcm963xx_boards[] = {
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.8/533-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.8/533-board_rta770bw.patch
index 181a0a9b4b..37586a3cd3 100644
--- a/target/linux/brcm63xx/patches-3.8/533-board_rta770bw.patch
+++ b/target/linux/brcm63xx/patches-3.8/533-board_rta770bw.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -750,6 +750,55 @@ static struct board_info __initdata boar
+@@ -752,6 +752,55 @@ static struct board_info __initdata boar
.has_uart0 = 1,
};
@@ -56,7 +56,7 @@
#endif
/*
-@@ -3196,6 +3245,7 @@ static const struct board_info __initcon
+@@ -3198,6 +3247,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
diff --git a/target/linux/brcm63xx/patches-3.8/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.8/534-board_hw556.patch
index fb0afa4493..4ef9b28961 100644
--- a/target/linux/brcm63xx/patches-3.8/534-board_hw556.patch
+++ b/target/linux/brcm63xx/patches-3.8/534-board_hw556.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2856,6 +2856,374 @@ static struct board_info __initdata boar
+@@ -2858,6 +2858,374 @@ static struct board_info __initdata boar
},
};
@@ -375,7 +375,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
-@@ -3284,6 +3652,10 @@ static const struct board_info __initcon
+@@ -3286,6 +3654,10 @@ static const struct board_info __initcon
&board_nb4_fxc_r2,
&board_ct6373_1,
&board_HW553,
@@ -386,7 +386,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
-@@ -3349,13 +3721,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3351,13 +3723,37 @@ static void __init boardid_fixup(u8 *boo
struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
char *board_name = (char *)bcm63xx_nvram_get_name();
diff --git a/target/linux/brcm63xx/patches-3.8/535-board_rta770w.patch b/target/linux/brcm63xx/patches-3.8/535-board_rta770w.patch
index f456512851..e12628f427 100644
--- a/target/linux/brcm63xx/patches-3.8/535-board_rta770w.patch
+++ b/target/linux/brcm63xx/patches-3.8/535-board_rta770w.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -799,6 +799,60 @@ static struct board_info __initdata boar
+@@ -801,6 +801,60 @@ static struct board_info __initdata boar
},
},
};
@@ -61,7 +61,7 @@
#endif
/*
-@@ -3614,6 +3668,7 @@ static const struct board_info __initcon
+@@ -3616,6 +3670,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
&board_rta770bw,
diff --git a/target/linux/brcm63xx/patches-3.8/550-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-3.8/550-alice_gate2_leds.patch
index c53351e43d..ab5cd4d4b2 100644
--- a/target/linux/brcm63xx/patches-3.8/550-alice_gate2_leds.patch
+++ b/target/linux/brcm63xx/patches-3.8/550-alice_gate2_leds.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2056,6 +2056,99 @@ static struct board_info __initdata boar
+@@ -2058,6 +2058,99 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.8/551-96348gw_a_leds.patch b/target/linux/brcm63xx/patches-3.8/551-96348gw_a_leds.patch
index 2da141f275..c555e002e8 100644
--- a/target/linux/brcm63xx/patches-3.8/551-96348gw_a_leds.patch
+++ b/target/linux/brcm63xx/patches-3.8/551-96348gw_a_leds.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1501,6 +1501,19 @@ static struct board_info __initdata boar
+@@ -1503,6 +1503,19 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.8/552-board_96348gw-10_reset_button.patch b/target/linux/brcm63xx/patches-3.8/552-board_96348gw-10_reset_button.patch
index 898063ff6f..06418f6984 100644
--- a/target/linux/brcm63xx/patches-3.8/552-board_96348gw-10_reset_button.patch
+++ b/target/linux/brcm63xx/patches-3.8/552-board_96348gw-10_reset_button.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -961,6 +961,17 @@ static struct board_info __initdata boar
+@@ -963,6 +963,17 @@ static struct board_info __initdata boar
.active_low = 1,
},
},
diff --git a/target/linux/brcm63xx/patches-3.8/553-boards_probe_switch.patch b/target/linux/brcm63xx/patches-3.8/553-boards_probe_switch.patch
index 6ab4e97c1a..6879e2b92f 100644
--- a/target/linux/brcm63xx/patches-3.8/553-boards_probe_switch.patch
+++ b/target/linux/brcm63xx/patches-3.8/553-boards_probe_switch.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -589,6 +589,8 @@ static struct board_info __initdata boar
+@@ -591,6 +591,8 @@ static struct board_info __initdata boar
.has_uart0 = 1,
.has_enet0 = 1,
.enet0 = {
@@ -9,7 +9,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -632,6 +634,8 @@ static struct board_info __initdata boar
+@@ -634,6 +636,8 @@ static struct board_info __initdata boar
.has_uart0 = 1,
.has_enet0 = 1,
.enet0 = {
@@ -18,7 +18,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -917,6 +921,8 @@ static struct board_info __initdata boar
+@@ -919,6 +923,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@@ -27,7 +27,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -989,6 +995,8 @@ static struct board_info __initdata boar
+@@ -991,6 +997,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@@ -36,7 +36,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1218,6 +1226,8 @@ static struct board_info __initdata boar
+@@ -1220,6 +1228,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@@ -45,7 +45,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1393,6 +1403,8 @@ static struct board_info __initdata boar
+@@ -1395,6 +1405,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@@ -54,7 +54,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1467,6 +1479,8 @@ static struct board_info __initdata boar
+@@ -1469,6 +1481,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@@ -63,7 +63,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1488,6 +1502,8 @@ static struct board_info __initdata boar
+@@ -1490,6 +1504,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@@ -72,7 +72,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1507,6 +1523,8 @@ static struct board_info __initdata boar
+@@ -1509,6 +1525,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@@ -81,7 +81,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1882,6 +1900,8 @@ static struct board_info __initdata boar
+@@ -1884,6 +1902,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@@ -90,7 +90,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -1934,6 +1954,8 @@ static struct board_info __initdata boar
+@@ -1936,6 +1956,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@@ -99,7 +99,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -2074,6 +2096,8 @@ static struct board_info __initdata boar
+@@ -2076,6 +2098,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@@ -108,7 +108,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -2191,6 +2215,8 @@ static struct board_info __initdata boar
+@@ -2193,6 +2217,8 @@ static struct board_info __initdata boar
},
.enet1 = {
diff --git a/target/linux/brcm63xx/patches-3.8/554-board_DWVS0_leds_buttons.patch b/target/linux/brcm63xx/patches-3.8/554-board_DWVS0_leds_buttons.patch
index ea131a99fc..b3e3972779 100644
--- a/target/linux/brcm63xx/patches-3.8/554-board_DWVS0_leds_buttons.patch
+++ b/target/linux/brcm63xx/patches-3.8/554-board_DWVS0_leds_buttons.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2223,6 +2223,94 @@ static struct board_info __initdata boar
+@@ -2225,6 +2225,94 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.8/555-netgear_CVG834G_E15R3921.patch b/target/linux/brcm63xx/patches-3.8/555-netgear_CVG834G_E15R3921.patch
new file mode 100644
index 0000000000..9b43adb727
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.8/555-netgear_CVG834G_E15R3921.patch
@@ -0,0 +1,54 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -69,6 +69,41 @@
+ static struct board_info board;
+
+ /*
++ * known 3368 boards
++ */
++#ifdef CONFIG_BCM63XX_CPU_3368
++static struct board_info __initdata board_cvg834g = {
++ .name = "CVG834G_E15R3921",
++ .expected_cpu_id = 0x3368,
++
++ .has_uart0 = 1,
++ .has_uart1 = 1,
++
++ .has_enet0 = 1,
++ .has_pci = 1,
++
++ .enet0 = {
++ .has_phy = 1,
++ .use_internal_phy = 1,
++ },
++
++ .leds = {
++ {
++ .name = "CVG834G::switch-reset",
++ .gpio = 36,
++ .default_trigger= "default-on",
++ },
++
++ {
++ .name = "CVG834G:green:power",
++ .gpio = 37,
++ .default_trigger= "default-on",
++ },
++ },
++};
++#endif
++
++/*
+ * known 6328 boards
+ */
+ #ifdef CONFIG_BCM63XX_CPU_6328
+@@ -3884,6 +3919,9 @@ static struct board_info __initdata boar
+ * all boards
+ */
+ static const struct board_info __initconst *bcm963xx_boards[] = {
++#ifdef CONFIG_BCM63XX_CPU_3368
++ &board_cvg834g,
++#endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
+ &board_96328avng,
+ &board_96328A_1241N,
diff --git a/target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch
index 563aa43834..9861925e27 100644
--- a/target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch
@@ -8,7 +8,7 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/spi/74x164.h>
-@@ -3961,7 +3962,7 @@ static const struct board_info __initcon
+@@ -4001,7 +4002,7 @@ static const struct board_info __initcon
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -3981,6 +3982,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -4021,6 +4022,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
diff --git a/target/linux/brcm63xx/patches-3.9/555-netgear_CVG834G_E15R3921.patch b/target/linux/brcm63xx/patches-3.9/555-netgear_CVG834G_E15R3921.patch
new file mode 100644
index 0000000000..9b43adb727
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.9/555-netgear_CVG834G_E15R3921.patch
@@ -0,0 +1,54 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -69,6 +69,41 @@
+ static struct board_info board;
+
+ /*
++ * known 3368 boards
++ */
++#ifdef CONFIG_BCM63XX_CPU_3368
++static struct board_info __initdata board_cvg834g = {
++ .name = "CVG834G_E15R3921",
++ .expected_cpu_id = 0x3368,
++
++ .has_uart0 = 1,
++ .has_uart1 = 1,
++
++ .has_enet0 = 1,
++ .has_pci = 1,
++
++ .enet0 = {
++ .has_phy = 1,
++ .use_internal_phy = 1,
++ },
++
++ .leds = {
++ {
++ .name = "CVG834G::switch-reset",
++ .gpio = 36,
++ .default_trigger= "default-on",
++ },
++
++ {
++ .name = "CVG834G:green:power",
++ .gpio = 37,
++ .default_trigger= "default-on",
++ },
++ },
++};
++#endif
++
++/*
+ * known 6328 boards
+ */
+ #ifdef CONFIG_BCM63XX_CPU_6328
+@@ -3884,6 +3919,9 @@ static struct board_info __initdata boar
+ * all boards
+ */
+ static const struct board_info __initconst *bcm963xx_boards[] = {
++#ifdef CONFIG_BCM63XX_CPU_3368
++ &board_cvg834g,
++#endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
+ &board_96328avng,
+ &board_96328A_1241N,