Skip to content
Commit 2090854c authored by Julius Werner's avatar Julius Werner Committed by Tom Rini
Browse files

common: Move bootm_decomp_image() to image.c (as image_decomp())



Upcoming patches want to add decompression to use cases that are no
longer directly related to booting. It makes sense to retain a single
decompression routine, but it should no longer be in bootm.c (which is
not compiled for all configurations). This patch moves
bootm_decomp_image() to image.c and renames it to image_decomp() in
preparation of those upcoming patches.

Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
Reviewed-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
[trini: Fix warning around handle_decomp_error being unused]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 75551c8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment