summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-30 21:20:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-30 21:20:55 +0100
commit5265f6b35db3d3cd1af9cb64936ada0e62ed9f32 (patch)
tree9662cf71a102781fe0d669bd2f623febf8aa0c87 /target
parentd7e8ecdd427fe72ed37698683982b450a2252232 (diff)
make ACPI choosable and enable for ibm x40
Diffstat (limited to 'target')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.pm43
2 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 65fc7fbbb..a68bbadb6 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -15,5 +15,6 @@ source target/linux/config/Config.in.bluetooth
source target/linux/config/Config.in.leds
source target/linux/config/Config.in.misc
source target/linux/config/Config.in.lib
+source target/linux/config/Config.in.pm
source target/linux/config/Config.in.kvm
source target/linux/config/Config.in.debug
diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm
new file mode 100644
index 000000000..f6c2ca025
--- /dev/null
+++ b/target/linux/config/Config.in.pm
@@ -0,0 +1,43 @@
+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.
+
+endmenu