aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-07-31 21:03:37 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-16 12:57:05 +0100
commitaba4e29eadfb82ef7f52f85cdb4cd10a4abad622 (patch)
tree623fbf65cee966aed29b170859a92efa099552e2 /target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
parenta3384088a212cb1458746624f016f93ff98135f3 (diff)
downloadupstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.gz
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.bz2
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.zip
brcm63xx: register serial through device tree
Register serial consoles through device tree instead of through board data. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch b/target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
index a9847c1b7b..c6bc4ec2de 100644
--- a/target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
+++ b/target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -568,6 +568,45 @@ static struct board_info __initdata boar
+@@ -340,6 +340,44 @@ static struct board_info __initdata boar
.force_duplex_full = 1,
},
};
@@ -17,7 +17,6 @@
+ .name = "SPW500V",
+ .expected_cpu_id = 0x6348,
+
-+ .has_uart0 = 1,
+ .has_enet0 = 1,
+ .has_pci = 1,
+ .use_fallback_sprom = 1,
@@ -46,7 +45,7 @@
#endif /* CONFIG_BCM63XX_CPU_6348 */
/*
-@@ -852,6 +891,7 @@ static const struct board_info __initcon
+@@ -567,6 +605,7 @@ static const struct board_info __initcon
&board_96348gw_a,
&board_rta1025w_16,
&board_96348_D4PW,
@@ -54,7 +53,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
-@@ -893,6 +933,7 @@ static struct of_device_id const bcm963x
+@@ -608,6 +647,7 @@ static struct of_device_id const bcm963x
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
{ .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },