diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-11-22 12:25:52 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-11-22 12:25:52 +0000 |
commit | 2bab3e27962b39ef966e0612900fbe185b106241 (patch) | |
tree | 17ff141c285c8cec5b1b03447415f887e2ccae71 /target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch | |
parent | f80596c9df0be69a4a05398ffd2c32a82ebb98f1 (diff) | |
download | upstream-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/566-board_A4001N.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch index 082d6350e0..2873c53f31 100644 --- a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch @@ -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, @@ -105,3 +104,11 @@ &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, }, |