summaryrefslogtreecommitdiff
path: root/src/lib/fit_payload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fit_payload.c')
-rw-r--r--src/lib/fit_payload.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/fit_payload.c b/src/lib/fit_payload.c
index 97f9af04ae..d61bfd5c4e 100644
--- a/src/lib/fit_payload.c
+++ b/src/lib/fit_payload.c
@@ -35,7 +35,7 @@ static bool extract(struct region *region, struct fit_image_node *node)
size_t true_size = 0;
if (node->size == 0) {
- printk(BIOS_ERR, "ERROR: The %s size is 0\n", node->name);
+ printk(BIOS_ERR, "The %s size is 0\n", node->name);
return true;
}
@@ -50,7 +50,7 @@ static bool extract(struct region *region, struct fit_image_node *node)
comp_name = "Decompressing LZ4";
break;
default:
- printk(BIOS_ERR, "ERROR: Unsupported compression\n");
+ printk(BIOS_ERR, "Unsupported compression\n");
return true;
}
@@ -76,7 +76,7 @@ static bool extract(struct region *region, struct fit_image_node *node)
}
if (!true_size) {
- printk(BIOS_ERR, "ERROR: %s decompression failed!\n",
+ printk(BIOS_ERR, "%s decompression failed!\n",
comp_name);
return true;
}
@@ -176,13 +176,13 @@ void fit_payload(struct prog *payload, void *data)
struct fit_config_node *config = fit_load(data);
if (!config) {
- printk(BIOS_ERR, "ERROR: Could not load FIT\n");
+ printk(BIOS_ERR, "Could not load FIT\n");
return;
}
dt = unpack_fdt(config->fdt);
if (!dt) {
- printk(BIOS_ERR, "ERROR: Failed to unflatten the FDT.\n");
+ printk(BIOS_ERR, "Failed to unflatten the FDT.\n");
return;
}
@@ -190,7 +190,7 @@ void fit_payload(struct prog *payload, void *data)
list_for_each(chain, config->overlays, list_node) {
struct device_tree *overlay = unpack_fdt(chain->overlay);
if (!overlay || dt_apply_overlay(dt, overlay)) {
- printk(BIOS_ERR, "ERROR: Failed to apply overlay %s!\n",
+ printk(BIOS_ERR, "Failed to apply overlay %s!\n",
chain->overlay->name);
}
}
@@ -213,7 +213,7 @@ void fit_payload(struct prog *payload, void *data)
/* Invoke arch specific payload placement and fixups */
if (!fit_payload_arch(payload, config, &kernel, &fdt, &initrd)) {
- printk(BIOS_ERR, "ERROR: Failed to find free memory region\n");
+ printk(BIOS_ERR, "Failed to find free memory region\n");
bootmem_dump_ranges();
return;
}
@@ -227,7 +227,7 @@ void fit_payload(struct prog *payload, void *data)
if (config->ramdisk &&
extract(&initrd, config->ramdisk)) {
- printk(BIOS_ERR, "ERROR: Failed to extract initrd\n");
+ printk(BIOS_ERR, "Failed to extract initrd\n");
prog_set_entry(payload, NULL, NULL);
return;
}
@@ -235,7 +235,7 @@ void fit_payload(struct prog *payload, void *data)
timestamp_add_now(TS_KERNEL_DECOMPRESSION);
if (extract(&kernel, config->kernel)) {
- printk(BIOS_ERR, "ERROR: Failed to extract kernel\n");
+ printk(BIOS_ERR, "Failed to extract kernel\n");
prog_set_entry(payload, NULL, NULL);
return;
}