ar71xx: enable console on the RB91x boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40505 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2014-04-13 20:41:42 +00:00
parent b7957c0e8f
commit c222d6e2b5
1 changed files with 3 additions and 2 deletions

View File

@ -1151,14 +1151,15 @@
+obj-$(CONFIG_ATH79_MACH_CARAMBOLA2) += mach-carambola2.o
--- a/arch/mips/ath79/prom.c
+++ b/arch/mips/ath79/prom.c
@@ -180,6 +180,11 @@ void __init prom_init(void)
@@ -180,6 +180,12 @@ void __init prom_init(void)
ath79_prom_append_cmdline("board", env);
}
}
+
+ if (strstr(arcs_cmdline, "board=750Gr3") ||
+ strstr(arcs_cmdline, "board=951G") ||
+ strstr(arcs_cmdline, "board=2011L"))
+ strstr(arcs_cmdline, "board=2011L") ||
+ strstr(arcs_cmdline, "board=711Gr100"))
+ ath79_prom_append_cmdline("console", "ttyS0,115200");
}