From 844f1a8665879a4df7e6a6c2cf792d3edb9850a0 Mon Sep 17 00:00:00 2001
From: "aiyion.prime" <git@aiyionpri.me>
Date: Sun, 10 Jul 2022 21:38:42 +0200
Subject: [PATCH] ath79-generic: add WNR2200-16M

The CN/RU variant of the device has the same hardware
as the EU already supported, but contains a 16M flash chip.
---
 docs/user/supported_devices.rst | 2 +-
 targets/ath79-generic           | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 523b5ce4b..206463cd4 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -51,7 +51,7 @@ ath79-generic
 * Netgear
 
   - WNDR3700 (v1, v2)
-  - WNR2200 (8M)
+  - WNR2200 (8M, 16M)
 
 * OCEDO
 
diff --git a/targets/ath79-generic b/targets/ath79-generic
index bf400e0c5..e22ef9836 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -156,6 +156,10 @@ device('netgear-wnr2200-8m', 'netgear_wnr2200-8m', {
 	factory_ext = '.img',
 })
 
+device('netgear-wnr2200-16m', 'netgear_wnr2200-16m', {
+	factory_ext = '.img',
+})
+
 
 -- OCEDO
 
-- 
GitLab