From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file
---
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