Config.in.cpu 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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_MTRR
  4. bool
  5. default y if ADK_TARGET_CPU_WITH_MTRR
  6. default n
  7. # hyper threading
  8. config ADK_LINUX_KERNEL_PM_SLEEP_SMP
  9. bool
  10. default y if ADK_TARGET_CPU_WITH_HT
  11. default n
  12. config ADK_LINUX_KERNEL_X86_HT
  13. bool
  14. default y if ADK_TARGET_CPU_WITH_HT
  15. default n
  16. config ADK_LINUX_KERNEL_USE_GENERIC_SMP_HELPERS
  17. bool
  18. default y if ADK_TARGET_CPU_WITH_HT
  19. default n
  20. menu "CPU frequency support"
  21. depends on ADK_TARGET_WITH_CPU_FREQ
  22. config ADK_LINUX_KERNEL_CPU_FREQ
  23. bool
  24. config ADK_LINUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
  25. bool
  26. config ADK_LINUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
  27. bool
  28. config ADK_LINUX_KERNEL_CPU_FREQ_GOV_USERSPACE
  29. bool
  30. config ADK_LINUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
  31. bool
  32. config ADK_LINUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
  33. bool
  34. config ADK_LINUX_KERNEL_CPUFREQ_DT_PLATDEV
  35. bool
  36. config ADK_LINUX_KERNEL_CPUFREQ_DT
  37. bool "CPU frequency support DT"
  38. select ADK_LINUX_KERNEL_CPU_FREQ
  39. select ADK_LINUX_KERNEL_CPUFREQ_DT_PLATDEV
  40. depends on ADK_TARGET_SYSTEM_ORANGE_PI0
  41. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  42. default n
  43. config ADK_LINUX_KERNEL_ARM_IMX6Q_CPUFREQ
  44. bool "CPU frequency support for IMX6 boards"
  45. select ADK_LINUX_KERNEL_CPU_FREQ
  46. select ADK_LINUX_KERNEL_REGULATOR
  47. select ADK_LINUX_KERNEL_REGULATOR_FIXED_VOLTAGE
  48. select ADK_LINUX_KERNEL_REGULATOR_ANATOP
  49. select ADK_LINUX_KERNEL_REGULATOR_PFUZE100
  50. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  51. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  52. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  53. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  54. default n
  55. config ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ
  56. bool "CPU frequency support for BCM28XX boards"
  57. select ADK_LINUX_KERNEL_CPU_FREQ
  58. depends on ADK_TARGET_BOARD_BCM28XX
  59. default y if ADK_TARGET_BOARD_BCM28XX
  60. default n
  61. choice
  62. prompt "Governor"
  63. depends on ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ || ADK_LINUX_KERNEL_ARM_IMX6_CPUFREQ
  64. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
  65. bool "ondemand"
  66. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
  67. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  68. bool "performance"
  69. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
  70. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
  71. bool "powersave"
  72. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
  73. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
  74. bool "conservative"
  75. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
  76. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
  77. bool "userspace"
  78. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_USERSPACE
  79. endchoice
  80. endmenu