ar71xx: enable console on the RB91x boards

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

SVN-Revision: 40505
This commit is contained in:
Gabor Juhos 2014-04-13 20:41:42 +00:00
parent 010dcd092f
commit 6a0f8ea201

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");
}