aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-07-23 12:47:25 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-07-23 12:47:25 +0000
commitdc628f2e0870d448313e790398bfaf36850c4702 (patch)
tree2d62e7d3870497ed4ab6e158aba7faead11b9fe3 /target/linux/ar71xx/files/arch
parent039fe23f8ebd0a5bdc7b4aba07f9e7468e2883ff (diff)
downloadupstream-dc628f2e0870d448313e790398bfaf36850c4702.tar.gz
upstream-dc628f2e0870d448313e790398bfaf36850c4702.tar.bz2
upstream-dc628f2e0870d448313e790398bfaf36850c4702.zip
add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41814
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c11
1 files changed, 10 insertions, 1 deletions
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 <juhosg@openwrt.org>
* Copyright (c) 2014 施康成 <tenninjas@tenninjas.ca>
+ * Copyright (c) 2014 Imre Kaloz <kaloz@openwrt.org>
*
* 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);