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/526-board_CT6373-1.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/526-board_CT6373-1.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch b/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch index 5fdb974b59..b694b9b078 100644 --- a/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch +++ b/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch @@ -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, @@ -138,8 +137,8 @@ + 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, @@ -147,3 +146,11 @@ &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, }, |