aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
commit8a2e4b49dee0cb5289581375929147e9d72c7b9b (patch)
treed56b58aeea3726df44f88e0a59bbc1404d4c9fb6 /target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch
parentd19f3dd5121927747d3f56a0939db9a17bf8fc6b (diff)
downloadupstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.gz
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.bz2
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.zip
ar71xx: add initial support for RB750GL
SVN-Revision: 31025
Diffstat (limited to 'target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch')
-rw-r--r--target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch b/target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch
new file mode 100644
index 0000000000..7066125170
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch
@@ -0,0 +1,22 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -51,6 +51,7 @@ enum ath79_mach_type {
+ ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
+ ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
+ ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
++ ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
+ ATH79_MACH_RW2458N, /* Redwave RW2458N */
+ ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
+ ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
+--- a/arch/mips/ath79/prom.c
++++ b/arch/mips/ath79/prom.c
+@@ -180,6 +180,9 @@ void __init prom_init(void)
+ ath79_prom_append_cmdline("board", env);
+ }
+ }
++
++ if (strstr(arcs_cmdline, "board=750Gr3"))
++ ath79_prom_append_cmdline("console", "ttyS0,115200");
+ }
+
+ void __init prom_free_prom_memory(void)