1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[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
This commit is contained in:
florian
2012-06-05 13:40:41 +00:00
parent c7d60bd0db
commit 6255930f93
39 changed files with 133 additions and 111 deletions

View File

@@ -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);