summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-05 13:40:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-05 13:40:41 +0000
commit9a61b249c5a355ce95747200302e353a0d30bea0 (patch)
treeb778ea6d1bec2bd758297e0f879b5cb3bc0b4191 /target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch
parent5ec22097344e7f57a1b0e9332dd87051627cea18 (diff)
downloadmtk-20170518-9a61b249c5a355ce95747200302e353a0d30bea0.zip
mtk-20170518-9a61b249c5a355ce95747200302e353a0d30bea0.tar.gz
mtk-20170518-9a61b249c5a355ce95747200302e353a0d30bea0.tar.bz2
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 SVN-Revision: 32060
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.patch18
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 96342f7..419f3a0 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);