summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.pm
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/config/Config.in.pm')
-rw-r--r--target/linux/config/Config.in.pm52
1 files changed, 52 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm
new file mode 100644
index 000000000..45e674efb
--- /dev/null
+++ b/target/linux/config/Config.in.pm
@@ -0,0 +1,52 @@
+config ADK_KERNEL_PM
+ boolean
+
+config ADK_KERNEL_ACPI
+ boolean
+
+config ADK_KERNEL_ACPI_SYSFS_POWER
+ boolean
+
+config ADK_KERNEL_ACPI_AC
+ boolean
+
+config ADK_KERNEL_ACPI_BATTERY
+ boolean
+
+config ADK_KERNEL_ACPI_BUTTON
+ boolean
+
+config ADK_KERNEL_ACPI_FAN
+ boolean
+
+config ADK_KERNEL_ACPI_DOCK
+ boolean
+
+menu "Power Management support"
+
+config ADK_HARDWARE_ACPI
+ prompt "Enable ACPI support"
+ boolean
+ select ADK_KERNEL_PM
+ select ADK_KERNEL_ACPI
+ select ADK_KERNEL_ACPI_SYSFS_POWER
+ select ADK_KERNEL_ACPI_AC
+ select ADK_KERNEL_ACPI_BATTERY
+ select ADK_KERNEL_ACPI_BUTTON
+ select ADK_KERNEL_ACPI_FAN
+ select ADK_KERNEL_ACPI_DOCK
+ default y if ADK_HARDWARE_IBM_X40
+ default n
+ help
+ Enable ACPI support.
+
+config ADK_KERNEL_SUSPEND
+ prompt "Enable Suspend support"
+ boolean
+ select ADK_KERNEL_PM
+ default y if ADK_HARDWARE_IBM_X40
+ default n
+ help
+ Enable Suspend-to-RAM and Suspend-to-Disk support.
+
+endmenu