brcm63xx: move board compatible strings into a table
[openwrt/staging/yousong.git] / target / linux / brcm63xx / patches-3.14 / 566-board_A4001N.patch
index 082d6350e01b0cf3ae2388f462750c7a3e51a969..2873c53f31c79aced78f862781a23750df017d49 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -610,6 +610,96 @@ static struct board_info __initdata boar
+@@ -605,6 +605,95 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_A4001N = {
 +      .name                           = "96328dg2x2",
-+      .of_board_id                    = "adb,a4001n",
 +      .expected_cpu_id                = 0x6328,
 +
 +      .has_uart0                      = 1,
@@ -96,8 +95,8 @@
 +
  static struct board_info __initdata board_A4001N1 = {
        .name                                   = "963281T_TEF",
-       .of_board_id                    = "adb,a4001n1",
-@@ -4973,6 +5063,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                        = 0x6328,
+@@ -4929,6 +5018,7 @@ static const struct board_info __initcon
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
+@@ -5013,6 +5103,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
++      { .compatible = "adb,a4001n", .data = &board_A4001N, },
+       { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
+       { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
+       { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },