summaryrefslogtreecommitdiff
path: root/arch/m68k/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-22 00:36:32 +0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-12-08 14:01:48 +0400
commit7bc1e4d8d506462c7d40118196f79a709f3fecfd (patch)
treee9d72b9a9e1e0368b9d3e3a9ccae929fd2ab947e /arch/m68k/Kconfig
parent7d5f5fa276efbbe45f0ed270b3f4e4a2816398c2 (diff)
downloadlinux-7bc1e4d8d506462c7d40118196f79a709f3fecfd.tar.xz
m68k: Add support to export bootinfo in procfs
Add optional support to export the bootinfo used to boot the kernel in a "bootinfo" file in procfs. This is useful with kexec. This is based on the similar feature for ATAGS on ARM. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/Kconfig')
-rw-r--r--arch/m68k/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 178dffa9de80..dbdd2231c75d 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -104,6 +104,13 @@ config KEXEC
interface is strongly in flux, so no good recommendation can be
made.
+config BOOTINFO_PROC
+ bool "Export bootinfo in procfs"
+ depends on KEXEC && M68KCLASSIC
+ help
+ Say Y to export the bootinfo used to boot the kernel in a
+ "bootinfo" file in procfs. This is useful with kexec.
+
menu "Platform setup"
source arch/m68k/Kconfig.cpu