aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-11-13 19:19:18 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-11-13 19:19:18 +0000
commit5dc2098448bbdb16d8fa7eb203d3e6b8dc57dd6b (patch)
tree4b9fbf386b6ed9d90f20c0c98ac7a76395b7de61 /target
parent56a96ba876649a50529a4591aceee784daae1770 (diff)
downloadupstream-5dc2098448bbdb16d8fa7eb203d3e6b8dc57dd6b.tar.gz
upstream-5dc2098448bbdb16d8fa7eb203d3e6b8dc57dd6b.tar.bz2
upstream-5dc2098448bbdb16d8fa7eb203d3e6b8dc57dd6b.zip
register uart0 on DWV-S0 boards (#10409)
SVN-Revision: 29044
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_fixes.patch11
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_fixes.patch11
-rw-r--r--target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.1/456-board_DWV-S0_fixes.patch11
-rw-r--r--target/linux/brcm63xx/patches-3.1/977-ssb_export_fallback_sprom.patch4
7 files changed, 38 insertions, 11 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_fixes.patch b/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_fixes.patch
index 76ffa1ec97..9937d6739c 100644
--- a/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_fixes.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_fixes.patch
@@ -1,6 +1,15 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1347,6 +1347,7 @@ static struct board_info __initdata boar
+@@ -1332,6 +1332,8 @@ static struct board_info __initdata boar
+ .name = "DWV-S0",
+ .expected_cpu_id = 0x6358,
+
++ .has_uart0 = 1,
++
+ .has_enet0 = 1,
+ .has_enet1 = 1,
+ .has_pci = 1,
+@@ -1347,6 +1349,7 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
diff --git a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
index 1ac6f1ae54..9c4606e258 100644
--- a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2131,6 +2131,17 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2133,6 +2133,17 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
@@ -18,7 +18,7 @@
#endif
/*
-@@ -2400,8 +2411,9 @@ int __init board_register_devices(void)
+@@ -2402,8 +2413,9 @@ int __init board_register_devices(void)
if (!board_get_mac_address(bcm63xx_sprom.il0mac)) {
memcpy(bcm63xx_sprom.et0mac, bcm63xx_sprom.il0mac, ETH_ALEN);
memcpy(bcm63xx_sprom.et1mac, bcm63xx_sprom.il0mac, ETH_ALEN);
diff --git a/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
index efedd2401f..8f26d8bc0a 100644
--- a/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2111,7 +2111,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2113,7 +2113,7 @@ static void __init nb4_nvram_fixup(void)
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2133,6 +2133,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
diff --git a/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_fixes.patch b/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_fixes.patch
index 76ffa1ec97..9937d6739c 100644
--- a/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_fixes.patch
+++ b/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_fixes.patch
@@ -1,6 +1,15 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1347,6 +1347,7 @@ static struct board_info __initdata boar
+@@ -1332,6 +1332,8 @@ static struct board_info __initdata boar
+ .name = "DWV-S0",
+ .expected_cpu_id = 0x6358,
+
++ .has_uart0 = 1,
++
+ .has_enet0 = 1,
+ .has_enet1 = 1,
+ .has_pci = 1,
+@@ -1347,6 +1349,7 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
index efedd2401f..8f26d8bc0a 100644
--- a/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2111,7 +2111,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2113,7 +2113,7 @@ static void __init nb4_nvram_fixup(void)
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2133,6 +2133,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
diff --git a/target/linux/brcm63xx/patches-3.1/456-board_DWV-S0_fixes.patch b/target/linux/brcm63xx/patches-3.1/456-board_DWV-S0_fixes.patch
index 76ffa1ec97..9937d6739c 100644
--- a/target/linux/brcm63xx/patches-3.1/456-board_DWV-S0_fixes.patch
+++ b/target/linux/brcm63xx/patches-3.1/456-board_DWV-S0_fixes.patch
@@ -1,6 +1,15 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1347,6 +1347,7 @@ static struct board_info __initdata boar
+@@ -1332,6 +1332,8 @@ static struct board_info __initdata boar
+ .name = "DWV-S0",
+ .expected_cpu_id = 0x6358,
+
++ .has_uart0 = 1,
++
+ .has_enet0 = 1,
+ .has_enet1 = 1,
+ .has_pci = 1,
+@@ -1347,6 +1349,7 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
diff --git a/target/linux/brcm63xx/patches-3.1/977-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.1/977-ssb_export_fallback_sprom.patch
index efedd2401f..8f26d8bc0a 100644
--- a/target/linux/brcm63xx/patches-3.1/977-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-3.1/977-ssb_export_fallback_sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2111,7 +2111,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2113,7 +2113,7 @@ static void __init nb4_nvram_fixup(void)
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2133,6 +2133,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};