fit_payload: Don't call prog_segment_loaded() on extracted images
Kernel handoff on all architectures supporting FIT images already includes flushing and disabling the cache. No need to waste any more time flushing individual components (especially since in the case of compressed DT overlays they will still get accessed again afterwards). Change-Id: I7b483e920c5a71663b024b5b50804ffc84939830 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32871 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b379f1964e
commit
2855a0c14d
|
@ -88,12 +88,11 @@ static bool extract(struct region *region, struct fit_image_node *node)
|
|||
}
|
||||
|
||||
if (!true_size) {
|
||||
printk(BIOS_ERR, "ERROR: %s node failed!\n", comp_name);
|
||||
printk(BIOS_ERR, "ERROR: %s decompression failed!\n",
|
||||
comp_name);
|
||||
return true;
|
||||
}
|
||||
|
||||
prog_segment_loaded(region->offset, true_size, 0);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue