bootm: Move decompression code into its own function
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jun 2014 13:24:52 +0000 (07:24 -0600)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:19:02 +0000 (11:19 -0400)
commit2b164f1cea69c7c583a26502d2a68d1c62eb0b5a
treeb1cf1bfbe2fea2c9e504d708eef4d45f6c28d0c7
parentea51a6282316f383fa04defa30ea15feb36d5d69
bootm: Move decompression code into its own function

This makes it possible to decompress an image without it being a kernel
and without intending to boot it (as it needed for host tools, for example).

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