diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-03 15:46:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-07 20:44:04 +0100 |
commit | 9bb871a0bb4c239239944d28bd4d5cfa19d84f62 (patch) | |
tree | b1c2eee95a3b475748c89d0075f604bb159a3271 /target/waldux/config/Config.in.pm | |
parent | a4767b13763b91dfb0aa75d2985d63d7ed9cb64c (diff) |
add support for waldux
Diffstat (limited to 'target/waldux/config/Config.in.pm')
-rw-r--r-- | target/waldux/config/Config.in.pm | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/target/waldux/config/Config.in.pm b/target/waldux/config/Config.in.pm new file mode 100644 index 000000000..dfbaf2aec --- /dev/null +++ b/target/waldux/config/Config.in.pm @@ -0,0 +1,82 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +config ADK_WALDUX_KERNEL_PM + bool + default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + default y if ADK_TARGET_BOARD_BCM28XX + +config ADK_WALDUX_KERNEL_PM_RUNTIME + bool + default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + +config ADK_WALDUX_KERNEL_ACPI + bool + +config ADK_WALDUX_KERNEL_ACPI_SYSFS_POWER + bool + +config ADK_WALDUX_KERNEL_ACPI_AC + bool + +config ADK_WALDUX_KERNEL_ACPI_BATTERY + bool + +config ADK_WALDUX_KERNEL_ACPI_BUTTON + bool + +config ADK_WALDUX_KERNEL_ACPI_FAN + bool + +config ADK_WALDUX_KERNEL_ACPI_DOCK + bool + +menu "Power Management support" +depends on ADK_TARGET_WITH_ACPI \ + || ADK_TARGET_SYSTEM_LEMOTE_YEELONG \ + || ADK_TARGET_GENERIC + +config ADK_HARDWARE_ACPI + bool "Enable ACPI support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + select ADK_WALDUX_KERNEL_ACPI + select ADK_WALDUX_KERNEL_ACPI_SYSFS_POWER + select ADK_WALDUX_KERNEL_ACPI_AC + select ADK_WALDUX_KERNEL_ACPI_BATTERY + select ADK_WALDUX_KERNEL_ACPI_BUTTON + select ADK_WALDUX_KERNEL_ACPI_FAN + select ADK_WALDUX_KERNEL_ACPI_DOCK + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX + default y if ADK_TARGET_SYSTEM_PCENGINES_APU + default y if ADK_TARGET_SYSTEM_GENERIC_X86 + default y if ADK_TARGET_SYSTEM_GENERIC_X86_64 + default y if ADK_TARGET_SYSTEM_ASUS_P5BVM + default n + help + Enable ACPI support. + +config ADK_WALDUX_KERNEL_SUSPEND + bool "Enable Suspend-to-RAM support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG + default n + help + Enable Suspend-to-RAM support. + +config ADK_WALDUX_KERNEL_HIBERNATION + bool "Enable Suspend-to-Disk support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + select ADK_WALDUX_KERNEL_SWAP + select BUSYBOX_SWAPONOFF + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG + default n + help + Enable Suspend-to-Disk support. + +endmenu |