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 --- .../linux/brcm63xx/patches-3.3/511-board_V2500V.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch') diff --git a/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch index 96342f79a..419f3a0ae 100644 --- a/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch +++ b/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch @@ -1,11 +1,12 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -320,6 +320,63 @@ static struct board_info __initdata boar +@@ -831,6 +831,63 @@ static struct board_info __initdata boar + }, }, }; - -+ static struct board_info __initdata board_V2500V_BB = { -+ .name = "V2500V_BB", ++ ++static struct board_info __initdata board_V2500V_BB = { ++ .name = "V2500V_BB", + .expected_cpu_id = 0x6348, + + .has_uart0 = 1, @@ -20,9 +21,9 @@ + .enet1 = { + .force_speed_100 = 1, + .force_duplex_full = 1, -+ }, ++ }, + -+ .leds = { ++ .leds = { + { + .name = "power:green", + .gpio = 0, @@ -60,11 +61,10 @@ + }, + }, +}; -+ #endif /* -@@ -1786,6 +1843,7 @@ static const struct board_info __initdat +@@ -1785,6 +1842,7 @@ static const struct board_info __initdat &board_96348_D4PW, &board_spw500v, &board_96348sv, @@ -72,7 +72,7 @@ #endif #ifdef CONFIG_BCM63XX_CPU_6358 -@@ -1912,6 +1970,23 @@ void __init board_prom_init(void) +@@ -1911,6 +1969,23 @@ void __init board_prom_init(void) val &= MPI_CSBASE_BASE_MASK; } boot_addr = (u8 *)KSEG1ADDR(val); -- cgit v1.2.3