From 2304f5c481117088fee774e1d6074b664a825154 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Sun, 28 Feb 2021 12:21:19 +0100
Subject: [PATCH] ramips-mt7620: remove factory images for Archer C20 v1

Upstream removed the factory images for the Archer C20 v1 as they
potentially brick the device. Remove them from Gluon to avoid build
failures on the next OpenWrt 19.07 bump.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 7d100bc4caaa9463e13f5280fb674a686b61a6e6)
---
 targets/ramips-mt7620 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/targets/ramips-mt7620 b/targets/ramips-mt7620
index ff2e4529a..ff90c0dc7 100644
--- a/targets/ramips-mt7620
+++ b/targets/ramips-mt7620
@@ -42,7 +42,9 @@ device('tp-link-archer-c2-v1', 'tplink_c2-v1', {
 	factory = false,
 })
 
-device('tp-link-archer-c20-v1', 'tplink_c20-v1')
+device('tp-link-archer-c20-v1', 'tplink_c20-v1', {
+	factory = false,
+})
 
 device('tp-link-archer-c20i', 'ArcherC20i')
 
-- 
GitLab