]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/power/Kconfig
PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB
[linux-2.6-omap-h63xx.git] / kernel / power / Kconfig
index 59dfdf1e1d2071ba29b711fbb2b34d28a57cd998..23bd4daeb96b221690ba16ade909d1dd4672093f 100644 (file)
@@ -94,6 +94,17 @@ config SUSPEND
          powered and thus its contents are preserved, such as the
          suspend-to-RAM state (e.g. the ACPI S3 state).
 
+config PM_TEST_SUSPEND
+       bool "Test suspend/resume and wakealarm during bootup"
+       depends on SUSPEND && PM_DEBUG && RTC_CLASS=y
+       ---help---
+       This option will let you suspend your machine during bootup, and
+       make it wake up a few seconds later using an RTC wakeup alarm.
+       Enable this with a kernel parameter like "test_suspend=mem".
+
+       You probably want to have your system's RTC driver statically
+       linked, ensuring that it's available when this test runs.
+
 config SUSPEND_FREEZER
        bool "Enable freezer for suspend to RAM/standby" \
                if ARCH_WANTS_FREEZER_CONTROL || BROKEN