diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-07-23 12:47:25 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-07-23 12:47:25 +0000 |
commit | 43939c3980bd28d2845a97f12e1fb5883ed36d29 (patch) | |
tree | 716bfce60f728397286b6ec63fdffc82da8d8406 /target/linux/ar71xx/files | |
parent | d6aa8fee47153b598ef5cd6737d66b09d002ec32 (diff) | |
download | upstream-43939c3980bd28d2845a97f12e1fb5883ed36d29.tar.gz upstream-43939c3980bd28d2845a97f12e1fb5883ed36d29.tar.bz2 upstream-43939c3980bd28d2845a97f12e1fb5883ed36d29.zip |
[ar71xx]: add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c | 11 |
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); |