summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/stdbool.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2016-09-22 16:54:34 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-28 14:35:14 +1000
commitc762c69e106f2b41ef39981ba46bda0ae8119db5 (patch)
tree5cc3b8264952c39f8c57a1f7cb467c1a38f24824 /arch/powerpc/boot/stdbool.h
parentf1e510bbb9f265acb4147a3a650882876a76d48b (diff)
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/stdbool.h')
-rw-r--r--arch/powerpc/boot/stdbool.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/boot/stdbool.h b/arch/powerpc/boot/stdbool.h
new file mode 100644
index 000000000000..f818efb08891
--- /dev/null
+++ b/arch/powerpc/boot/stdbool.h
@@ -0,0 +1,14 @@
+/*
+ * 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 stdbool.h to be available.
+ *
+ */
+
+#include "types.h"