From 37c5bb66ffbb79036ae454caafa3572b00b6db11 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 22 Nov 2014 12:25:52 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43341 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch') 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, }, -- cgit v1.2.3