Skip to content
Snippets Groups Projects
Commit d7fd1a0f authored by David Varga's avatar David Varga Committed by Mathias Kresin
Browse files

ar71xx: enable serial console on Mikrotik RB411/RB433


This patch adds support for serial console on Mikrotik RB411 and RB433
series devices.

Signed-off-by: default avatarDavid Varga <duvi@duvinet.hu>
[picked from FS#377]
Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
parent 287283e6
No related branches found
No related tags found
No related merge requests found
--- a/arch/mips/ath79/prom.c --- a/arch/mips/ath79/prom.c
+++ b/arch/mips/ath79/prom.c +++ b/arch/mips/ath79/prom.c
@@ -136,6 +136,16 @@ void __init prom_init(void) @@ -136,6 +136,18 @@ void __init prom_init(void)
initrd_end = initrd_start + fw_getenvl("initrd_size"); initrd_end = initrd_start + fw_getenvl("initrd_size");
} }
#endif #endif
+ +
+ if (strstr(arcs_cmdline, "board=750Gr3") || + if (strstr(arcs_cmdline, "board=750Gr3") ||
+ strstr(arcs_cmdline, "board=750i") || + strstr(arcs_cmdline, "board=750i") ||
+ strstr(arcs_cmdline, "board=411") ||
+ strstr(arcs_cmdline, "board=433") ||
+ strstr(arcs_cmdline, "board=450") || + strstr(arcs_cmdline, "board=450") ||
+ strstr(arcs_cmdline, "board=493") || + strstr(arcs_cmdline, "board=493") ||
+ strstr(arcs_cmdline, "board=951G") || + strstr(arcs_cmdline, "board=951G") ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment