Config.in.pm 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_LINUX_KERNEL_PM
  4. bool
  5. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  6. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  7. default y if ADK_TARGET_BOARD_BCM28XX
  8. config ADK_LINUX_KERNEL_PM_RUNTIME
  9. bool
  10. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  11. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  12. config ADK_LINUX_KERNEL_ACPI
  13. bool
  14. config ADK_LINUX_KERNEL_ACPI_SYSFS_POWER
  15. bool
  16. config ADK_LINUX_KERNEL_ACPI_AC
  17. bool
  18. config ADK_LINUX_KERNEL_ACPI_BATTERY
  19. bool
  20. config ADK_LINUX_KERNEL_ACPI_BUTTON
  21. bool
  22. config ADK_LINUX_KERNEL_ACPI_FAN
  23. bool
  24. config ADK_LINUX_KERNEL_ACPI_DOCK
  25. bool
  26. menu "Power Management support"
  27. depends on ADK_TARGET_WITH_ACPI \
  28. || ADK_TARGET_SYSTEM_LEMOTE_YEELONG \
  29. || ADK_TARGET_GENERIC
  30. config ADK_HARDWARE_ACPI
  31. bool "Enable ACPI support"
  32. select ADK_LINUX_KERNEL_PM
  33. select ADK_LINUX_KERNEL_PM_RUNTIME
  34. select ADK_LINUX_KERNEL_ACPI
  35. select ADK_LINUX_KERNEL_ACPI_SYSFS_POWER
  36. select ADK_LINUX_KERNEL_ACPI_AC
  37. select ADK_LINUX_KERNEL_ACPI_BATTERY
  38. select ADK_LINUX_KERNEL_ACPI_BUTTON
  39. select ADK_LINUX_KERNEL_ACPI_FAN
  40. select ADK_LINUX_KERNEL_ACPI_DOCK
  41. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  42. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  43. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  44. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  45. default n
  46. help
  47. Enable ACPI support.
  48. config ADK_LINUX_KERNEL_SUSPEND
  49. bool "Enable Suspend-to-RAM support"
  50. select ADK_LINUX_KERNEL_PM
  51. select ADK_LINUX_KERNEL_PM_RUNTIME
  52. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  53. default n
  54. help
  55. Enable Suspend-to-RAM support.
  56. config ADK_LINUX_KERNEL_HIBERNATION
  57. bool "Enable Suspend-to-Disk support"
  58. select ADK_LINUX_KERNEL_PM
  59. select ADK_LINUX_KERNEL_PM_RUNTIME
  60. select ADK_LINUX_KERNEL_SWAP
  61. select BUSYBOX_SWAPONOFF
  62. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  63. default n
  64. help
  65. Enable Suspend-to-Disk support.
  66. endmenu