Config.in.pm 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_APU
  40. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  41. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  42. default n
  43. help
  44. Enable ACPI support.
  45. config ADK_KERNEL_SUSPEND
  46. bool "Enable Suspend-to-RAM support"
  47. select ADK_KERNEL_PM
  48. select ADK_KERNEL_PM_RUNTIME
  49. default y if ADK_TARGET_SYSTEM_IBM_X40
  50. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  51. default n
  52. help
  53. Enable Suspend-to-RAM support.
  54. config ADK_KERNEL_HIBERNATION
  55. bool "Enable Suspend-to-Disk support"
  56. select ADK_KERNEL_PM
  57. select ADK_KERNEL_PM_RUNTIME
  58. select ADK_KERNEL_SWAP
  59. select BUSYBOX_SWAPONOFF
  60. default y if ADK_TARGET_SYSTEM_IBM_X40
  61. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  62. default n
  63. help
  64. Enable Suspend-to-Disk support.
  65. endmenu