--- /dev/null
+--- 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
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
/*
@@ -729,6 +779,7 @@ static const struct board_info __initcon
+ .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
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
/*
@@ -1377,6 +1411,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
/*
@@ -1573,6 +1634,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
/*
@@ -1743,6 +1815,7 @@ static const struct board_info __initcon
+ .pci_dev = 1,
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
/*
@@ -1830,6 +1907,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6338 */
/*
@@ -1875,6 +1914,7 @@ static const struct board_info __initcon
+ },
+ }
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
/*
@@ -1948,6 +2014,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
/*
@@ -1999,6 +2058,7 @@ static const struct board_info __initcon
--- 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
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+};
-+#endif
++#endif /* CONFIG_BCM63XX_CPU_6368 */
+
+/*
* all boards
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6368 */
/*
@@ -2380,6 +2446,7 @@ static const struct board_info __initcon
+
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6328 */
/*
@@ -2429,6 +2499,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6328 */
/*
@@ -2500,6 +2605,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6358 */
/*
@@ -2830,6 +2897,7 @@ static const struct board_info __initcon
#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
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -3335,6 +3384,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -3872,6 +3926,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6328 */
/*
@@ -3916,6 +4032,7 @@ static const struct board_info __initcon
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6362 */
/*
@@ -4092,6 +4182,7 @@ static const struct board_info __initcon
--- 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
+ },
+ },
+};
-+#endif
++#endif /* CONFIG_BCM63XX_CPU_6318 */
+
+/*
* known 6328 boards
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -4435,6 +4523,7 @@ static const struct board_info __initcon
--- 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
+ },
+ },
+};
-+#endif
++#endif /* CONFIG_BCM63XX_CPU_63268 */
+
+/*
* all boards
+ },
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_63268 */
/*
@@ -4716,6 +4818,7 @@ static const struct board_info __initcon
+ .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
+ .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups),
+ },
+};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -5426,6 +5561,7 @@ static const struct board_info __initcon