The previous patches have added the implementation of the EFI stub
functionality to the kernel, so now the Kconfig support is added
to enable it.

Signed-off-by: Roy Franz <roy.fr...@linaro.org>
---
 arch/arm/Kconfig |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1ab24cc..b650a38 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1867,6 +1867,17 @@ config EFI
          However, even with this option, the resultant kernel will
          continue to boot on non-UEFI platforms.
 
+config EFI_STUB
+       bool "EFI stub support"
+       depends on EFI && !CPU_BIG_ENDIAN
+       ---help---
+         This kernel feature allows a zImage to be loaded directly by EFI
+         firmware without the use of a bootloader.  A PE/COFF header is
+         added to the zImage in a way that makes the binary both a Linux
+         zImage and an PE/COFF executable that can be executed directly by
+         EFI firmware.
+         See Documentation/efi-stub.txt for more information.
+
 config SECCOMP
        bool
        prompt "Enable seccomp to safely compute untrusted bytecode"
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to