summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-05-20 21:04:15 +0200
committerNico Huber <nico.h@gmx.de>2017-06-07 13:10:48 +0200
commit9121a364a6d510eefa185df1458e7dacf24057b5 (patch)
tree6ef014c4da1a09a5cca69f5a0327c77bf7fc628a /payloads
parente18e6427d0f3261f9ec361d4418b8fe1dd7cc469 (diff)
payloads/Kconfig: Add NO_DEFAULT_PAYLOAD
This symbol can be selected (e.g. in site-local/) to disable the user friendly but annoying default payload choice. Change-Id: I2f72d4efc0a428dce377c3d003b2c00a6c8d4c08 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/19808 Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index 77006311d1..bb9348b7d7 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -1,8 +1,11 @@
menu "Payload"
+config NO_DEFAULT_PAYLOAD
+ bool
+
choice
prompt "Add a payload"
- default PAYLOAD_NONE if !ARCH_X86
+ default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86
default PAYLOAD_SEABIOS if ARCH_X86
config PAYLOAD_NONE