From 2855a0c14dc1e390a13fbaecf14e888d1339a0b9 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 16 May 2019 13:51:31 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32871 Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/lib/fit_payload.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/fit_payload.c b/src/lib/fit_payload.c index 4bc6622b19..c977903534 100644 --- a/src/lib/fit_payload.c +++ b/src/lib/fit_payload.c @@ -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; } -- cgit v1.2.3