summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.serial
blob: 44c78d80ba66ecfece7d49c1d64f4a183bec3562 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

menu "Serial devices support"
depends on ADK_TARGET_WITH_SERIAL || ADK_TARGET_QEMU || ADK_TARGET_VBOX || ADK_TARGET_SIM || ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_SERIAL_8250_DMA
	bool

config ADK_LINUX_KERNEL_SERIAL_8250_DW
	bool

config ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_8250_PNP
	bool

config ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
	bool

config ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
	bool

config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_SUNCORE
	bool

config ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
	bool

config ADK_LINUX_KERNEL_DA_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
	bool

config ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
	bool

config ADK_LINUX_KERNEL_SERIAL_8250_INGENIC
	bool

config ADK_LINUX_KERNEL_SERIAL_MILKYMIST_CONSOLE
	bool

config ADK_LINUX_KERNEL_SERIAL_BFIN
	bool "BFIN serial driver"
	select ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
	select ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
	depends on ADK_TARGET_ARCH_BFIN
	default y if ADK_TARGET_ARCH_BFIN

config ADK_LINUX_KERNEL_SERIAL_8250
	bool "8250 serial driver"
	select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
						|| ADK_TARGET_SYSTEM_IMGTEC_CI20 \
						|| ADK_TARGET_SYSTEM_QEMU_CSKY \
						|| ADK_TARGET_SYSTEM_QEMU_XTENSA \
						|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
						|| ADK_TARGET_SYSTEM_QEMU_NIOS2 \
						|| ADK_TARGET_SYSTEM_QEMU_OR1K \
						|| ADK_TARGET_SYSTEM_QEMU_RISCV32 \
						|| ADK_TARGET_SYSTEM_QEMU_RISCV64 \
						|| ADK_TARGET_SYSTEM_ANDES_AG101P \
						|| ADK_TARGET_SYSTEM_ORANGE_PI0 \
						|| ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
						|| ADK_TARGET_SYSTEM_SOM_C6745
	select ADK_LINUX_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
	select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
	select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_ORANGE_PI0
	select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
	select ADK_LINUX_KERNEL_SERIAL_8250_DMA if ADK_TARGET_SYSTEM_ORANGE_PI0
	select ADK_LINUX_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
	depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
		|| ADK_TARGET_SYSTEM_IMGTEC_CI20 \
		|| ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \
		|| ADK_TARGET_SYSTEM_ANDES_AG101P \
		|| ADK_TARGET_SYSTEM_PCENGINES_APU \
		|| ADK_TARGET_SYSTEM_PCENGINES_ALIX \
		|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
		|| ADK_TARGET_SYSTEM_QEMU_MIPS \
		|| ADK_TARGET_SYSTEM_QEMU_MIPS64 \
		|| ADK_TARGET_SYSTEM_QEMU_ALPHA \
		|| ADK_TARGET_SYSTEM_QEMU_CSKY \
		|| ADK_TARGET_SYSTEM_QEMU_HPPA \
		|| ADK_TARGET_SYSTEM_QEMU_NIOS2 \
		|| ADK_TARGET_SYSTEM_QEMU_OR1K \
		|| ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
		|| ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS \
		|| ADK_TARGET_SYSTEM_QEMU_RISCV32 \
		|| ADK_TARGET_SYSTEM_QEMU_RISCV64 \
		|| ADK_TARGET_SYSTEM_QEMU_X86 \
		|| ADK_TARGET_SYSTEM_QEMU_X86_64 \
		|| ADK_TARGET_SYSTEM_QEMU_XTENSA \
		|| ADK_TARGET_SYSTEM_GENERIC_NDS32 \
		|| ADK_TARGET_SYSTEM_GENERIC_X86 \
		|| ADK_TARGET_SYSTEM_GENERIC_X86_64 \
		|| ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
		|| ADK_TARGET_SYSTEM_MIKROTIK_RB4XX \
		|| ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG \
		|| ADK_TARGET_SYSTEM_ORANGE_PI0 \
		|| ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
		|| ADK_TARGET_SYSTEM_SOM_C6745
	default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
	default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
	default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
	default y if ADK_TARGET_SYSTEM_ANDES_AG101P
	default y if ADK_TARGET_SYSTEM_PCENGINES_APU
	default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
	default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
	default y if ADK_TARGET_SYSTEM_QEMU_MIPS
	default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
	default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
	default y if ADK_TARGET_SYSTEM_QEMU_CSKY
	default y if ADK_TARGET_SYSTEM_QEMU_HPPA
	default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
	default y if ADK_TARGET_SYSTEM_QEMU_OR1K
	default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
	default y if ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS
	default y if ADK_TARGET_SYSTEM_QEMU_RISCV32
	default y if ADK_TARGET_SYSTEM_QEMU_RISCV64
	default y if ADK_TARGET_SYSTEM_QEMU_X86
	default y if ADK_TARGET_SYSTEM_QEMU_X86_64
	default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
	default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
	default y if ADK_TARGET_SYSTEM_GENERIC_X86
	default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
	default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
	default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
	default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
	default y if ADK_TARGET_SYSTEM_ORANGE_PI0
	default y if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
	default y if ADK_TARGET_SYSTEM_SOM_C6745
	default n
	help
	  Serial driver for 8250 UART chip.

