summaryrefslogtreecommitdiffstats
path: root/lib/bootconfig-data.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/bootconfig-data.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bootconfig-data.S b/lib/bootconfig-data.S
new file mode 100644
index 0000000000..ef85ba1a82
--- /dev/null
+++ b/lib/bootconfig-data.S
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Embed default bootconfig in the kernel.
+ */
+ .section .init.rodata, "aw"
+ .global embedded_bootconfig_data
+embedded_bootconfig_data:
+ .incbin "lib/default.bconf"
+ .global embedded_bootconfig_data_end
+embedded_bootconfig_data_end: