summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2022-02-10 13:47:25 +0100
committerMichael Brown2022-02-10 13:47:25 +0100
commit64113751c3729a2deaffbb1e1b6fd36e2c8bac6b (patch)
treeb4d29d8b22f7d885177cee10dbda8b2aecafeb98
parent[prefix] Fix use of writable code segment on 486 and earlier CPUs (diff)
downloadipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.tar.gz
ipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.tar.xz
ipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.zip
[efi] Enable IMAGE_GZIP by default for AArch64
AArch64 kernels tend to be distributed as gzip compressed images. Enable IMAGE_GZIP by default for AArch64 to avoid the need for uncompressed images to be provided. Originally-implemented-by: Alessandro Di Stefano <aleskandro@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/config/defaults/efi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 9ef34ab6..efa80181 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -58,4 +58,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define NAP_EFIARM
#endif
+#if defined ( __aarch64__ )
+#define IMAGE_GZIP /* GZIP image support */
+#endif
+
#endif /* CONFIG_DEFAULTS_EFI_H */