u-boot/arch/arm/mach-rockchip/resource_hwid.c
.. .. @@ -267,13 +267,8 @@ 267 267 268 268 hwid_init_data(); 269 269 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);277 272 if (!strstr(file->name, DTB_SUFFIX)) 278 273 continue; 279 274