mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
brcm63xx: make board patch context less ambiguous
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
This commit is contained in:
parent
a06013e9b7
commit
97d0ed4faa
@ -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
|
@ -54,7 +54,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6348 */
|
||||
|
||||
/*
|
||||
@@ -729,6 +779,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -38,7 +38,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6338 */
|
||||
|
||||
/*
|
||||
@@ -1377,6 +1411,7 @@ static const struct board_info __initcon
|
||||
|
@ -65,7 +65,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6348 */
|
||||
|
||||
/*
|
||||
@@ -1573,6 +1634,7 @@ static const struct board_info __initcon
|
||||
|
@ -76,7 +76,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6348 */
|
||||
|
||||
/*
|
||||
@@ -1743,6 +1815,7 @@ static const struct board_info __initcon
|
||||
|
@ -81,7 +81,7 @@
|
||||
+ .pci_dev = 1,
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6358 */
|
||||
|
||||
/*
|
||||
@@ -1830,6 +1907,7 @@ static const struct board_info __initcon
|
||||
|
@ -43,7 +43,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6338 */
|
||||
|
||||
/*
|
||||
@@ -1875,6 +1914,7 @@ static const struct board_info __initcon
|
||||
|
@ -70,7 +70,7 @@
|
||||
+ },
|
||||
+ }
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6358 */
|
||||
|
||||
/*
|
||||
@@ -1948,6 +2014,7 @@ static const struct board_info __initcon
|
||||
|
@ -63,7 +63,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6348 */
|
||||
|
||||
/*
|
||||
@@ -1999,6 +2058,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -71,7 +71,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6358 */
|
||||
|
||||
/*
|
||||
@@ -2830,6 +2897,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -53,7 +53,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6345 */
|
||||
|
||||
/*
|
||||
@@ -3335,6 +3384,7 @@ static const struct board_info __initcon
|
||||
|
@ -58,7 +58,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6345 */
|
||||
|
||||
/*
|
||||
@@ -3872,6 +3926,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -92,7 +92,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_6318 */
|
||||
|
||||
/*
|
||||
@@ -4435,6 +4523,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -106,7 +106,7 @@
|
||||
+ },
|
||||
+ },
|
||||
+};
|
||||
#endif
|
||||
#endif /* CONFIG_BCM63XX_CPU_63268 */
|
||||
|
||||
/*
|
||||
@@ -4716,6 +4818,7 @@ static const struct board_info __initcon
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user