c14ce225ac5db478015a9be5793f5ca0c1c458c9
[firefly-linux-kernel-4.4.55.git] / arch / arm / plat-rk / Kconfig
1 if PLAT_RK
2
3 choice DDR_TYPE
4         prompt "DDR Memory Type"
5         default DDR_TYPE_DDR3_DEFAULT 
6
7 config DDR_TYPE_DDRII
8         bool "DDRII"
9         help
10           Support for DDRII memory
11
12 config DDR_TYPE_LPDDR
13         bool "mobile DDR"
14         help
15           Support for mobile DDR, MCP device
16
17 config DDR_TYPE_DDR3_800D
18         bool "DDR3-800 5-5-5"
19
20 config DDR_TYPE_DDR3_800E
21         bool "DDR3-800 6-6-6"
22
23 config DDR_TYPE_DDR3_1066E
24         bool "DDR3-1066 6-6-6"
25
26 config DDR_TYPE_DDR3_1066F
27         bool "DDR3-1066 7-7-7"
28
29 config DDR_TYPE_DDR3_1066G
30         bool "DDR3-1066 8-8-8"
31
32 config DDR_TYPE_DDR3_1333F
33         bool "DDR3-1333 7-7-7"
34
35 config DDR_TYPE_DDR3_1333G
36         bool "DDR3-1333 8-8-8"
37
38 config DDR_TYPE_DDR3_1333H
39         bool "DDR3-1333 9-9-9"
40
41 config DDR_TYPE_DDR3_1333J
42         bool "DDR3-1333 10-10-10"
43
44 config DDR_TYPE_DDR3_1600G
45         bool "DDR3-1600 8-8-8"
46
47 config DDR_TYPE_DDR3_1600H
48         bool "DDR3-1600 9-9-9"
49
50 config DDR_TYPE_DDR3_1600J
51         bool "DDR3-1600 10-10-10"
52
53 config DDR_TYPE_DDR3_1600K
54         bool "DDR3-1600 11-11-11"
55
56 config DDR_TYPE_DDR3_1866J
57         bool "DDR3-1866 10-10-10"
58
59 config DDR_TYPE_DDR3_1866K
60         bool "DDR3-1866 11-11-11"
61
62 config DDR_TYPE_DDR3_1866L
63         bool "DDR3-1866 12-12-12"
64
65 config DDR_TYPE_DDR3_1866M
66         bool "DDR3-1866 13-13-13"
67
68 config DDR_TYPE_DDR3_2133K
69         bool "DDR3-2133 11-11-11"
70
71 config DDR_TYPE_DDR3_2133L
72         bool "DDR3-2133 12-12-12"
73
74 config DDR_TYPE_DDR3_2133M
75         bool "DDR3-2133 13-13-13"
76
77 config DDR_TYPE_DDR3_2133N
78         bool "DDR3-2133 14-14-14"
79
80 config DDR_TYPE_DDR3_DEFAULT
81         bool "DDR3 (Type default)"
82
83 endchoice
84
85 config DDR_SDRAM_FREQ
86         int "DDR SDRAM frequence (in MHz)"
87         default 400
88
89 config DDR_FREQ
90         bool "Enable DDR frequency scaling"
91         select RK_SRAM_DMA if ARCH_RK30
92
93 config DDR_TEST
94         bool "DDR Test"
95         depends on !ARCH_RK29
96         select CRC32
97         default y
98
99 config DVFS
100         bool "Enable dvfs"
101         depends on REGULATOR&&CPU_FREQ
102         default y
103
104 config RK_CLOCK_PROC
105         bool "/proc/clocks support"
106         depends on PROC_FS
107
108 if !ARCH_RK29
109 menu "Support for RK power manage"
110
111 config CLK_SWITCH_TO_32K
112         bool "Support clock switch to 32.768k"
113
114 endmenu
115 endif
116
117 config WIFI_CONTROL_FUNC
118         bool "Enable WiFi control function abstraction"
119         help
120           Enables Power/Reset/Carddetect function abstraction
121
122 config RK29_VPU
123         tristate "VPU (Video Processing Unit) service driver in kernel"
124         depends on ARCH_RK29 || ARCH_RK30
125         default m
126
127 config RK29_LAST_LOG
128         bool "Save the last kernel log on /proc/last_log"
129         depends on DEBUG_KERNEL && PRINTK
130         default y
131         help
132           It is only intended for debugging.
133
134 config RK_EARLY_PRINTK
135         bool "Early printk"
136         depends on PRINTK && !DEBUG_LL
137         default y
138         help
139           Say Y here if you want to have an early console using the
140           kernel low-level debugging functions.
141
142 config RK_DEBUG_UART
143         int "Debug UART"
144         default 1 if ARCH_RK29
145         default 2 if ARCH_RK30
146         help
147           Select a UART for debugging. -1 disable.
148
149 config RK_CONSOLE_THREAD
150         bool "Console write by thread"
151         depends on FIQ_DEBUGGER_CONSOLE
152         default y
153         help
154           Normal kernel printk will write out to UART by "kconsole" kthread
155
156 config RK_SRAM_DMA
157         bool "Sound DMA buffer in internal SRAM"
158         depends on ARCH_RK30
159
160 config RK_PL330_DMA
161         bool
162         select PL330
163         help
164           DMA API Driver for PL330 DMAC
165
166 endif