| 71 | } |
| 72 | |
| 73 | static struct fit_image_node *find_image(const char *name) |
| 74 | { |
| 75 | struct fit_image_node *image; |
| 76 | list_for_each(image, image_nodes, list_node) { |
| 77 | if (!strcmp(image->name, name)) |
| 78 | return image; |
| 79 | } |
| 80 | printk(BIOS_ERR, "Cannot find image node %s!\n", name); |
| 81 | return NULL; |
| 82 | } |
| 83 | |
| 84 | static struct fit_image_node *find_image_with_overlays(const char *name, |
| 85 | int bytes, struct list_node *prev) |
no test coverage detected