brcm63xx: make board patch context less ambiguous
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Aug 2014 11:36:38 +0000 (11:36 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 11 Aug 2014 11:36:38 +0000 (11:36 +0000)
Make it less likely for quilt/patch to put boards into the "wrong"
section.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42117

26 files changed:
target/linux/brcm63xx/patches-3.14/499-allow_better_context_for_board_patches.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch
target/linux/brcm63xx/patches-3.14/501-board-NB4.patch
target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch
target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch
target/linux/brcm63xx/patches-3.14/508-board_hw553.patch
target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch
target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch
target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch
target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch
target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch
target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch
target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch
target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch
target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch
target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch
target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch
target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch

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 (file)
index 0000000..ed13fc8
--- /dev/null
@@ -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
index 04fa4ca7dcbf206f6541a9ba9be8dfb261f96e66..af1b59370471c159d03688874690b050cb236174 100644 (file)
@@ -54,7 +54,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -729,6 +779,7 @@ static const struct board_info __initcon
index 75291f5859b9fe18929865ab4d4abca3b8cb124e..50da306d9960dac45a43c8e233f35f1323f49412 100644 (file)
 +      .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
index 25b28aa685a4c28a9b073ed4c7902eec31217d2e..0aca645228526203ecd354b604f617493555da5a 100644 (file)
@@ -38,7 +38,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
 @@ -1377,6 +1411,7 @@ static const struct board_info __initcon
index a1a0c8c649e4cb802f88e5b5a61ce1a893021c7a..4a4e9c7b7a99f0f2d20dc5fc648c335d73b90fc4 100644 (file)
@@ -65,7 +65,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1573,6 +1634,7 @@ static const struct board_info __initcon
index 0ebe03c521ba98b10092d0981202b71ba57fcd91..772d78b3a4260904dcfe383cb7926cb4d86a90c7 100644 (file)
@@ -76,7 +76,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1743,6 +1815,7 @@ static const struct board_info __initcon
index 7c86759f2c4883e35bf99ebc874090df343826fc..f3a1307cc6b5355f9eae0160e4da5723b67d7483 100644 (file)
@@ -81,7 +81,7 @@
 +              .pci_dev                        = 1,
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
 @@ -1830,6 +1907,7 @@ static const struct board_info __initcon
index 2244764af3c3fae3ce8b3d6381077a9ba6bc2f4d..9ecc36f8b1534f7da29a5bb0dce171805ab735d5 100644 (file)
@@ -43,7 +43,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
 @@ -1875,6 +1914,7 @@ static const struct board_info __initcon
index 7ab05a3e31937c465a3acc0a320360df684dd733..3e2fad64e670de566decb48e898d06ff8b226e76 100644 (file)
@@ -70,7 +70,7 @@
 +              },
 +      }
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
 @@ -1948,6 +2014,7 @@ static const struct board_info __initcon
index d830d98a59585ad91ac120ea9ccbb3d66ecff206..bc4409f9f127a5e4370870adcbe942b3c4bcfcac 100644 (file)
@@ -63,7 +63,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1999,6 +2058,7 @@ static const struct board_info __initcon
index 22c00363466cbdd3982bf92e0d9851a768f2a6f7..83a476967a3849a50aa6ef31235c238e823f568e 100644 (file)
@@ -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
index f604fae6a5c7eb7adc37a19c9974408342da9bd8..fc381421609494e9eca5f27bb32e21e1a1fe6e39 100644 (file)
@@ -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
index 2e7a9d79d6174a481e501318178d8724479ea1c6..0b6a868321aae8b5d1d7f284bc6da6f3a0dcceb4 100644 (file)
@@ -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
index 298f3434f6818a1439aa8607cb4300525a746599..d0d7bc4c02dbd98c602b5fa37a8bbdf33bb8ddbf 100644 (file)
@@ -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
index 28a00e1a1afa5f65ef58b46bcda34c24abab6fbe..05c82264c7d71a85567e915012a8405494af1360 100644 (file)
@@ -71,7 +71,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
 @@ -2830,6 +2897,7 @@ static const struct board_info __initcon
index f706734c5d42744b36d707da6f80f400ca66b0e9..cf69773cb516d1892773fecbbc42e51d2243ddd1 100644 (file)
@@ -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 = {
 +      .devs = nb6_devices,
 +      .num_devs = ARRAY_SIZE(nb6_devices),
 +};
-+#endif
++#endif /* CONFIG_BCM63XX_CPU_6362 */
 +
  /*
   * known 6368 boards
index 0e23f4af894efcd38fdfe30d59d2b62d8b0a7c3b..3a3cc6073ae8552836b29b887cf09e180dccdb14 100644 (file)
@@ -53,7 +53,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
 @@ -3335,6 +3384,7 @@ static const struct board_info __initcon
index 8cfbf097ab03b6648a01c5ff4ff49369369ec2df..1e0cc4b492fbd478f22b6c62066904ca52b7387f 100644 (file)
@@ -58,7 +58,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
 @@ -3872,6 +3926,7 @@ static const struct board_info __initcon
index ecd1e2ed7df48598671bffb10dff85bdc9aa691a..fd3eaca8fbb1da89422f8836992b5fcfc756b493 100644 (file)
@@ -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
index b3a4d34d6f0a2ac7298b4534198fa27aae8f4233..05e7187ca442a2d85fcb5cfcb64723500cc6e0d0 100644 (file)
@@ -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
index 10b310254753ad28af424081dfa46aff3581b2eb..8c750a1ee73e86de3a0068b0319bc2c797b1121d 100644 (file)
@@ -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
index 959f1900bb605ad5d8704812d08636cae749f482..bd43772265602faf8048ce58e6b55caec0208b5b 100644 (file)
@@ -92,7 +92,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
 @@ -4435,6 +4523,7 @@ static const struct board_info __initcon
index 4a53980a522358e8f42c09bef3f4e8f1e216ebe3..59494a7a76773e1adb507c92d0f6c2e2b406451c 100644 (file)
@@ -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
index 69685eb1cdf9a878629849d1eefaf97659b39cfa..60855df187b369238db2add809782d2acef40707 100644 (file)
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
 @@ -4716,6 +4818,7 @@ static const struct board_info __initcon
index c24de1000f0c94cf96ad9c2242d2a3cc8486ac59..a12f91532379bc306c2f4922a81e6a43c9198bba 100644 (file)
 +      .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
index 11cee3b08622206dce43f7b36f14f2e3674ff0d1..8ee6e98c3f425479068f665154da1e0105367cbc 100644 (file)
 +              .num_board_fixups               = ARRAY_SIZE(dsl2751b_e1_fixups),
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
 @@ -5426,6 +5561,7 @@ static const struct board_info __initcon