diff --git a/target/linux/brcm63xx/patches-3.14/499-allow_better_context_for_board_patches.patch b/target/linux/brcm63xx/patches-3.14/499-allow_better_context_for_board_patches.patch new file mode 100644 index 0000000000000000000000000000000000000000..ed13fc8595e4cc0ce8b3fef77903c1d3b9377758 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.14/499-allow_better_context_for_board_patches.patch @@ -0,0 +1,56 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c ++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -65,7 +65,7 @@ static struct board_info __initdata boar + .ephy_reset_gpio = 36, + .ephy_reset_gpio_flags = GPIOF_INIT_HIGH, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_3368 */ + + /* + * known 6328 boards +@@ -114,7 +114,7 @@ static struct board_info __initdata boar + }, + }, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_6328 */ + + /* + * known 6338 boards +@@ -203,7 +203,7 @@ static struct board_info __initdata boar + }, + }, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_6338 */ + + /* + * known 6345 boards +@@ -215,7 +215,7 @@ static struct board_info __initdata boar + + .has_uart0 = 1, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_6345 */ + + /* + * known 6348 boards +@@ -548,7 +548,7 @@ static struct board_info __initdata boar + + .has_ohci0 = 1, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_6348 */ + + /* + * known 6358 boards +@@ -701,7 +701,7 @@ static struct board_info __initdata boar + + .has_ohci0 = 1, + }; +-#endif ++#endif /* CONFIG_BCM63XX_CPU_6358 */ + + /* + * all boards diff --git a/target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch b/target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch index 04fa4ca7dcbf206f6541a9ba9be8dfb261f96e66..af1b59370471c159d03688874690b050cb236174 100644 --- a/target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch +++ b/target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch @@ -54,7 +54,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6348 */ /* @@ -729,6 +779,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch b/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch index 75291f5859b9fe18929865ab4d4abca3b8cb124e..50da306d9960dac45a43c8e233f35f1323f49412 100644 --- a/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch +++ b/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch @@ -629,7 +629,7 @@ + .spis = nb4_spi_devices, + .num_spis = ARRAY_SIZE(nb4_spi_devices), +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ /* @@ -787,6 +1398,11 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch b/target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch index 25b28aa685a4c28a9b073ed4c7902eec31217d2e..0aca645228526203ecd354b604f617493555da5a 100644 --- a/target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch +++ b/target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch @@ -38,7 +38,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6338 */ /* @@ -1377,6 +1411,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch b/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch index a1a0c8c649e4cb802f88e5b5a61ce1a893021c7a..4a4e9c7b7a99f0f2d20dc5fc648c335d73b90fc4 100644 --- a/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch +++ b/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch @@ -65,7 +65,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6348 */ /* @@ -1573,6 +1634,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch b/target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch index 0ebe03c521ba98b10092d0981202b71ba57fcd91..772d78b3a4260904dcfe383cb7926cb4d86a90c7 100644 --- a/target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch +++ b/target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch @@ -76,7 +76,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6348 */ /* @@ -1743,6 +1815,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch b/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch index 7c86759f2c4883e35bf99ebc874090df343826fc..f3a1307cc6b5355f9eae0160e4da5723b67d7483 100644 --- a/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch +++ b/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch @@ -81,7 +81,7 @@ + .pci_dev = 1, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ /* @@ -1830,6 +1907,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch b/target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch index 2244764af3c3fae3ce8b3d6381077a9ba6bc2f4d..9ecc36f8b1534f7da29a5bb0dce171805ab735d5 100644 --- a/target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch +++ b/target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch @@ -43,7 +43,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6338 */ /* @@ -1875,6 +1914,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch b/target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch index 7ab05a3e31937c465a3acc0a320360df684dd733..3e2fad64e670de566decb48e898d06ff8b226e76 100644 --- a/target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch +++ b/target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch @@ -70,7 +70,7 @@ + }, + } +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ /* @@ -1948,6 +2014,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch index d830d98a59585ad91ac120ea9ccbb3d66ecff206..bc4409f9f127a5e4370870adcbe942b3c4bcfcac 100644 --- a/target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch +++ b/target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch @@ -63,7 +63,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6348 */ /* @@ -1999,6 +2058,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch index 22c00363466cbdd3982bf92e0d9851a768f2a6f7..83a476967a3849a50aa6ef31235c238e823f568e 100644 --- a/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch +++ b/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch @@ -11,7 +11,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 @@ -2244,6 +2244,85 @@ static struct board_info __initdata boar - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ /* + * known 6368 boards @@ -90,7 +90,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board. + .has_ohci0 = 1, + .has_ehci0 = 1, +}; -+#endif ++#endif /* CONFIG_BCM63XX_CPU_6368 */ + +/* * all boards diff --git a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch index f604fae6a5c7eb7adc37a19c9974408342da9bd8..fc381421609494e9eca5f27bb32e21e1a1fe6e39 100644 --- a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch +++ b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch @@ -79,7 +79,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board. + .has_ohci0 = 1, + .has_ehci0 = 1, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6368 */ /* @@ -2380,6 +2446,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch index 2e7a9d79d6174a481e501318178d8724479ea1c6..0b6a868321aae8b5d1d7f284bc6da6f3a0dcceb4 100644 --- a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch +++ b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch @@ -83,7 +83,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board + + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6328 */ /* @@ -2429,6 +2499,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch index 298f3434f6818a1439aa8607cb4300525a746599..d0d7bc4c02dbd98c602b5fa37a8bbdf33bb8ddbf 100644 --- a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch +++ b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch @@ -119,7 +119,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6328 */ /* @@ -2500,6 +2605,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch b/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch index 28a00e1a1afa5f65ef58b46bcda34c24abab6fbe..05c82264c7d71a85567e915012a8405494af1360 100644 --- a/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch +++ b/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch @@ -71,7 +71,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ /* @@ -2830,6 +2897,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch index f706734c5d42744b36d707da6f80f400ca66b0e9..cf69773cb516d1892773fecbbc42e51d2243ddd1 100644 --- a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch +++ b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch @@ -19,7 +19,7 @@ #define CT6373_74X164_GPIO_BASE 64 @@ -2694,6 +2697,104 @@ static struct board_info __initdata boar }; - #endif + #endif /* CONFIG_BCM63XX_CPU_6358 */ +#ifdef CONFIG_BCM63XX_CPU_6362 +static struct rtl8367_extif_config nb6_rtl8367_extif0_cfg = { @@ -117,7 +117,7 @@ + .devs = nb6_devices, + .num_devs = ARRAY_SIZE(nb6_devices), +}; -+#endif ++#endif /* CONFIG_BCM63XX_CPU_6362 */ + /* * known 6368 boards diff --git a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch index 0e23f4af894efcd38fdfe30d59d2b62d8b0a7c3b..3a3cc6073ae8552836b29b887cf09e180dccdb14 100644 --- a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch +++ b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch @@ -53,7 +53,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6345 */ /* @@ -3335,6 +3384,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch index 8cfbf097ab03b6648a01c5ff4ff49369369ec2df..1e0cc4b492fbd478f22b6c62066904ca52b7387f 100644 --- a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch +++ b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch @@ -58,7 +58,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6345 */ /* @@ -3872,6 +3926,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch index ecd1e2ed7df48598671bffb10dff85bdc9aa691a..fd3eaca8fbb1da89422f8836992b5fcfc756b493 100644 --- a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch +++ b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch @@ -132,7 +132,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6328 */ /* @@ -3916,6 +4032,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch index b3a4d34d6f0a2ac7298b4534198fa27aae8f4233..05e7187ca442a2d85fcb5cfcb64723500cc6e0d0 100644 --- a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch +++ b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch @@ -100,7 +100,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org> + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6362 */ /* @@ -4092,6 +4182,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch index 10b310254753ad28af424081dfa46aff3581b2eb..8c750a1ee73e86de3a0068b0319bc2c797b1121d 100644 --- a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch +++ b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch @@ -1,7 +1,7 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -90,6 +90,93 @@ static struct board_info __initdata boar - #endif + #endif /* CONFIG_BCM63XX_CPU_3368 */ /* + * known 6318 boards @@ -88,7 +88,7 @@ + }, + }, +}; -+#endif ++#endif /* CONFIG_BCM63XX_CPU_6318 */ + +/* * known 6328 boards diff --git a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch index 959f1900bb605ad5d8704812d08636cae749f482..bd43772265602faf8048ce58e6b55caec0208b5b 100644 --- a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch +++ b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch @@ -92,7 +92,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6318 */ /* @@ -4435,6 +4523,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch index 4a53980a522358e8f42c09bef3f4e8f1e216ebe3..59494a7a76773e1adb507c92d0f6c2e2b406451c 100644 --- a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch +++ b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch @@ -1,7 +1,7 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -4515,6 +4515,75 @@ static struct board_info __initdata boar - #endif + #endif /* CONFIG_BCM63XX_CPU_6368 */ /* + * known 63268/63269 boards @@ -70,7 +70,7 @@ + }, + }, +}; -+#endif ++#endif /* CONFIG_BCM63XX_CPU_63268 */ + +/* * all boards diff --git a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch index 69685eb1cdf9a878629849d1eefaf97659b39cfa..60855df187b369238db2add809782d2acef40707 100644 --- a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch +++ b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch @@ -106,7 +106,7 @@ + }, + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_63268 */ /* @@ -4716,6 +4818,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch index c24de1000f0c94cf96ad9c2242d2a3cc8486ac59..a12f91532379bc306c2f4922a81e6a43c9198bba 100644 --- a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch +++ b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch @@ -123,7 +123,7 @@ + .spis = WAP5813n_spi_devices, + .num_spis = ARRAY_SIZE(WAP5813n_spi_devices), +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6368 */ /* @@ -4940,6 +5052,7 @@ static const struct board_info __initcon diff --git a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch index 11cee3b08622206dce43f7b36f14f2e3674ff0d1..8ee6e98c3f425479068f665154da1e0105367cbc 100644 --- a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch +++ b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch @@ -139,7 +139,7 @@ + .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups), + }, +}; - #endif + #endif /* CONFIG_BCM63XX_CPU_6318 */ /* @@ -5426,6 +5561,7 @@ static const struct board_info __initcon