summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-06-17 20:14:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-17 20:28:39 +0200
commit8e51cf92f376363498c314c1a03b3c4b78f297db (patch)
treecad41527ac30b20bf50c5464895ffb228fe8fade /platforms
parentbc194211fffa76156470ad26e1cd223144b0d4ab (diff)
downloadptxdist-8e51cf92f376363498c314c1a03b3c4b78f297db.tar.gz
ptxdist-8e51cf92f376363498c314c1a03b3c4b78f297db.tar.xz
add bootloader spec submenu and default entry
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/Kconfig4
-rw-r--r--platforms/blspec-entry.in20
2 files changed, 24 insertions, 0 deletions
diff --git a/platforms/Kconfig b/platforms/Kconfig
index c553de4d1..0236686c4 100644
--- a/platforms/Kconfig
+++ b/platforms/Kconfig
@@ -21,6 +21,10 @@ menu "bootloaders "
source "generated/bootloader.in"
endmenu
+menu "bootloader spec entries "
+source "generated/blspec.in"
+endmenu
+
menu "image creation options "
source "generated/image.in"
endmenu
diff --git a/platforms/blspec-entry.in b/platforms/blspec-entry.in
new file mode 100644
index 000000000..3eb354202
--- /dev/null
+++ b/platforms/blspec-entry.in
@@ -0,0 +1,20 @@
+## SECTION=blspec
+
+menuconfig BLSPEC_ENTRY
+ tristate
+ select KERNEL
+ select KERNEL_INSTALL
+ select DTC_INSTALL_OFTREE if DTC
+ prompt "default bootloader spec entry "
+
+if BLSPEC_ENTRY
+
+config BLSPEC_ENTRY_DEVICETREE
+ bool
+ default DTC
+
+config BLSPEC_ENTRY_CMDLINE
+ string
+ prompt "kernel command-line"
+
+endif