summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/sbat.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/sbat.S')
-rw-r--r--arch/x86/boot/compressed/sbat.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/sbat.S b/arch/x86/boot/compressed/sbat.S
new file mode 100644
index 000000000000..838f70a997dd
--- /dev/null
+++ b/arch/x86/boot/compressed/sbat.S
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Embed SBAT data in the kernel.
+ */
+ .pushsection ".sbat", "a", @progbits
+ .incbin CONFIG_EFI_SBAT_FILE
+ .popsection