From 5b013b5c825baf82a3d3e943f7c78fa4604ee525 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 27 Jul 2011 11:01:16 +0200
Subject: add suspend-to-disk kernel option

---
 target/linux/config/Config.in.pm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm
index 0c59194a9..5ffd8aca9 100644
--- a/target/linux/config/Config.in.pm
+++ b/target/linux/config/Config.in.pm
@@ -43,13 +43,25 @@ config ADK_HARDWARE_ACPI
 	 Enable ACPI support.
 
 config ADK_KERNEL_SUSPEND
-	prompt "Enable Suspend support"
+	prompt "Enable Suspend-to-RAM support"
 	boolean
 	select ADK_KERNEL_PM
 	default y if ADK_TARGET_SYSTEM_IBM_X40
 	default y if ADK_NATIVE_SYSTEM_IBM_X40
 	default n
 	help
-	  Enable Suspend-to-RAM and Suspend-to-Disk support.
+	  Enable Suspend-to-RAM support.
+
+config ADK_KERNEL_HIBERNATION
+	prompt "Enable Suspend-to-Disk support"
+	boolean
+	select ADK_KERNEL_PM
+	select ADK_KERNEL_SWAP
+	select BUSYBOX_SWAPONOFF
+	default y if ADK_TARGET_SYSTEM_IBM_X40
+	default y if ADK_NATIVE_SYSTEM_IBM_X40
+	default n
+	help
+	  Enable Suspend-to-Disk support.
 
 endmenu
-- 
cgit v1.2.3