From 071106ecf68c401173c58808b1cf5f68cc50d390 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 05 Jan 2024 08:39:27 +0000
Subject: [PATCH] change wifi driver to cypress

---
 u-boot/arch/arm/mach-rockchip/resource_hwid.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/u-boot/arch/arm/mach-rockchip/resource_hwid.c b/u-boot/arch/arm/mach-rockchip/resource_hwid.c
index 200160b..81e9b20 100644
--- a/u-boot/arch/arm/mach-rockchip/resource_hwid.c
+++ b/u-boot/arch/arm/mach-rockchip/resource_hwid.c
@@ -267,13 +267,8 @@
 
 	hwid_init_data();
 
-	if (list_empty(&entrys_head)) {
-		if (resource_init_list())
-			return NULL;
-	}
-
-	list_for_each(node, &entrys_dtbs_head) {
-		file = list_entry(node, struct resource_file, dtbs);
+	list_for_each(node, &entry_head) {
+		file = list_entry(node, struct resource_file, link);
 		if (!strstr(file->name, DTB_SUFFIX))
 			continue;
 

--
Gitblit v1.6.2