From bed66fa24856057eadd252eef8144df1c894112f Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 15 Apr 2020 23:57:14 +0200 Subject: [PATCH] ath79: move GL.iNet GL-AR750S to NAND subtarget --- docs/user/supported_devices.rst | 8 +++++++- targets/ath79-generic | 5 ----- targets/ath79-nand | 13 +++++++++++++ targets/targets.mk | 1 + 4 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 targets/ath79-nand diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 5dd0ae6f..2cd5437b 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -197,7 +197,6 @@ ath79-generic * GL.iNet - GL-AR300M-Lite - - GL-AR750S * OCEDO @@ -213,6 +212,13 @@ ath79-generic - Archer C6 (v2) - CPE220 (v3.0) +ath79-nand +---------- + +* GL.iNet + + - GL-AR750S + brcm2708-bcm2708 ---------------- diff --git a/targets/ath79-generic b/targets/ath79-generic index 5537a7ea..f2c1a952 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -60,11 +60,6 @@ device('gl.inet-gl-ar300m-lite', 'glinet_gl-ar300m-lite', { factory = false, }) -device('gl.inet-gl-ar750s-nor', 'glinet_gl-ar750s', { - factory = false, - packages = ATH10K_PACKAGES_QCA9887, -}) - -- OCEDO device('ocedo-raccoon', 'ocedo_raccoon', { diff --git a/targets/ath79-nand b/targets/ath79-nand new file mode 100644 index 00000000..5fe844ea --- /dev/null +++ b/targets/ath79-nand @@ -0,0 +1,13 @@ +local ATH10K_PACKAGES_QCA9887 = { + 'kmod-ath10k', + '-kmod-ath10k-ct', + '-kmod-ath10k-ct-smallbuffers', + 'ath10k-firmware-qca9887', + '-ath10k-firmware-qca9887-ct', +} + + +device('gl.inet-gl-ar750s-nor', 'glinet_gl-ar750s-nor', { + factory = false, + packages = ATH10K_PACKAGES_QCA9887, +}) diff --git a/targets/targets.mk b/targets/targets.mk index 956b66e3..c805e4e3 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -4,6 +4,7 @@ $(eval $(call GluonTarget,ar71xx,tiny)) endif $(eval $(call GluonTarget,ar71xx,nand)) $(eval $(call GluonTarget,ath79,generic)) +$(eval $(call GluonTarget,ath79,nand)) $(eval $(call GluonTarget,bcm27xx,bcm2708)) $(eval $(call GluonTarget,bcm27xx,bcm2709)) $(eval $(call GluonTarget,ipq40xx,generic))