From d8a46ca40ec49e835e70de5b60fc29befa72c4d4 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 6 Jul 2011 10:00:39 +0000 Subject: [PATCH] [brcm63xx] move board_HW553 inside the ifdef ..BCM6358 .. endif block git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27484 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/patches-2.6.39/449-board_hw553.patch | 12 ++++++------ .../brcm63xx/patches-2.6.39/451-board_spw303v.patch | 8 ++++---- .../linux/brcm63xx/patches-3.0/449-board_hw553.patch | 12 ++++++------ .../brcm63xx/patches-3.0/451-board_spw303v.patch | 8 ++++---- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/target/linux/brcm63xx/patches-2.6.39/449-board_hw553.patch b/target/linux/brcm63xx/patches-2.6.39/449-board_hw553.patch index e9ac36600..964f46c76 100644 --- a/target/linux/brcm63xx/patches-2.6.39/449-board_hw553.patch +++ b/target/linux/brcm63xx/patches-2.6.39/449-board_hw553.patch @@ -1,9 +1,10 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1706,6 +1706,81 @@ static struct board_info __initdata boar +@@ -1704,6 +1704,81 @@ static struct board_info __initdata boar + .spis = nb4_spi_devices, + .num_spis = ARRAY_SIZE(nb4_spi_devices), }; - #endif - ++ +static struct board_info __initdata board_HW553 = { + .name = "HW553", + .expected_cpu_id = 0x6358, @@ -78,10 +79,9 @@ + }, + }, +}; -+ + #endif + /* - * all boards - */ @@ -1746,6 +1821,7 @@ static const struct board_info __initdat &board_nb4_ser_r2, &board_nb4_fxc_r1, diff --git a/target/linux/brcm63xx/patches-2.6.39/451-board_spw303v.patch b/target/linux/brcm63xx/patches-2.6.39/451-board_spw303v.patch index 7a5f2feb5..db8d35296 100644 --- a/target/linux/brcm63xx/patches-2.6.39/451-board_spw303v.patch +++ b/target/linux/brcm63xx/patches-2.6.39/451-board_spw303v.patch @@ -1,8 +1,8 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1741,6 +1741,72 @@ static struct board_info __initdata boar - .spis = nb4_spi_devices, - .num_spis = ARRAY_SIZE(nb4_spi_devices), +@@ -1816,6 +1816,72 @@ static struct board_info __initdata boar + }, + }, }; + + /* T-Home Speedport W 303V Typ B */ @@ -72,7 +72,7 @@ +}; #endif - static struct board_info __initdata board_HW553 = { + /* @@ -1860,6 +1926,7 @@ static const struct board_info __initdat &board_nb4_fxc_r1, &board_nb4_fxc_r2, diff --git a/target/linux/brcm63xx/patches-3.0/449-board_hw553.patch b/target/linux/brcm63xx/patches-3.0/449-board_hw553.patch index e9ac36600..964f46c76 100644 --- a/target/linux/brcm63xx/patches-3.0/449-board_hw553.patch +++ b/target/linux/brcm63xx/patches-3.0/449-board_hw553.patch @@ -1,9 +1,10 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1706,6 +1706,81 @@ static struct board_info __initdata boar +@@ -1704,6 +1704,81 @@ static struct board_info __initdata boar + .spis = nb4_spi_devices, + .num_spis = ARRAY_SIZE(nb4_spi_devices), }; - #endif - ++ +static struct board_info __initdata board_HW553 = { + .name = "HW553", + .expected_cpu_id = 0x6358, @@ -78,10 +79,9 @@ + }, + }, +}; -+ + #endif + /* - * all boards - */ @@ -1746,6 +1821,7 @@ static const struct board_info __initdat &board_nb4_ser_r2, &board_nb4_fxc_r1, diff --git a/target/linux/brcm63xx/patches-3.0/451-board_spw303v.patch b/target/linux/brcm63xx/patches-3.0/451-board_spw303v.patch index 7a5f2feb5..db8d35296 100644 --- a/target/linux/brcm63xx/patches-3.0/451-board_spw303v.patch +++ b/target/linux/brcm63xx/patches-3.0/451-board_spw303v.patch @@ -1,8 +1,8 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1741,6 +1741,72 @@ static struct board_info __initdata boar - .spis = nb4_spi_devices, - .num_spis = ARRAY_SIZE(nb4_spi_devices), +@@ -1816,6 +1816,72 @@ static struct board_info __initdata boar + }, + }, }; + + /* T-Home Speedport W 303V Typ B */ @@ -72,7 +72,7 @@ +}; #endif - static struct board_info __initdata board_HW553 = { + /* @@ -1860,6 +1926,7 @@ static const struct board_info __initdat &board_nb4_fxc_r1, &board_nb4_fxc_r2, -- 2.20.1