Config.in.pm 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_KERNEL_PM
  4. bool
  5. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  6. config ADK_KERNEL_PM_RUNTIME
  7. bool
  8. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  9. config ADK_KERNEL_ACPI
  10. bool
  11. config ADK_KERNEL_ACPI_SYSFS_POWER
  12. bool
  13. config ADK_KERNEL_ACPI_AC
  14. bool
  15. config ADK_KERNEL_ACPI_BATTERY
  16. bool
  17. config ADK_KERNEL_ACPI_BUTTON
  18. bool
  19. config ADK_KERNEL_ACPI_FAN
  20. bool
  21. config ADK_KERNEL_ACPI_DOCK
  22. bool
  23. menu "Power Management support"
  24. depends on ADK_TARGET_WITH_ACPI \
  25. || ADK_TARGET_SYSTEM_LEMOTE_YEELONG \
  26. || ADK_TARGET_GENERIC
  27. config ADK_HARDWARE_ACPI
  28. bool "Enable ACPI support"
  29. select ADK_KERNEL_PM
  30. select ADK_KERNEL_PM_RUNTIME
  31. select ADK_KERNEL_ACPI
  32. select ADK_KERNEL_ACPI_SYSFS_POWER
  33. select ADK_KERNEL_ACPI_AC
  34. select ADK_KERNEL_ACPI_BATTERY
  35. select ADK_KERNEL_ACPI_BUTTON
  36. select ADK_KERNEL_ACPI_FAN
  37. select ADK_KERNEL_ACPI_DOCK
  38. default y if ADK_TARGET_SYSTEM_IBM_X40
  39. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  40. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  41. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  42. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  43. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  44. default n
  45. help
  46. Enable ACPI support.
  47. config ADK_KERNEL_SUSPEND
  48. bool "Enable Suspend-to-RAM support"
  49. select ADK_KERNEL_PM
  50. select ADK_KERNEL_PM_RUNTIME
  51. default y if ADK_TARGET_SYSTEM_IBM_X40
  52. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  53. default n
  54. help
  55. Enable Suspend-to-RAM support.
  56. config ADK_KERNEL_HIBERNATION
  57. bool "Enable Suspend-to-Disk support"
  58. select ADK_KERNEL_PM
  59. select ADK_KERNEL_PM_RUNTIME
  60. select ADK_KERNEL_SWAP
  61. select BUSYBOX_SWAPONOFF
  62. default y if ADK_TARGET_SYSTEM_IBM_X40
  63. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  64. default n
  65. help
  66. Enable Suspend-to-Disk support.
  67. endmenu