brcm63xx: make board patch context less ambiguous
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Aug 2014 11:36:38 +0000 (11:36 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42117 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 04fa4ca..af1b593 100644 (file)
@@ -54,7 +54,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -729,6 +779,7 @@ static const struct board_info __initcon
index 75291f5..50da306 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 25b28aa..0aca645 100644 (file)
@@ -38,7 +38,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
 @@ -1377,6 +1411,7 @@ static const struct board_info __initcon
index a1a0c8c..4a4e9c7 100644 (file)
@@ -65,7 +65,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1573,6 +1634,7 @@ static const struct board_info __initcon
index 0ebe03c..772d78b 100644 (file)
@@ -76,7 +76,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1743,6 +1815,7 @@ static const struct board_info __initcon
index 7c86759..f3a1307 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 2244764..9ecc36f 100644 (file)
@@ -43,7 +43,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
 @@ -1875,6 +1914,7 @@ static const struct board_info __initcon
index 7ab05a3..3e2fad6 100644 (file)
@@ -70,7 +70,7 @@
 +              },
 +      }
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
 @@ -1948,6 +2014,7 @@ static const struct board_info __initcon
index d830d98..bc4409f 100644 (file)
@@ -63,7 +63,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
 @@ -1999,6 +2058,7 @@ static const struct board_info __initcon
index 22c0036..83a4769 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 f604fae..fc38142 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 2e7a9d7..0b6a868 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 298f343..d0d7bc4 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 28a00e1..05c8226 100644 (file)
@@ -71,7 +71,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
 @@ -2830,6 +2897,7 @@ static const struct board_info __initcon
index f706734..cf69773 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 0e23f4a..3a3cc60 100644 (file)
@@ -53,7 +53,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
 @@ -3335,6 +3384,7 @@ static const struct board_info __initcon
index 8cfbf09..1e0cc4b 100644 (file)
@@ -58,7 +58,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
 @@ -3872,6 +3926,7 @@ static const struct board_info __initcon
index ecd1e2e..fd3eaca 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 b3a4d34..05e7187 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 10b3102..8c750a1 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 959f190..bd43772 100644 (file)
@@ -92,7 +92,7 @@
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
 @@ -4435,6 +4523,7 @@ static const struct board_info __initcon
index 4a53980..59494a7 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 69685eb..60855df 100644 (file)
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
 @@ -4716,6 +4818,7 @@ static const struct board_info __initcon
index c24de10..a12f915 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 11cee3b..8ee6e98 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