From e3dc036cbf53bb4c2538b619f986cc3cd2aabc87 Mon Sep 17 00:00:00 2001 From: Thibaut VARENE Date: Mon, 6 Mar 2017 23:06:13 +0100 Subject: ar71xx: add support for RB LHG 5nD This patch adds support for the MikroTik RouterBOARD LHG 5 https://routerboard.com/RBLHG-5nD Specifications: - SoC: Atheros AR9344 (600MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin AR9344 5GHz, 2x2:2 - Ethernet: 1x100M Initial flash via initramfs, like all other RB devices. Signed-off-by: Thibaut VARENE --- .../ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch') diff --git a/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch b/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch index ae65dff1d8..545de81416 100644 --- a/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch +++ b/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/prom.c +++ b/arch/mips/ath79/prom.c -@@ -136,6 +136,25 @@ void __init prom_init(void) +@@ -136,6 +136,26 @@ void __init prom_init(void) initrd_end = initrd_start + fw_getenvl("initrd_size"); } #endif @@ -17,6 +17,7 @@ + strstr(arcs_cmdline, "board=H951L") || + strstr(arcs_cmdline, "board=952-hb") || + strstr(arcs_cmdline, "board=953gs") || ++ strstr(arcs_cmdline, "board=lhg") || + strstr(arcs_cmdline, "board=map-hb") || + strstr(arcs_cmdline, "board=2011L") || + strstr(arcs_cmdline, "board=2011r") || -- cgit v1.2.3