config ADK_LINUX_KERNEL_DA_TTY
	bool "METAG serial driver"
	select ADK_LINUX_KERNEL_DA_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_METAG
	default y if ADK_TARGET_SYSTEM_QEMU_METAG
	default n
	help
	  Serial driver for Qemu METAG Emulation.

config ADK_LINUX_KERNEL_SERIAL_SUNSU
	bool "Sun Sparc64 serial driver"
	select ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_SUNCORE
	depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
	default y if ADK_TARGET_SYSTEM_QEMU_SPARC64
	default n
	help
	  Serial driver for Sun SPARC64.

config ADK_LINUX_KERNEL_SERIAL_ETRAXFS
	bool "ETRAXFS serial driver"
	select ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_CRIS
	default y if ADK_TARGET_SYSTEM_QEMU_CRIS
	default n
	help
	  Serial driver for ETRAXFS CRISv32 Qemu Emulation.

config ADK_LINUX_KERNEL_SERIAL_ARC
	bool "ARC serial driver"
	select ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
	depends on ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
	default y if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
	default n
	help
	  Serial driver for nSIM ARC simulator.

config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART
	bool "Cadence serial driver"
	select ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
	default y if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
	default n
	help
	  Serial driver for Xilinx Zynq.

config ADK_LINUX_KERNEL_SERIAL_IMX
	bool "IMX serial driver"
	select ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
	depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
                   ADK_TARGET_SYSTEM_PHYTEC_IMX6
	default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
		     ADK_TARGET_SYSTEM_PHYTEC_IMX6
	default n
	help
	  Serial driver for IMX6 chip.

config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011
	bool "AMBA PL011 serial driver"
	select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
	select ADK_LINUX_KERNEL_SERIAL_8250
	select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
	depends on ADK_TARGET_BOARD_BCM28XX \
		|| ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
		|| ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
		|| ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
	default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
	default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
	default y if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
	default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
	default y if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
	default n
	help
	  Serial driver for AMBA PL011 chip.

config ADK_LINUX_KERNEL_SERIAL_SH_SCI
	bool "sci serial driver"
	select ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
	depends on ADK_TARGET_SYSTEM_SIM_H8300H \
		|| ADK_TARGET_SYSTEM_SIM_H8S \
		|| ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
	default y if ADK_TARGET_SYSTEM_SIM_H8300H
	default y if ADK_TARGET_SYSTEM_SIM_H8S
	default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
	default n
	help
	  Serial driver for SCI chip.

config ADK_LINUX_KERNEL_SERIAL_MCF
	bool "coldfire serial driver"
	select ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
	default y if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
	default n
	help
	  Serial driver for Qemu coldfire.

config ADK_LINUX_KERNEL_SERIAL_PMACZILOG
	bool "pmac serial driver"
	select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
	select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_M68K_Q800 \
		|| ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
	default y if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
	default y if ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
	default n
	help
	  Serial driver for PMAC Q800 M68K and MACPPC.

config ADK_LINUX_KERNEL_SERIAL_OMAP
	bool "omap serial driver"
	select ADK_LINUX_KERNEL_SERIAL_8250
	select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
	depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK \
		|| ADK_TARGET_SYSTEM_PHYTEC_WEGA
	default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
	default y if ADK_TARGET_SYSTEM_PHYTEC_WEGA
	default n
	help
	  Serial driver for TI OMAP Boards.

config ADK_LINUX_KERNEL_SERIAL_UARTLITE
	bool "uartlite serial driver"
	select ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
		|| ADK_TARGET_SYSTEM_NUMATO_MIMASV2
	default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
	default y if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
	default n
	help
	  Serial driver for UART lite hardware.

config ADK_LINUX_KERNEL_SERIAL_ATMEL
	bool "AT32 serial driver"
	select ADK_LINUX_KERNEL_SERIAL_ATMEL_CONSOLE
	select ADK_LINUX_KERNEL_SERIAL_ATMEL_PDC
	select ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
	depends on ADK_TARGET_CPU_AVR32
	default y if ADK_TARGET_SYSTEM_GRASSHOPPER
	default n
	help
	  Serial driver for AVR32 Grasshopper boards

config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART0
	bool "Enable USART0 on AVR32 Grasshopper boards"
	depends on ADK_LINUX_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
	default n
	help
	  Enable second USART on Grasshoper boards

config ADK_LINUX_KERNEL_SERIAL_MILKYMIST
	bool "Enable UART0 on Milkymist"
	select ADK_LINUX_KERNEL_SERIAL_MILKYMIST_CONSOLE
	depends on ADK_TARGET_SYSTEM_QEMU_LM32
	default y if ADK_TARGET_SYSTEM_QEMU_LM32
	default n
	help
	  Enable second USART on Grasshoper boards

endmenu