aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-11-22 12:25:52 +0000
committerJonas Gorski <jogo@openwrt.org>2014-11-22 12:25:52 +0000
commit2bab3e27962b39ef966e0612900fbe185b106241 (patch)
tree17ff141c285c8cec5b1b03447415f887e2ccae71 /target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
parentf80596c9df0be69a4a05398ffd2c32a82ebb98f1 (diff)
downloadupstream-2bab3e27962b39ef966e0612900fbe185b106241.tar.gz
upstream-2bab3e27962b39ef966e0612900fbe185b106241.tar.bz2
upstream-2bab3e27962b39ef966e0612900fbe185b106241.zip
brcm63xx: move board compatible strings into a table
Move compatible strings from board structs into separate table. This allows for several board compatibles to match to the same board in case e.g. only the flash size / partitions differ. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43341
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch13
1 files changed, 10 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch b/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
index fbc32dc03e..808784269d 100644
--- a/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
+++ b/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
@@ -1,12 +1,11 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -237,6 +237,134 @@ static struct board_info __initdata boar
+@@ -234,6 +234,133 @@ static struct board_info __initdata boar
},
};
+static struct board_info __initdata board_A4001N1 = {
+ .name = "963281T_TEF",
-+ .of_board_id = "adb,a4001n1",
+ .expected_cpu_id = 0x6328,
+
+ .has_uart0 = 1,
@@ -135,7 +134,7 @@
static struct board_info __initdata board_dsl_274xb_f1 = {
.name = "AW4339U",
.expected_cpu_id = 0x6328,
-@@ -2709,6 +2837,7 @@ static const struct board_info __initcon
+@@ -2677,6 +2804,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
&board_963281TAN,
@@ -143,3 +142,11 @@
&board_dsl_274xb_f1,
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
+@@ -2742,6 +2870,7 @@ static struct of_device_id const bcm963x
+ { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
++ { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
+ { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
+ { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
+ #endif