2012-09-09 17:05:22 +03:00
|
|
|
--- a/arch/mips/ath79/Kconfig
|
|
|
|
+++ b/arch/mips/ath79/Kconfig
|
2012-09-09 17:05:28 +03:00
|
|
|
@@ -334,6 +334,11 @@ config ATH79_MACH_RB750
|
2012-09-09 17:05:22 +03:00
|
|
|
select ATH79_DEV_USB
|
2012-09-09 17:05:28 +03:00
|
|
|
select RLE_DECOMPRESS
|
2012-09-09 17:05:22 +03:00
|
|
|
|
|
|
|
+config ATH79_MACH_RB2011
|
|
|
|
+ bool "MikroTik RouterBOARD 2011 support"
|
|
|
|
+ select SOC_AR934x
|
|
|
|
+ select ATH79_DEV_ETH
|
|
|
|
+
|
|
|
|
config ATH79_MACH_WNDR3700
|
|
|
|
bool "NETGEAR WNDR3700 board support"
|
|
|
|
select SOC_AR71XX
|
|
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
|
|
+++ b/arch/mips/ath79/machtypes.h
|
|
|
|
@@ -61,6 +61,7 @@ enum ath79_mach_type {
|
|
|
|
ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
|
|
|
|
ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
|
|
|
|
ATH79_MACH_RB_751G, /* Mikrotik RouterBOARD 751G */
|
|
|
|
+ ATH79_MACH_RB_2011L, /* Mikrotik RouterBOARD 2011L */
|
|
|
|
ATH79_MACH_RW2458N, /* Redwave RW2458N */
|
|
|
|
ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
|
|
|
|
ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
|
2012-09-09 17:05:28 +03:00
|
|
|
--- a/arch/mips/ath79/Makefile
|
|
|
|
+++ b/arch/mips/ath79/Makefile
|
|
|
|
@@ -66,6 +66,7 @@ obj-$(CONFIG_ATH79_MACH_PB44) += mach-p
|
2012-09-09 17:05:22 +03:00
|
|
|
obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
|
|
|
|
+obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
|
2012-09-09 17:05:28 +03:00
|
|
|
--- a/arch/mips/ath79/prom.c
|
|
|
|
+++ b/arch/mips/ath79/prom.c
|
2012-09-09 17:05:22 +03:00
|
|
|
@@ -181,7 +181,8 @@ void __init prom_init(void)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (strstr(arcs_cmdline, "board=750Gr3"))
|
|
|
|
+ if (strstr(arcs_cmdline, "board=750Gr3") ||
|
|
|
|
+ strstr(arcs_cmdline, "board=2011L"))
|
|
|
|
ath79_prom_append_cmdline("console", "ttyS0,115200");
|
|
|
|
}
|
|
|
|
|