From 694b6e493dd507f0b8a6516ae58c0be3f89ed8aa Mon Sep 17 00:00:00 2001
From: Martin Weinelt <martin@darmstadt.freifunk.net>
Date: Mon, 9 Mar 2020 15:32:00 +0100
Subject: [PATCH] lantiq-xrx200: disable factory image for tl-w{8970,8980}

There is no factory image, they are flashed using the sysupgrade image.
---
 targets/lantiq-xrx200 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/targets/lantiq-xrx200 b/targets/lantiq-xrx200
index d797f59f5..60d2f9ca5 100644
--- a/targets/lantiq-xrx200
+++ b/targets/lantiq-xrx200
@@ -18,9 +18,12 @@ device('avm-fritz-box-7412', 'avm_fritz7412', {
   --         used as WAN ports. Clients connected to these
   --         ports will be connected to your private network.
 
-device('tp-link-td-w8970', 'tplink_tdw8970')
+device('tp-link-td-w8970', 'tplink_tdw8970', {
+	factory = false,
+})
 
 device('tp-link-td-w8980', 'tplink_tdw8980', {
+	factory = false,
 	aliases = {'tp-link-td-w9980'},
 	broken = true, -- 5GHz unsupported
 })
-- 
GitLab