summaryrefslogtreecommitdiff
path: root/payloads/Kconfig
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-02-28 15:56:27 -0800
committerMartin Roth <martinroth@google.com>2016-03-05 22:57:53 +0100
commitbe63a24c4ce29e7e9f096b9ebd94e6d5a65f24a9 (patch)
tree8ffdd441bcfd8d05d92f77259ed57397833b535b /payloads/Kconfig
parentf7fd63066fe3b74a1ae10fa6eabf2605d5730449 (diff)
downloadcoreboot-be63a24c4ce29e7e9f096b9ebd94e6d5a65f24a9.tar.xz
BuildSystem: Add Memtest86+ as a secondary payload
This allows memtest86+ to be added to CBFS as a 'secondary' payload on x86 systems, to be loaded by the main payload if desired. Selecting this option, which defaults to no, builds the memtest86+ payload and adds it to CBFS as `img/memtest` which can then be loaded by for example SeaBIOS or GRUB. Change-Id: Iecf876aaf588ba1df7abdf6668cb26f089bf5f42 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/13858 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Ben Gardner <gardner.ben@gmail.com>
Diffstat (limited to 'payloads/Kconfig')
-rw-r--r--payloads/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index 01bd216d23..6ae2ecd4e2 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -67,4 +67,12 @@ config COREINFO_SECONDARY_PAYLOAD
coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
or any other payload that can load additional payloads.
+config MEMTEST_SECONDARY_PAYLOAD
+ bool "Load Memtest86+ as a secondary payload"
+ default n
+ depends on ARCH_X86 && !PAYLOAD_NONE
+ help
+ Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
+ or any other payload that can load additional payloads.
+
endmenu