forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
u-boot/arch/arm/mach-rockchip/resource_hwid.c
....@@ -267,13 +267,8 @@
267267
268268 hwid_init_data();
269269
270
- if (list_empty(&entrys_head)) {
271
- if (resource_init_list())
272
- return NULL;
273
- }
274
-
275
- list_for_each(node, &entrys_dtbs_head) {
276
- file = list_entry(node, struct resource_file, dtbs);
270
+ list_for_each(node, &entry_head) {
271
+ file = list_entry(node, struct resource_file, link);
277272 if (!strstr(file->name, DTB_SUFFIX))
278273 continue;
279274