From dc628f2e0870d448313e790398bfaf36850c4702 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 23 Jul 2014 12:47:25 +0000 Subject: add support for the archer c5 Signed-off-by: Imre Kaloz SVN-Revision: 41814 --- target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c') diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c index 01719eb5b5..fc1251303e 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c @@ -1,8 +1,9 @@ /* - * TP-LINK Archer C7/TL-WDR4900 v2 board support + * TP-LINK Archer C5/C7/TL-WDR4900 v2 board support * * Copyright (c) 2013 Gabor Juhos * Copyright (c) 2014 施康成 + * Copyright (c) 2014 Imre Kaloz * * Based on the Qualcomm Atheros AP135/AP136 reference board support code * Copyright (c) 2012 Qualcomm Atheros @@ -239,6 +240,14 @@ static void __init common_setup(bool pcie_slot) ath79_register_usb(); } +static void __init archer_c5_setup(void) +{ + common_setup(true); +} + +MIPS_MACHINE(ATH79_MACH_ARCHER_C5, "ARCHER-C5", "TP-LINK Archer C5", + archer_c5_setup); + static void __init archer_c7_setup(void) { common_setup(true); -- cgit v1.2.3