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