summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.cpu
blob: 1d36c0b369faff73df20294ae35449f47877e989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
config ADK_KERNEL_MTRR
	boolean
	default y if ADK_TARGET_CPU_WITH_MTRR
	default n
	
# hyper threading
config ADK_KERNEL_PM_SLEEP_SMP
	boolean
	default y if ADK_TARGET_CPU_WITH_HT
	default n

config ADK_KERNEL_SMP
	boolean
	default y if ADK_TARGET_CPU_WITH_HT
	default n

config ADK_KERNEL_X86_HT
	boolean
	default y if ADK_TARGET_CPU_WITH_HT
	default n

config ADK_KERNEL_USE_GENERIC_SMP_HELPERS
	boolean
	default y if ADK_TARGET_CPU_WITH_HT
	default n

menu "CPU support"

config ADK_KERNEL_CPU_FREQ
	boolean
	default n

config ADK_KERNEL_REGULATOR
	boolean
	default n

config ADK_KERNEL_REGULATOR_ANATOP
	boolean
	default n

config ADK_KERNEL_CPU_FREQ_GOV_PERFORMANCE
	boolean
	default n

config ADK_KERNEL_CPU_FREQ_GOV_POWERSAVE
	boolean
	default n

config ADK_KERNEL_CPU_FREQ_GOV_USERSPACE
	boolean
	default n

config ADK_KERNEL_CPU_FREQ_GOV_ONDEMAND
	boolean
	default n

config ADK_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
	boolean
	default n

config ADK_KERNEL_ARM_IMX6_CPUFREQ
	prompt "CPU frequency support for cubox-i"
	boolean
	select ADK_KERNEL_CPU_FREQ
	select ADK_KERNEL_REGULATOR
	select ADK_KERNEL_REGULATOR_ANATOP
	default y if ADK_TARGET_SYSTEM_CUBOX_I
	depends on ADK_TARGET_SYSTEM_CUBOX_I

config ADK_KERNEL_ARM_BCM2835_CPUFREQ
	prompt "CPU frequency support for raspberry-pi"
	boolean
	select ADK_KERNEL_CPU_FREQ
	default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
	depends on ADK_TARGET_SYSTEM_RASPBERRY_PI

choice
prompt "Governor"
depends on ADK_KERNEL_ARM_BCM2835_CPUFREQ || ADK_KERNEL_ARM_IMX6_CPUFREQ

config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
	boolean "ondemand"
	select ADK_KERNEL_CPU_FREQ_GOV_ONDEMAND

config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
	boolean "performance"
	select ADK_KERNEL_CPU_FREQ_GOV_PERFORMANCE

config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
	boolean "powersave"
	select ADK_KERNEL_CPU_FREQ_GOV_POWERSAVE

config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
	boolean "conservative"
	select ADK_KERNEL_CPU_FREQ_GOV_CONSERVATIVE

config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
	boolean "userspace"
	select ADK_KERNEL_CPU_FREQ_GOV_USERSPACE
	
endchoice
endmenu