Config.in.cpu 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  52. default n
  53. config ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ
  54. bool "CPU frequency support for BCM28XX boards"
  55. select ADK_LINUX_KERNEL_CPU_FREQ
  56. depends on ADK_TARGET_BOARD_BCM28XX
  57. default y if ADK_TARGET_BOARD_BCM28XX
  58. default n
  59. choice
  60. prompt "Governor"
  61. depends on ADK_LINUX_KERNEL_ARM_BCM2835_CPUFREQ || ADK_LINUX_KERNEL_ARM_IMX6_CPUFREQ
  62. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
  63. bool "ondemand"
  64. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
  65. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  66. bool "performance"
  67. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
  68. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
  69. bool "powersave"
  70. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
  71. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
  72. bool "conservative"
  73. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
  74. config ADK_LINUX_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
  75. bool "userspace"
  76. select ADK_LINUX_KERNEL_CPU_FREQ_GOV_USERSPACE
  77. endchoice
  78. endmenu