From 81a643476bb0ff5fc24091eef6561db8b9d3d0be Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Fri, 14 Oct 2022 23:19:19 +0200
Subject: [PATCH] mpc85xx-p1010: re-enable TP-Link WDR4900

Upstream added a standalone SPI kernel-loader which fixes the unbootable
image for the WDR4900. Thus, we can re-introduce this device to Gluon.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 301443da0237cab1a64f75a6624a6fc7d41d5623)
---
 docs/user/supported_devices.rst | 4 ++++
 targets/mpc85xx-p1010           | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index bd7ed5323..3e7ab5e2c 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -270,6 +270,10 @@ mpc85xx-p1010
 
   - RED 15w Rev.1
 
+* TP-Link
+
+  - WDR4900
+
 mpc85xx-p1020
 ---------------
 
diff --git a/targets/mpc85xx-p1010 b/targets/mpc85xx-p1010
index eaf77294a..1667509b6 100644
--- a/targets/mpc85xx-p1010
+++ b/targets/mpc85xx-p1010
@@ -5,3 +5,7 @@ device('sophos-red-15w-rev.1', 'sophos_red-15w-rev1', {
 })
 
 
+-- TP-Link
+
+device('tp-link-tl-wdr4900-v1', 'tplink_tl-wdr4900-v1')
+
-- 
GitLab