brcm63xx: use dtb board detection for neufbox 4
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / patches-3.14 / 505-board_spw500v.patch
index e9fc8419e243ac3f6361b87cca863b06ed895a45..066ba30cb8f0513f3427fa3dd9e9e213e160c3b1 100644 (file)
@@ -1,12 +1,13 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -635,6 +635,67 @@ static struct board_info __initdata boar
+@@ -657,6 +657,68 @@ static struct board_info __initdata boar
                },
        },
  };
 +
 +static struct board_info __initdata board_spw500v = {
 +      .name                           = "SPW500V",
++      .of_board_id                    = "t-com,spw500v",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
 +              },
 +      },
 +};
- #endif
+ #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -1561,6 +1622,7 @@ static const struct board_info __initcon
+@@ -1256,6 +1318,7 @@ static const struct board_info __initcon
        &board_96348gw_a,
        &board_rta1025w_16,
        &board_96348_D4PW,