summaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-01-11 01:03:44 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-01-13 13:19:39 -0500
commit7684b8582c24537dbe079a7d40e1d7e57ca56939 (patch)
tree37f9fed6b8c8c865a1d0e2b54a128c1a50e22277 /init/Kconfig
parent76db5a27a827c2c89e5120a3d486472da847863b (diff)
bootconfig: Load boot config from the tail of initrd
Load the extended boot config data from the tail of initrd image. If there is an SKC data there, it has [(u32)size][(u32)checksum] header (in really, this is a footer) at the end of initrd. If the checksum (simple sum of bytes) is match, this starts parsing it from there. Link: http://lkml.kernel.org/r/157867222435.17873.9936667353335606867.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 63450d3bbf12..ffd240fb88c3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1217,6 +1217,7 @@ endif
config BOOT_CONFIG
bool "Boot config support"
+ depends on BLK_DEV_INITRD
select LIBXBC
default y
help