brcm63xx: move board compatible strings into a table
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 526-board_CT6373-1.patch
index 5fdb974..b694b9b 100644 (file)
@@ -13,7 +13,7 @@
  /*
   * known 3368 boards
   */
-@@ -2061,6 +2067,125 @@ static struct board_info __initdata boar
+@@ -2035,6 +2041,124 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
@@ -58,7 +58,6 @@
 +
 +static struct board_info __initdata board_ct6373_1 = {
 +      .name                           = "CT6373-1",
-+      .of_board_id            = "comtrend,ct-6373",
 +      .expected_cpu_id        = 0x6358,
 +
 +      .has_uart0                      = 1,
 +
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
-       .of_board_id                                    = "huawei,hg553",
-@@ -2405,6 +2530,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6358,
+@@ -2376,6 +2500,7 @@ static const struct board_info __initcon
        &board_dsl_274xb_rev_c,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_HW553,
        &board_spw303v,
  #endif
+@@ -2419,6 +2544,7 @@ static struct of_device_id const bcm963x
+ #ifdef CONFIG_BCM63XX_CPU_6358
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
+       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
++      { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
+       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
+       { .compatible = "huawei,hg553", .data = &board_HW553, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },