From be63a24c4ce29e7e9f096b9ebd94e6d5a65f24a9 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 28 Feb 2016 15:56:27 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/13858 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) Reviewed-by: Ben Gardner --- payloads/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'payloads/Kconfig') 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 -- cgit v1.2.3