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 | 37c5bb66ffbb79036ae454caafa3572b00b6db11 (patch) | |
tree | 70b85f5abc54149ddaf466c78465e1a7e538df72 /target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch | |
parent | e2cc653b5c9e5df1b88bdeb62aeefff80dbf3ac7 (diff) | |
download | master-187ad058-37c5bb66ffbb79036ae454caafa3572b00b6db11.tar.gz master-187ad058-37c5bb66ffbb79036ae454caafa3572b00b6db11.tar.bz2 master-187ad058-37c5bb66ffbb79036ae454caafa3572b00b6db11.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43341 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch b/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch index 4acca5236f..fd15650648 100644 --- a/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch +++ b/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -166,6 +166,92 @@ static struct board_info __initdata boar +@@ -164,6 +164,91 @@ static struct board_info __initdata boar }, }; @@ -15,7 +15,6 @@ + +static struct board_info __initdata board_AR5381u = { + .name = "96328A-1241N", -+ .of_board_id = "comtrend,ar-5381u", + .expected_cpu_id = 0x6328, + + .has_uart0 = 1, @@ -93,7 +92,7 @@ static struct sprom_fixup __initdata ar5387un_fixups[] = { { .offset = 2, .value = 0x05bb }, { .offset = 65, .value = 0x1204 }, -@@ -2946,6 +3032,7 @@ static const struct board_info __initcon +@@ -2912,6 +2997,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, @@ -101,3 +100,11 @@ &board_AR5387un, &board_963281TAN, &board_A4001N1, +@@ -2983,6 +3069,7 @@ static struct of_device_id const bcm963x + { .compatible = "adb,a4001n1", .data = &board_A4001N1, }, + { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, }, + { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, }, ++ { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, }, + { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, }, + #endif + #ifdef CONFIG_BCM63XX_CPU_6338 |