aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-08-23 21:49:13 +0200
committerHelge Deller <deller@gmx.de>2019-09-06 23:58:43 +0200
commit175fca3bf91a1111b7e46f6655666640556b9059 (patch)
tree7918a9326c405cc49f74cd8785749461c8c8a40c /arch/powerpc/Kconfig
parentparisc: Save some bytes in dino driver (diff)
downloadlinux-dev-175fca3bf91a1111b7e46f6655666640556b9059.tar.xz
linux-dev-175fca3bf91a1111b7e46f6655666640556b9059.zip
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