diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-09-22 16:54:33 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-28 14:32:27 +1000 |
commit | f1e510bbb9f265acb4147a3a650882876a76d48b (patch) | |
tree | 08127f565c17ac1beb45bf1dd8acb1c82a577436 /arch/powerpc/boot/cuboot-warp.c | |
parent | a4da56fbc553ea941f3de6ec55070d62f6957d51 (diff) | |
download | talos-obmc-linux-f1e510bbb9f265acb4147a3a650882876a76d48b.tar.gz talos-obmc-linux-f1e510bbb9f265acb4147a3a650882876a76d48b.zip |
powerpc/boot: Add XZ support to the wrapper script
This modifies the wrapper script so that the -Z option takes an argument
to specify the compression type. It can either be 'gz', 'xz' or 'none'.
The legazy --no-gzip and -z options are still supported and will set the
compression to none and gzip respectively, but they are not documented.
Only XZ -6 is used for compression rather than XZ -9. Using compression
levels higher than 6 requires the decompressor to build a large (64MB)
dictionary when decompressing and some environments cannot satisfy such
large allocations (e.g. POWER 6 LPAR partition firmware).
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/boot/cuboot-warp.c')
0 files changed, 0 insertions, 0 deletions