rk29: last_log: support save the last kernel log on /proc/last_log
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rk29 / Kconfig
1 if ARCH_RK29
2
3 choice
4         prompt "Select Board Type"
5         depends on ARCH_RK29
6         default MACH_RK29SDK
7
8 config MACH_RK29SDK
9         depends on ARCH_RK29
10         bool "ROCKCHIP Board Rk29 For Sdk"
11         help
12           Support for the ROCKCHIP Board For Rk29 Sdk.
13
14 config MACH_RK29SDK_DDR3
15         depends on ARCH_RK29
16         bool "ROCKCHIP Board Rk29 For DDR3 SDK"
17         help
18           Support for the ROCKCHIP Board For Rk29 Sdk.
19
20 config MACH_RK29WINACCORD
21         depends on ARCH_RK29
22         bool "ROCKCHIP Board Rk29 For Winaccord"
23         help
24           Support for the ROCKCHIP Board For Rk29 Winaccord.
25
26 config MACH_RK29FIH
27         depends on ARCH_RK29
28         bool "ROCKCHIP Board Rk29 For FIH"
29         help
30           Support for the ROCKCHIP Board For Rk29 FIH.
31
32 config MACH_RK29_MALATA
33         depends on ARCH_RK29
34         bool "ROCKCHIP Board Rk29 For Malata"
35         help
36           Support for the ROCKCHIP Board For Rk29 Malata.
37
38 config MACH_RK29_PHONESDK
39         depends on ARCH_RK29
40         bool "ROCKCHIP Board Rk29 For Phone Sdk"
41         help
42           Support for the ROCKCHIP Board For Rk29 Phone Sdk.
43
44 config MACH_RK29_A22
45         depends on ARCH_RK29
46         bool "ROCKCHIP Board Rk29 For A22"
47         help
48           Support for the ROCKCHIP Board For A22.
49
50 config MACH_RK29_PHONEPADSDK
51         depends on ARCH_RK29
52         bool "ROCKCHIP Board Rk29 For Phone Pad Sdk"
53         help
54           Support for the ROCKCHIP Board For Rk29 Phone Pad Sdk.
55           
56 endchoice
57
58 choice DDR_TYPE
59         prompt "DDR Memory Type"
60         default DDR_TYPE_DDR3_DEFAULT 
61
62 config DDR_TYPE_DDRII
63         bool "DDRII"
64         help
65           Support for DDRII memory
66
67 config DDR_TYPE_LPDDR
68         bool "mobile DDR"
69         help
70           Support for mobile DDR, MCP device
71
72 config DDR_TYPE_DDR3_800D
73         bool "DDR3-800 5-5-5"
74
75 config DDR_TYPE_DDR3_800E
76         bool "DDR3-800 6-6-6"
77
78 config DDR_TYPE_DDR3_1066E
79         bool "DDR3-1066 6-6-6"
80
81 config DDR_TYPE_DDR3_1066F
82         bool "DDR3-1066 7-7-7"
83
84 config DDR_TYPE_DDR3_1066G
85         bool "DDR3-1066 8-8-8"
86
87 config DDR_TYPE_DDR3_1333F
88         bool "DDR3-1333 7-7-7"
89
90 config DDR_TYPE_DDR3_1333G
91         bool "DDR3-1333 8-8-8"
92
93 config DDR_TYPE_DDR3_1333H
94         bool "DDR3-1333 9-9-9"
95
96 config DDR_TYPE_DDR3_1333J
97         bool "DDR3-1333 10-10-10"
98
99 config DDR_TYPE_DDR3_1600G
100         bool "DDR3-1600 8-8-8"
101
102 config DDR_TYPE_DDR3_1600H
103         bool "DDR3-1600 9-9-9"
104
105 config DDR_TYPE_DDR3_1600J
106         bool "DDR3-1600 10-10-10"
107
108 config DDR_TYPE_DDR3_1600K
109         bool "DDR3-1600 11-11-11"
110
111 config DDR_TYPE_DDR3_1866J
112         bool "DDR3-1866 10-10-10"
113
114 config DDR_TYPE_DDR3_1866K
115         bool "DDR3-1866 11-11-11"
116
117 config DDR_TYPE_DDR3_1866L
118         bool "DDR3-1866 12-12-12"
119
120 config DDR_TYPE_DDR3_1866M
121         bool "DDR3-1866 13-13-13"
122
123 config DDR_TYPE_DDR3_2133K
124         bool "DDR3-2133 11-11-11"
125
126 config DDR_TYPE_DDR3_2133L
127         bool "DDR3-2133 12-12-12"
128
129 config DDR_TYPE_DDR3_2133M
130         bool "DDR3-2133 13-13-13"
131
132 config DDR_TYPE_DDR3_2133N
133         bool "DDR3-2133 14-14-14"
134
135 config DDR_TYPE_DDR3_DEFAULT
136         bool "DDR3 (Type default)"
137
138 endchoice
139
140 config RK29_MEM_SIZE_M
141         int "DDR Memory size (in MB)"
142         default 512
143
144 config DDR_SDRAM_FREQ
145         int "DDR SDRAM frequence (in MHz)"
146         default 400
147
148 config WIFI_CONTROL_FUNC
149         bool "Enable WiFi control function abstraction"
150         help
151           Enables Power/Reset/Carddetect function abstraction
152
153 menu "RK29 VPU (Video Processing Unit) support"
154
155 config RK29_VPU
156         tristate "Support for RK29 VPU (Video Processing Unit)"
157         depends on ARCH_RK29
158         default y
159
160 config RK29_VPU_DEBUG
161         bool "RK29 VPU debugging"
162         depends on RK29_VPU != n
163         default n
164         help
165           This is an option for the developers; most people should
166           say N here.  This enables RK29 VPU driver debugging.
167
168 endmenu
169
170 config RK29_JTAG
171         bool "Enable JTAG support (debug only)"
172         help
173           This is an option for SDK board. Always enable JTAG clock,
174           but consumes more power.
175
176 config RK29_LAST_LOG
177         bool "Save the last kernel log on /proc/last_log"
178         depends on DEBUG_KERNEL && PRINTK
179         default y
180         help
181           It is only intended for debugging.
182
183 endif