diff options
author | Julius Werner <jwerner@chromium.org> | 2019-05-16 13:51:31 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-21 09:21:31 +0000 |
commit | 2855a0c14dc1e390a13fbaecf14e888d1339a0b9 (patch) | |
tree | ba8bdb8cf12f165c7e0b73367e7599330ee85f14 | |
parent | b379f1964ec6b0a59b7d869154a8bc739eb55fc0 (diff) | |
download | coreboot-2855a0c14dc1e390a13fbaecf14e888d1339a0b9.tar.xz |
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>
-rw-r--r-- | src/lib/fit_payload.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |