Config.in.cpu 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  42. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  43. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  44. default n
  45. config ADK_LINUX_KERNEL_ARM_IMX6Q_CPUFREQ
  46. bool "CPU frequency support for IMX6 boards"
  47. select ADK_LINUX_KERNEL_CPU_FREQ
  48. select ADK_LINUX_KERNEL_REGULATOR
  49. select ADK_LINUX_KERNEL_REGULATOR_FIXED_VOLTAGE
  50. select ADK_LINUX_KERNEL_REGULATOR_ANATOP
  51. select ADK_LINUX_KERNEL_REGULATOR_PFUZE100
  52. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  53. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  54. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  55. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  56. default n
  57. config ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ
  58. bool "CPU frequency support for BCM28XX boards"
  59. select ADK_LINUX_KERNEL_CPU_FREQ
  60. depends on ADK_TARGET_BOARD_BCM28XX
  61. default y if ADK_TARGET_BOARD_BCM28XX
  62. default n
  63. choice
  64. prompt "Governor"
  65. depends on ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ || ADK_LINUX_KERNEL_ARM_IMX6_CPUFREQ
  66. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
  67. bool "ondemand"
  68. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
  69. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  70. bool "performance"
  71. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
  72. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
  73. bool "powersave"
  74. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
  75. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
  76. bool "conservative"
  77. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
  78. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
  79. bool "userspace"
  80. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_USERSPACE
  81. endchoice
  82. endmenu