Config.in.pm 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 || ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  25. config ADK_HARDWARE_ACPI
  26. bool "Enable ACPI support"
  27. select ADK_KERNEL_PM
  28. select ADK_KERNEL_PM_RUNTIME
  29. select ADK_KERNEL_ACPI
  30. select ADK_KERNEL_ACPI_SYSFS_POWER
  31. select ADK_KERNEL_ACPI_AC
  32. select ADK_KERNEL_ACPI_BATTERY
  33. select ADK_KERNEL_ACPI_BUTTON
  34. select ADK_KERNEL_ACPI_FAN
  35. select ADK_KERNEL_ACPI_DOCK
  36. default y if ADK_TARGET_SYSTEM_IBM_X40
  37. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  38. default n
  39. help
  40. Enable ACPI support.
  41. config ADK_KERNEL_SUSPEND
  42. bool "Enable Suspend-to-RAM support"
  43. select ADK_KERNEL_PM
  44. select ADK_KERNEL_PM_RUNTIME
  45. default y if ADK_TARGET_SYSTEM_IBM_X40
  46. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  47. default n
  48. help
  49. Enable Suspend-to-RAM support.
  50. config ADK_KERNEL_HIBERNATION
  51. bool "Enable Suspend-to-Disk support"
  52. select ADK_KERNEL_PM
  53. select ADK_KERNEL_PM_RUNTIME
  54. select ADK_KERNEL_SWAP
  55. select BUSYBOX_SWAPONOFF
  56. default y if ADK_TARGET_SYSTEM_IBM_X40
  57. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  58. default n
  59. help
  60. Enable Suspend-to-Disk support.
  61. endmenu