diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-09-22 09:54:34 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-28 07:35:14 +0300 |
commit | c762c69e106f2b41ef39981ba46bda0ae8119db5 (patch) | |
tree | 5cc3b8264952c39f8c57a1f7cb467c1a38f24824 /arch/powerpc/boot/stdint.h | |
parent | f1e510bbb9f265acb4147a3a650882876a76d48b (diff) | |
download | linux-c762c69e106f2b41ef39981ba46bda0ae8119db5.tar.xz |
powerpc/boot: Add support for XZ compression
This patch adds an option to use XZ compression for the kernel image.
Currently this is only enabled for 64-bit Book3S targets, which is
roughly equivalent to the platforms that use the kernel's zImage
wrapper, and that have been tested.
The bulk of the 32-bit platforms and 64-bit BookE use uboot images,
which relies on uboot implementing XZ. In future we can enable XZ
support for those targets once someone has tested it.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/boot/stdint.h')
-rw-r--r-- | arch/powerpc/boot/stdint.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/boot/stdint.h b/arch/powerpc/boot/stdint.h new file mode 100644 index 000000000000..c1c853be7490 --- /dev/null +++ b/arch/powerpc/boot/stdint.h @@ -0,0 +1,13 @@ +/* + * Copyright (C) IBM Corporation 2016. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * This file is only necessary because some of the pre-boot decompressors + * expect stdint.h to be available. + */ + +#include "types.h" |