From 6255930f93fb646e71046b7ceca18a8a6c8bc544 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 5 Jun 2012 13:40:41 +0000 Subject: [brcm63xx] fix board patches so that new boards are withing appropriate ifdef Some new board definitions were added within the #ifdef CONFIG_CPU_6338 section while some other were added within #ifdef CONFIG_CPU_6345, fix this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32060 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch') diff --git a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch index 23b6268af..3d00133b6 100644 --- a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch +++ b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -664,6 +664,98 @@ static struct board_info __initdata boar +@@ -663,6 +663,98 @@ static struct board_info __initdata boar }, }; @@ -99,7 +99,7 @@ static struct board_info __initdata board_AGPFS0 = { .name = "AGPF-S0", .expected_cpu_id = 0x6358, -@@ -1227,6 +1319,7 @@ static const struct board_info __initdat +@@ -1226,6 +1318,7 @@ static const struct board_info __initdat &board_96358vw, &board_96358vw2, &board_AGPFS0, @@ -107,3 +107,14 @@ &board_DWVS0, &board_nb4_ser_r0, &board_nb4_ser_r1, +--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h ++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h +@@ -52,7 +52,7 @@ struct board_info { + struct bcm63xx_dsp_platform_data dsp; + + /* GPIO LEDs */ +- struct gpio_led leds[9]; ++ struct gpio_led leds[10]; + + /* Buttons */ + struct gpio_keys_button buttons[4]; -- cgit v1.2.3