]> git.ipfire.org Git - people/ms/u-boot.git/commit
bootm: Move compression progress/error messages into a function
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:30 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:43 +0000 (11:35 -0500)
commit40e5975f9ad7a545b85d2430d6517d8d3d18e87d
tree9340896cf0b4a465d09f49be31f161702025c96d
parentf6eec89fa30009aabac081158e36364dc025a3a4
bootm: Move compression progress/error messages into a function

This code is repeated in several places, and does not detect a common
fault where the image is too large. Move it into its own function and
provide a more helpful messages in this case, for compression schemes
which support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootm.c