summaryrefslogtreecommitdiff
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-08-23 22:49:13 +0300
committerHelge Deller <deller@gmx.de>2019-09-07 00:58:43 +0300
commit175fca3bf91a1111b7e46f6655666640556b9059 (patch)
tree7918a9326c405cc49f74cd8785749461c8c8a40c /arch/powerpc/Kconfig
parent544f448599134ffee9ef35d685f933bab708a215 (diff)
downloadlinux-175fca3bf91a1111b7e46f6655666640556b9059.tar.xz
kexec: add KEXEC_ELF
Right now powerpc provides an implementation to read elf files with the kexec_file_load() syscall. Make that available as a public kexec interface so it can be re-used on other architectures. Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 77f6ebf97113..3c85ef270338 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -512,6 +512,7 @@ config KEXEC_FILE
select KEXEC_CORE
select HAVE_IMA_KEXEC
select BUILD_BIN2C
+ select KEXEC_ELF
depends on PPC64
depends on CRYPTO=y
depends on CRYPTO_SHA256=y