70661251703e914ec2c8e686af3ce513b5e3bbe0
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 613-MIPS-ath79-RB750GL-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -51,6 +51,7 @@ enum ath79_mach_type {
4 ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
5 ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
6 ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
7 + ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
8 ATH79_MACH_RW2458N, /* Redwave RW2458N */
9 ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
10 ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
11 --- a/arch/mips/ath79/prom.c
12 +++ b/arch/mips/ath79/prom.c
13 @@ -180,6 +180,9 @@ void __init prom_init(void)
14 ath79_prom_append_cmdline("board", env);
15 }
16 }
17 +
18 + if (strstr(arcs_cmdline, "board=750Gr3"))
19 + ath79_prom_append_cmdline("console", "ttyS0,115200");
20 }
21
22 void __init prom_free_prom_memory(void)