diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-06-05 13:40:41 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-06-05 13:40:41 +0000 |
commit | 9f6ef16bdc7b4da0ce9501c08b942df0a86cff0a (patch) | |
tree | 088b2eefa7878020596d936533d189f7a2fd7a9f /target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch | |
parent | 18ad7d53f31918288511d5b7a71ca4be5e7a7aab (diff) | |
download | upstream-9f6ef16bdc7b4da0ce9501c08b942df0a86cff0a.tar.gz upstream-9f6ef16bdc7b4da0ce9501c08b942df0a86cff0a.tar.bz2 upstream-9f6ef16bdc7b4da0ce9501c08b942df0a86cff0a.zip |
[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
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch | 18 |
1 files changed, 9 insertions, 9 deletions
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 96342f79a8..419f3a0ae3 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); |