]> git.baikalelectronics.ru Git - kernel.git/commit
bootconfig: Add Extra Boot Config support
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:03:32 +0000 (01:03 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:38 +0000 (13:19 -0500)
commit673d6799922c84fa26578834892fb753732788e1
treef5d871e93abc0c02f4a68afd84cca55aca9e9300
parent531edd839a763e175f65c230420910033d8affe9
bootconfig: Add Extra Boot Config support

Extra Boot Config (XBC) allows admin to pass a tree-structured
boot configuration file when boot up the kernel. This extends
the kernel command line in an efficient way.

Boot config will contain some key-value commands, e.g.

key.word = value1
another.key.word = value2

It can fold same keys with braces, also you can write array
data. For example,

key {
   word1 {
      setting1 = data
      setting2
   }
   word2.array = "val1", "val2"
}

User can access these key-value pair and tree structure via
SKC APIs.

Link: http://lkml.kernel.org/r/157867221257.17873.1775090991929862549.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
MAINTAINERS
include/linux/bootconfig.h [new file with mode: 0644]
init/Kconfig
lib/Kconfig
lib/Makefile
lib/bootconfig.c [new file with mode: 0644]