1
0

Config.in.pm 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. default y if ADK_TARGET_BOARD_BCM28XX
  7. config ADK_KERNEL_PM_RUNTIME
  8. bool
  9. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  10. config ADK_KERNEL_ACPI
  11. bool
  12. config ADK_KERNEL_ACPI_SYSFS_POWER
  13. bool
  14. config ADK_KERNEL_ACPI_AC
  15. bool
  16. config ADK_KERNEL_ACPI_BATTERY
  17. bool
  18. config ADK_KERNEL_ACPI_BUTTON
  19. bool
  20. config ADK_KERNEL_ACPI_FAN
  21. bool
  22. config ADK_KERNEL_ACPI_DOCK
  23. bool
  24. menu "Power Management support"
  25. depends on ADK_TARGET_WITH_ACPI \
  26. || ADK_TARGET_SYSTEM_LEMOTE_YEELONG \
  27. || ADK_TARGET_GENERIC
  28. config ADK_HARDWARE_ACPI
  29. bool "Enable ACPI support"
  30. select ADK_KERNEL_PM
  31. select ADK_KERNEL_PM_RUNTIME
  32. select ADK_KERNEL_ACPI
  33. select ADK_KERNEL_ACPI_SYSFS_POWER
  34. select ADK_KERNEL_ACPI_AC
  35. select ADK_KERNEL_ACPI_BATTERY
  36. select ADK_KERNEL_ACPI_BUTTON
  37. select ADK_KERNEL_ACPI_FAN
  38. select ADK_KERNEL_ACPI_DOCK
  39. default y if ADK_TARGET_SYSTEM_IBM_X40
  40. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  41. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  42. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  43. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  44. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  45. default n
  46. help
  47. Enable ACPI support.
  48. config ADK_KERNEL_SUSPEND
  49. bool "Enable Suspend-to-RAM support"
  50. select ADK_KERNEL_PM
  51. select ADK_KERNEL_PM_RUNTIME
  52. default y if ADK_TARGET_SYSTEM_IBM_X40
  53. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  54. default n
  55. help
  56. Enable Suspend-to-RAM support.
  57. config ADK_KERNEL_HIBERNATION
  58. bool "Enable Suspend-to-Disk support"
  59. select ADK_KERNEL_PM
  60. select ADK_KERNEL_PM_RUNTIME
  61. select ADK_KERNEL_SWAP
  62. select BUSYBOX_SWAPONOFF
  63. default y if ADK_TARGET_SYSTEM_IBM_X40
  64. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  65. default n
  66. help
  67. Enable Suspend-to-Disk support.
  68. endmenu