blob: 946c8c0fa1fb0de059fcf93a79bf3dc12b82a584 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Russell King1fd15b82013-10-23 16:13:02 +01005config ARM_PTDUMP
6 bool "Export kernel pagetable layout to userspace via debugfs"
7 depends on DEBUG_KERNEL
Arnd Bergmann65ba5082015-05-26 16:07:51 +01008 depends on MMU
Russell King1fd15b82013-10-23 16:13:02 +01009 select DEBUG_FS
10 ---help---
11 Say Y here if you want to show the kernel pagetable layout in a
12 debugfs file. This information is only useful for kernel developers
13 who are working in architecture specific areas of the kernel.
14 It is probably not a good idea to enable this feature in a production
15 kernel.
16 If in doubt, say "N"
17
Nicolas Pitre087aaff2010-09-22 18:34:36 -040018config STRICT_DEVMEM
19 bool "Filter access to /dev/mem"
20 depends on MMU
21 ---help---
22 If this option is disabled, you allow userspace (root) access to all
23 of memory, including kernel and userspace memory. Accidental
24 access to this is obviously disastrous, but specific access can
25 be used by people debugging the kernel.
26
27 If this option is switched on, the /dev/mem file only allows
28 userspace access to memory mapped peripherals.
29
30 If in doubt, say Y.
31
Catalin Marinasadf8b372009-02-12 13:56:34 +010032# RMK wants arm kernels compiled with frame pointers or stack unwinding.
Linus Torvalds1da177e2005-04-16 15:20:36 -070033# If you know what you are doing and are willing to live without stack
34# traces, you can get a slightly smaller kernel by setting this option to
35# n, but then RMK will have to kill you ;).
36config FRAME_POINTER
37 bool
Catalin Marinas16c79652009-07-24 12:33:02 +010038 depends on !THUMB2_KERNEL
Rabin Vincent0e341af2010-11-06 23:03:53 +053039 default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER
Linus Torvalds1da177e2005-04-16 15:20:36 -070040 help
41 If you say N here, the resulting kernel will be slightly smaller and
Catalin Marinasadf8b372009-02-12 13:56:34 +010042 faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled,
43 when a problem occurs with the kernel, the information that is
44 reported is severely limited.
45
46config ARM_UNWIND
Russell King4a50bfe2010-12-05 23:06:22 +000047 bool "Enable stack unwinding support (EXPERIMENTAL)"
Kees Cookd6f94fa2013-01-16 18:53:14 -080048 depends on AEABI
Catalin Marinasadf8b372009-02-12 13:56:34 +010049 default y
50 help
51 This option enables stack unwinding support in the kernel
52 using the information automatically generated by the
53 compiler. The resulting kernel image is slightly bigger but
54 the performance is not affected. Currently, this feature
55 only works with EABI compilers. If unsure say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
Rabin Vincent09bfafa2010-08-10 19:32:37 +010057config OLD_MCOUNT
58 bool
59 depends on FUNCTION_TRACER && FRAME_POINTER
60 default y
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062config DEBUG_USER
63 bool "Verbose user fault messages"
64 help
65 When a user program crashes due to an exception, the kernel can
66 print a brief message explaining what the problem was. This is
67 sometimes helpful for debugging but serves no purpose on a
68 production system. Most people should say N here.
69
70 In addition, you need to pass user_debug=N on the kernel command
71 line to enable this feature. N consists of the sum of:
72
73 1 - undefined instruction events
74 2 - system calls
75 4 - invalid data aborts
76 8 - SIGSEGV faults
77 16 - SIGBUS faults
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079# These options are only for real kernel hackers who want to get their hands dirty.
80config DEBUG_LL
Will Deacon4f5ef922011-09-01 19:04:44 +010081 bool "Kernel low-level debugging functions (read help!)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 depends on DEBUG_KERNEL
83 help
Russell King35efb602005-09-09 15:57:17 +010084 Say Y here to include definitions of printascii, printch, printhex
Linus Torvalds1da177e2005-04-16 15:20:36 -070085 in the kernel. This is helpful if you are debugging code that
86 executes before the console is initialized.
87
Will Deacon4f5ef922011-09-01 19:04:44 +010088 Note that selecting this option will limit the kernel to a single
89 UART definition, as specified below. Attempting to boot the kernel
90 image on a different platform *will not work*, so this option should
91 not be enabled for kernels that are intended to be portable.
92
Will Deacon17916b22011-09-01 18:58:51 +010093choice
94 prompt "Kernel low-level debugging port"
95 depends on DEBUG_LL
96
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +020097 config DEBUG_ALPINE_UART0
98 bool "Kernel low-level debugging messages via Alpine UART0"
99 depends on ARCH_ALPINE
100 select DEBUG_UART_8250
101 help
102 Say Y here if you want kernel low-level debugging support
103 on Alpine based platforms.
104
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +0100105 config DEBUG_ASM9260_UART
106 bool "Kernel low-level debugging via asm9260 UART"
107 depends on MACH_ASM9260
108 help
109 Say Y here if you want the debug print routines to direct
110 their output to an UART or USART port on asm9260 based
111 machines.
112
113 DEBUG_UART_PHYS | DEBUG_UART_VIRT
114
115 0x80000000 | 0xf0000000 | UART0
116 0x80004000 | 0xf0004000 | UART1
117 0x80008000 | 0xf0008000 | UART2
118 0x8000c000 | 0xf000c000 | UART3
119 0x80010000 | 0xf0010000 | UART4
120 0x80014000 | 0xf0014000 | UART5
121 0x80018000 | 0xf0018000 | UART6
122 0x8001c000 | 0xf001c000 | UART7
123 0x80020000 | 0xf0020000 | UART8
124 0x80024000 | 0xf0024000 | UART9
125
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800126 config AT91_DEBUG_LL_DBGU0
Alexandre Belloni5f58c972015-01-12 19:42:14 +0100127 bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10, 9rl, 9x5, 9n12"
128 select DEBUG_AT91_UART
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +0100129 depends on ARCH_AT91
Alexandre Belloniae57d0c2015-01-15 22:58:11 +0100130 depends on SOC_AT91RM9200 || SOC_AT91SAM9
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800131
132 config AT91_DEBUG_LL_DBGU1
Alexandre Belloni5f58c972015-01-12 19:42:14 +0100133 bool "Kernel low-level debugging on 9263, 9g45 and sama5d3"
134 select DEBUG_AT91_UART
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +0100135 depends on ARCH_AT91
Alexandre Belloniae57d0c2015-01-15 22:58:11 +0100136 depends on SOC_AT91SAM9 || SOC_SAMA5
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800137
Nicolas Ferre2dc850b2014-09-15 18:15:54 +0200138 config AT91_DEBUG_LL_DBGU2
139 bool "Kernel low-level debugging on sama5d4"
Alexandre Belloni5f58c972015-01-12 19:42:14 +0100140 select DEBUG_AT91_UART
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +0100141 depends on ARCH_AT91
Alexandre Belloniae57d0c2015-01-15 22:58:11 +0100142 depends on SOC_SAMA5
Nicolas Ferre2dc850b2014-09-15 18:15:54 +0200143
Nicolas Ferrec268a742015-07-30 19:12:12 +0200144 config AT91_DEBUG_LL_DBGU3
145 bool "Kernel low-level debugging on sama5d2"
146 select DEBUG_AT91_UART
147 depends on ARCH_AT91
148 depends on SOC_SAMA5
149
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600150 config DEBUG_BCM2835
151 bool "Kernel low-level debugging on BCM2835 PL011 UART"
152 depends on ARCH_BCM2835
Russell King5c972af2013-07-07 12:32:16 +0100153 select DEBUG_UART_PL01X
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600154
Hauke Mehrtens06580272014-02-04 00:01:44 +0100155 config DEBUG_BCM_5301X
156 bool "Kernel low-level debugging on BCM5301X UART1"
157 depends on ARCH_BCM_5301X
Hauke Mehrtens140bd602014-09-14 21:43:40 +0200158 select DEBUG_UART_8250
Hauke Mehrtens06580272014-02-04 00:01:44 +0100159
Christian Daudt753d1242013-12-23 09:00:01 +0100160 config DEBUG_BCM_KONA_UART
161 bool "Kernel low-level debugging messages via BCM KONA UART"
Florian Fainelli7aa20772014-03-06 09:45:55 -0800162 depends on ARCH_BCM_MOBILE
Christian Daudt753d1242013-12-23 09:00:01 +0100163 select DEBUG_UART_8250
164 help
165 Say Y here if you want kernel low-level debugging support
166 on Broadcom SoC platforms.
167 This low level debug works for Broadcom
168 mobile SoCs in the Kona family of chips (e.g. bcm28155,
169 bcm11351, etc...)
170
Florian Fainellib51312b2014-01-08 09:19:50 -0800171 config DEBUG_BCM63XX
172 bool "Kernel low-level debugging on BCM63XX UART"
173 depends on ARCH_BCM_63XX
174 select DEBUG_UART_BCM63XX
175
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +0200176 config DEBUG_BERLIN_UART
177 bool "Marvell Berlin SoC Debug UART"
178 depends on ARCH_BERLIN
179 select DEBUG_UART_8250
180 help
181 Say Y here if you want kernel low-level debugging support
182 on Marvell Berlin SoC based platforms.
183
Marc Carino81b43a62014-08-13 15:50:02 -0700184 config DEBUG_BRCMSTB_UART
185 bool "Use BRCMSTB UART for low-level debug"
186 depends on ARCH_BRCMSTB
187 select DEBUG_UART_8250
188 help
189 Say Y here if you want the debug print routines to direct
190 their output to the first serial port on these devices.
191
192 If you have a Broadcom STB chip and would like early print
193 messages to appear over the UART, select this option.
194
Stephen Boyd164acf92011-09-22 20:28:35 +0100195 config DEBUG_CLPS711X_UART1
196 bool "Kernel low-level debugging messages via UART1"
197 depends on ARCH_CLPS711X
198 help
199 Say Y here if you want the debug print routines to direct
200 their output to the first serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100201
202 config DEBUG_CLPS711X_UART2
203 bool "Kernel low-level debugging messages via UART2"
204 depends on ARCH_CLPS711X
205 help
206 Say Y here if you want the debug print routines to direct
207 their output to the second serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100208
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100209 config DEBUG_CNS3XXX
210 bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
211 depends on ARCH_CNS3XXX
Krzysztof Hałasab1251702014-09-16 12:35:10 +0200212 select DEBUG_UART_8250
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100213 help
214 Say Y here if you want the debug print routines to direct
215 their output to the CNS3xxx UART0.
216
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100217 config DEBUG_DAVINCI_DA8XX_UART1
218 bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
219 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100220 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100221 help
222 Say Y here if you want the debug print routines to direct
223 their output to UART1 serial port on DaVinci DA8XX devices.
224
225 config DEBUG_DAVINCI_DA8XX_UART2
226 bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
227 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100228 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100229 help
230 Say Y here if you want the debug print routines to direct
231 their output to UART2 serial port on DaVinci DA8XX devices.
232
233 config DEBUG_DAVINCI_DMx_UART0
234 bool "Kernel low-level debugging on DaVinci DMx using UART0"
235 depends on ARCH_DAVINCI_DMx
Russell King97bd1a42013-07-07 16:18:34 +0100236 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100237 help
238 Say Y here if you want the debug print routines to direct
239 their output to UART0 serial port on DaVinci DMx devices.
240
Nick Bowleraaf5e0b2012-11-05 16:45:49 -0500241 config DEBUG_ZYNQ_UART0
242 bool "Kernel low-level debugging on Xilinx Zynq using UART0"
243 depends on ARCH_ZYNQ
244 help
245 Say Y here if you want the debug print routines to direct
246 their output to UART0 on the Zynq platform.
247
248 config DEBUG_ZYNQ_UART1
249 bool "Kernel low-level debugging on Xilinx Zynq using UART1"
250 depends on ARCH_ZYNQ
251 help
252 Say Y here if you want the debug print routines to direct
253 their output to UART1 on the Zynq platform.
254
255 If you have a ZC702 board and want early boot messages to
256 appear on the USB serial adaptor, select this option.
257
Russell Kinge76f4752011-11-23 17:44:05 +0000258 config DEBUG_DC21285_PORT
259 bool "Kernel low-level debugging messages via footbridge serial port"
260 depends on FOOTBRIDGE
261 help
262 Say Y here if you want the debug print routines to direct
263 their output to the serial port in the DC21285 (Footbridge).
264
Baruch Siache23814d2015-01-14 10:40:31 +0200265 config DEBUG_DIGICOLOR_UA0
266 bool "Kernel low-level debugging messages via Digicolor UA0"
267 depends on ARCH_DIGICOLOR
268 help
269 Say Y here if you want the debug print routines to direct
270 their output to the UA0 serial port in the CX92755.
271
Russell Kinge76f4752011-11-23 17:44:05 +0000272 config DEBUG_FOOTBRIDGE_COM1
273 bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
274 depends on FOOTBRIDGE
275 help
276 Say Y here if you want the debug print routines to direct
277 their output to the 8250 at PCI COM1.
278
Haojian Zhuang8d258be2013-08-24 06:58:39 +0100279 config DEBUG_HI3620_UART
280 bool "Hisilicon HI3620 Debug UART"
281 depends on ARCH_HI3xxx
282 select DEBUG_UART_PL01X
283 help
284 Say Y here if you want kernel low-level debugging support
285 on HI3620 UART.
286
287 config DEBUG_HI3716_UART
288 bool "Hisilicon Hi3716 Debug UART"
289 depends on ARCH_HI3xxx
290 select DEBUG_UART_PL01X
291 help
292 Say Y here if you want kernel low-level debugging support
293 on HI3716 UART.
294
Rob Herring220e6cf2011-06-07 10:02:55 -0500295 config DEBUG_HIGHBANK_UART
296 bool "Kernel low-level debugging messages via Highbank UART"
297 depends on ARCH_HIGHBANK
Russell King5c972af2013-07-07 12:32:16 +0100298 select DEBUG_UART_PL01X
Rob Herring220e6cf2011-06-07 10:02:55 -0500299 help
300 Say Y here if you want the debug print routines to direct
301 their output to the UART on Highbank based devices.
302
Wang Long27dafaa2014-12-24 03:09:56 +0000303 config DEBUG_HIP01_UART
304 bool "Hisilicon Hip01 Debug UART"
305 depends on ARCH_HIP01
306 select DEBUG_UART_8250
307 help
308 Say Y here if you want kernel low-level debugging support
309 on HIP01 UART.
310
Haojian Zhuangc9a1df42013-12-20 15:01:41 +0800311 config DEBUG_HIP04_UART
312 bool "Hisilicon HiP04 Debug UART"
313 depends on ARCH_HIP04
314 select DEBUG_UART_8250
315 help
316 Say Y here if you want kernel low-level debugging support
317 on HIP04 UART.
318
Olof Johansson37bdaf82014-09-23 22:21:54 -0700319 config DEBUG_HIX5HD2_UART
320 bool "Hisilicon Hix5hd2 Debug UART"
321 depends on ARCH_HIX5HD2
Catalin Marinas93fd03a2009-12-09 10:02:18 +0000322 select DEBUG_UART_PL01X
323 help
Olof Johansson37bdaf82014-09-23 22:21:54 -0700324 Say Y here if you want kernel low-level debugging support
325 on Hix5hd2 UART.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326
Shawn Guof350b862011-08-19 05:56:59 +0100327 config DEBUG_IMX1_UART
328 bool "i.MX1 Debug UART"
329 depends on SOC_IMX1
330 help
331 Say Y here if you want kernel low-level debugging support
332 on i.MX1.
333
334 config DEBUG_IMX23_UART
335 bool "i.MX23 Debug UART"
336 depends on SOC_IMX23
Russell King5c972af2013-07-07 12:32:16 +0100337 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100338 help
339 Say Y here if you want kernel low-level debugging support
340 on i.MX23.
341
342 config DEBUG_IMX25_UART
343 bool "i.MX25 Debug UART"
344 depends on SOC_IMX25
345 help
346 Say Y here if you want kernel low-level debugging support
347 on i.MX25.
348
349 config DEBUG_IMX21_IMX27_UART
350 bool "i.MX21 and i.MX27 Debug UART"
351 depends on SOC_IMX21 || SOC_IMX27
352 help
353 Say Y here if you want kernel low-level debugging support
354 on i.MX21 or i.MX27.
355
356 config DEBUG_IMX28_UART
357 bool "i.MX28 Debug UART"
358 depends on SOC_IMX28
Russell King5c972af2013-07-07 12:32:16 +0100359 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100360 help
361 Say Y here if you want kernel low-level debugging support
362 on i.MX28.
363
Shawn Guo4ad625d2012-12-12 18:54:01 +0800364 config DEBUG_IMX31_UART
365 bool "i.MX31 Debug UART"
366 depends on SOC_IMX31
Shawn Guof350b862011-08-19 05:56:59 +0100367 help
368 Say Y here if you want kernel low-level debugging support
Shawn Guo4ad625d2012-12-12 18:54:01 +0800369 on i.MX31.
370
371 config DEBUG_IMX35_UART
372 bool "i.MX35 Debug UART"
373 depends on SOC_IMX35
374 help
375 Say Y here if you want kernel low-level debugging support
376 on i.MX35.
Shawn Guof350b862011-08-19 05:56:59 +0100377
Greg Ungererad364a72013-10-29 15:15:51 +1000378 config DEBUG_IMX50_UART
379 bool "i.MX50 Debug UART"
380 depends on SOC_IMX50
381 help
382 Say Y here if you want kernel low-level debugging support
383 on i.MX50.
384
Shawn Guof350b862011-08-19 05:56:59 +0100385 config DEBUG_IMX51_UART
386 bool "i.MX51 Debug UART"
387 depends on SOC_IMX51
388 help
389 Say Y here if you want kernel low-level debugging support
390 on i.MX51.
391
Fabio Estevam7356420c2013-01-22 10:40:55 -0200392 config DEBUG_IMX53_UART
393 bool "i.MX53 Debug UART"
394 depends on SOC_IMX53
Shawn Guof350b862011-08-19 05:56:59 +0100395 help
396 Say Y here if you want kernel low-level debugging support
Fabio Estevam7356420c2013-01-22 10:40:55 -0200397 on i.MX53.
Shawn Guof350b862011-08-19 05:56:59 +0100398
Shawn Guo49c9e602012-10-08 13:44:29 +0800399 config DEBUG_IMX6Q_UART
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800400 bool "i.MX6Q/DL Debug UART"
Dirk Behme785d7fa2012-04-27 10:15:45 +0200401 depends on SOC_IMX6Q
402 help
403 Say Y here if you want kernel low-level debugging support
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800404 on i.MX6Q/DL.
Shawn Guobac89d72011-10-02 15:09:11 +0800405
Shawn Guo34e8a162013-05-03 11:21:03 +0800406 config DEBUG_IMX6SL_UART
407 bool "i.MX6SL Debug UART"
408 depends on SOC_IMX6SL
409 help
410 Say Y here if you want kernel low-level debugging support
411 on i.MX6SL.
412
Shawn Guo74368e82014-05-11 21:53:48 +0800413 config DEBUG_IMX6SX_UART
414 bool "i.MX6SX Debug UART"
415 depends on SOC_IMX6SX
416 help
417 Say Y here if you want kernel low-level debugging support
418 on i.MX6SX.
419
Anson Huang52d7aec2015-05-06 23:16:07 +0800420 config DEBUG_IMX7D_UART
421 bool "i.MX7D Debug UART"
422 depends on SOC_IMX7D
423 help
424 Say Y here if you want kernel low-level debugging support
425 on i.MX7D.
426
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400427 config DEBUG_KEYSTONE_UART0
428 bool "Kernel low-level debugging on KEYSTONE2 using UART0"
429 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100430 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400431 help
432 Say Y here if you want the debug print routines to direct
433 their output to UART0 serial port on KEYSTONE2 devices.
434
435 config DEBUG_KEYSTONE_UART1
436 bool "Kernel low-level debugging on KEYSTONE2 using UART1"
437 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100438 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400439 help
440 Say Y here if you want the debug print routines to direct
441 their output to UART1 serial port on KEYSTONE2 devices.
442
Daniel Thompsonabbfb212015-01-09 18:33:36 +0100443 config DEBUG_KS8695_UART
444 bool "KS8695 Debug UART"
445 depends on ARCH_KS8695
446 help
447 Say Y here if you want kernel low-level debugging support
448 on KS8695.
449
Joachim Eastwood0aed6a32015-05-19 20:55:03 +0200450 config DEBUG_LPC18XX_UART0
451 bool "Kernel low-level debugging via LPC18xx/43xx UART0"
452 depends on ARCH_LPC18XX
453 select DEBUG_UART_8250
454 help
455 Say Y here if you want kernel low-level debugging support
456 on NXP LPC18xx/43xx UART0.
457
Carlo Caioned8a00912014-09-09 21:38:00 +0200458 config DEBUG_MESON_UARTAO
459 bool "Kernel low-level debugging via Meson6 UARTAO"
460 depends on ARCH_MESON
461 help
462 Say Y here if you want kernel low-lever debugging support
463 on Amlogic Meson6 based platforms on the UARTAO.
464
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800465 config DEBUG_MMP_UART2
466 bool "Kernel low-level debugging message via MMP UART2"
467 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100468 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800469 help
470 Say Y here if you want kernel low-level debugging support
471 on MMP UART2.
472
473 config DEBUG_MMP_UART3
474 bool "Kernel low-level debugging message via MMP UART3"
475 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100476 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800477 help
478 Say Y here if you want kernel low-level debugging support
479 on MMP UART3.
480
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300481 config DEBUG_QCOM_UARTDM
482 bool "Kernel low-level debugging messages via QCOM UARTDM"
483 depends on ARCH_QCOM
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800484 help
485 Say Y here if you want the debug print routines to direct
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300486 their output to the serial port on Qualcomm devices.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800487
Stephen Boyd30cd6552014-09-05 15:51:56 -0700488 ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT
489 APQ8064 0x16640000 0xf0040000
Georgi Djakov2f528dd2014-05-23 18:12:32 +0300490 APQ8084 0xf995e000 0xfa75e000
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300491 MSM8X60 0x19c40000 0xf0040000
492 MSM8960 0x16440000 0xf0040000
493 MSM8974 0xf991e000 0xfa71e000
494
495 Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
496 options based on your needs.
Rohit Vaswani3c8828f2013-10-17 22:15:35 +0100497
Maxime Ripardd91125d2015-01-08 18:38:03 +0100498 config DEBUG_MVEBU_UART0
499 bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
Rob Herringbfd5af92012-09-02 14:41:34 -0500500 depends on ARCH_MVEBU
Russell King4a0036472013-07-06 23:13:15 +0100501 select DEBUG_UART_8250
Rob Herringbfd5af92012-09-02 14:41:34 -0500502 help
503 Say Y here if you want kernel low-level debugging support
Maxime Ripardd91125d2015-01-08 18:38:03 +0100504 on MVEBU based platforms on UART0.
Rob Herringbfd5af92012-09-02 14:41:34 -0500505
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200506 This option should be used with the old bootloaders
507 that left the internal registers mapped at
508 0xd0000000. As of today, this is the case on
509 platforms such as the Globalscale Mirabox or the
510 Plathome OpenBlocks AX3, when using the original
511 bootloader.
512
513 If the wrong DEBUG_MVEBU_UART* option is selected,
514 when u-boot hands over to the kernel, the system
515 silently crashes, with no serial output at all.
516
Maxime Ripardd91125d2015-01-08 18:38:03 +0100517 config DEBUG_MVEBU_UART0_ALTERNATE
518 bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200519 depends on ARCH_MVEBU
Russell King4a0036472013-07-06 23:13:15 +0100520 select DEBUG_UART_8250
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200521 help
522 Say Y here if you want kernel low-level debugging support
Maxime Ripardd91125d2015-01-08 18:38:03 +0100523 on MVEBU based platforms on UART0.
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200524
525 This option should be used with the new bootloaders
526 that remap the internal registers at 0xf1000000.
527
528 If the wrong DEBUG_MVEBU_UART* option is selected,
529 when u-boot hands over to the kernel, the system
530 silently crashes, with no serial output at all.
531
Maxime Ripardbd920492015-01-08 18:38:04 +0100532 config DEBUG_MVEBU_UART1_ALTERNATE
533 bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
534 depends on ARCH_MVEBU
535 select DEBUG_UART_8250
536 help
537 Say Y here if you want kernel low-level debugging support
538 on MVEBU based platforms on UART1.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700539
Linus Torvalds1da177e2005-04-16 15:20:36 -0700540 This option should be used with the new bootloaders
541 that remap the internal registers at 0xf1000000.
542
543 If the wrong DEBUG_MVEBU_UART* option is selected,
544 when u-boot hands over to the kernel, the system
545 silently crashes, with no serial output at all.
546
Shawn Guoc7c3eac2013-05-12 17:22:17 +0800547 config DEBUG_VF_UART
548 bool "Vybrid UART"
549 depends on SOC_VF610
550 help
551 Say Y here if you want kernel low-level debugging support
552 on Vybrid based platforms.
553
Daniel Thompson4d31e662015-01-09 18:34:03 +0100554 config DEBUG_NETX_UART
555 bool "Kernel low-level debugging messages via NetX UART"
556 depends on ARCH_NETX
557 help
558 Say Y here if you want kernel low-level debugging support
559 on Hilscher NetX based platforms.
560
Linus Walleij266c3472013-02-27 22:39:57 +0100561 config DEBUG_NOMADIK_UART
562 bool "Kernel low-level debugging messages via NOMADIK UART"
563 depends on ARCH_NOMADIK
Russell King5c972af2013-07-07 12:32:16 +0100564 select DEBUG_UART_PL01X
Linus Walleij266c3472013-02-27 22:39:57 +0100565 help
566 Say Y here if you want kernel low-level debugging support
567 on NOMADIK based platforms.
568
Daniel Tang9851ca52013-06-11 18:40:17 +1000569 config DEBUG_NSPIRE_CLASSIC_UART
570 bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
571 depends on ARCH_NSPIRE
Russell King4a0036472013-07-06 23:13:15 +0100572 select DEBUG_UART_8250
Daniel Tang9851ca52013-06-11 18:40:17 +1000573 help
574 Say Y here if you want kernel low-level debugging support
575 on TI-NSPIRE classic models.
576
577 config DEBUG_NSPIRE_CX_UART
578 bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
579 depends on ARCH_NSPIRE
Russell King5c972af2013-07-07 12:32:16 +0100580 select DEBUG_UART_PL01X
Daniel Tang9851ca52013-06-11 18:40:17 +1000581 help
582 Say Y here if you want kernel low-level debugging support
583 on TI-NSPIRE CX models.
584
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100585 config DEBUG_OMAP1UART1
586 bool "Kernel low-level debugging via OMAP1 UART1"
587 depends on ARCH_OMAP1
588 select DEBUG_UART_8250
589 help
590 Say Y here if you want kernel low-level debugging support
591 on OMAP1 based platforms (except OMAP730) on the UART1.
592
593 config DEBUG_OMAP1UART2
594 bool "Kernel low-level debugging via OMAP1 UART2"
595 depends on ARCH_OMAP1
596 select DEBUG_UART_8250
597 help
598 Say Y here if you want kernel low-level debugging support
599 on OMAP1 based platforms (except OMAP730) on the UART2.
600
601 config DEBUG_OMAP1UART3
602 bool "Kernel low-level debugging via OMAP1 UART3"
603 depends on ARCH_OMAP1
604 select DEBUG_UART_8250
605 help
606 Say Y here if you want kernel low-level debugging support
607 on OMAP1 based platforms (except OMAP730) on the UART3.
608
Russell Kingcce278d2013-07-06 14:23:30 +0100609 config DEBUG_OMAP2UART1
610 bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
Tony Lindgren808b7e02013-01-11 11:24:19 -0800611 depends on ARCH_OMAP2PLUS
Russell Kingcce278d2013-07-06 14:23:30 +0100612 select DEBUG_OMAP2PLUS_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -0800613 help
Russell Kingcce278d2013-07-06 14:23:30 +0100614 This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
615 omap3 torpedo and 3530 lv som.
616
617 config DEBUG_OMAP2UART2
618 bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
619 depends on ARCH_OMAP2PLUS
620 select DEBUG_OMAP2PLUS_UART
621
622 config DEBUG_OMAP2UART3
623 bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
624 depends on ARCH_OMAP2PLUS
625 select DEBUG_OMAP2PLUS_UART
626
627 config DEBUG_OMAP3UART3
628 bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
629 depends on ARCH_OMAP2PLUS
630 select DEBUG_OMAP2PLUS_UART
631 help
632 This covers at least cm_t3x, beagle, crane, devkit8000,
633 igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
634 and 3517evm.
635
636 config DEBUG_OMAP4UART3
637 bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
638 depends on ARCH_OMAP2PLUS
639 select DEBUG_OMAP2PLUS_UART
640
641 config DEBUG_OMAP3UART4
642 bool "Kernel low-level debugging messages via OMAP36XX UART4"
643 depends on ARCH_OMAP2PLUS
644 select DEBUG_OMAP2PLUS_UART
645
646 config DEBUG_OMAP4UART4
647 bool "Kernel low-level debugging messages via OMAP4/5 UART4"
648 depends on ARCH_OMAP2PLUS
649 select DEBUG_OMAP2PLUS_UART
650
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100651 config DEBUG_OMAP7XXUART1
652 bool "Kernel low-level debugging via OMAP730 UART1"
653 depends on ARCH_OMAP730
654 select DEBUG_UART_8250
655 help
656 Say Y here if you want kernel low-level debugging support
657 on OMAP730 based platforms on the UART1.
658
659 config DEBUG_OMAP7XXUART2
660 bool "Kernel low-level debugging via OMAP730 UART2"
661 depends on ARCH_OMAP730
662 select DEBUG_UART_8250
663 help
664 Say Y here if you want kernel low-level debugging support
665 on OMAP730 based platforms on the UART2.
666
667 config DEBUG_OMAP7XXUART3
668 bool "Kernel low-level debugging via OMAP730 UART3"
669 depends on ARCH_OMAP730
670 select DEBUG_UART_8250
671 help
672 Say Y here if you want kernel low-level debugging support
673 on OMAP730 based platforms on the UART3.
674
Russell Kingcce278d2013-07-06 14:23:30 +0100675 config DEBUG_TI81XXUART1
676 bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
677 depends on ARCH_OMAP2PLUS
678 select DEBUG_OMAP2PLUS_UART
679
680 config DEBUG_TI81XXUART2
681 bool "Kernel low-level debugging messages via TI81XX UART2"
682 depends on ARCH_OMAP2PLUS
683 select DEBUG_OMAP2PLUS_UART
684
685 config DEBUG_TI81XXUART3
686 bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
687 depends on ARCH_OMAP2PLUS
688 select DEBUG_OMAP2PLUS_UART
689
690 config DEBUG_AM33XXUART1
691 bool "Kernel low-level debugging messages via AM33XX UART1"
692 depends on ARCH_OMAP2PLUS
693 select DEBUG_OMAP2PLUS_UART
694
695 config DEBUG_ZOOM_UART
696 bool "Kernel low-level debugging messages via Zoom2/3 UART"
697 depends on ARCH_OMAP2PLUS
698 select DEBUG_OMAP2PLUS_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -0800699
Rob Herring59bba2a2012-09-06 14:14:46 -0500700 config DEBUG_PICOXCELL_UART
701 depends on ARCH_PICOXCELL
702 bool "Use PicoXcell UART for low-level debug"
Russell King0b4cccb2013-07-07 11:42:46 +0100703 select DEBUG_UART_8250
Rob Herring59bba2a2012-09-06 14:14:46 -0500704 help
705 Say Y here if you want kernel low-level debugging support
706 on PicoXcell based platforms.
707
Haojian Zhuang0a43cd3b2013-04-10 11:17:04 +0800708 config DEBUG_PXA_UART1
709 depends on ARCH_PXA
710 bool "Use PXA UART1 for low-level debug"
Russell King4a0036472013-07-06 23:13:15 +0100711 select DEBUG_UART_8250
Haojian Zhuang0a43cd3b2013-04-10 11:17:04 +0800712 help
713 Say Y here if you want kernel low-level debugging support
714 on PXA UART1.
715
Russell Kinge76f4752011-11-23 17:44:05 +0000716 config DEBUG_REALVIEW_STD_PORT
717 bool "RealView Default UART"
718 depends on ARCH_REALVIEW
Russell King5c972af2013-07-07 12:32:16 +0100719 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000720 help
721 Say Y here if you want the debug print routines to direct
722 their output to the serial port on RealView EB, PB11MP, PBA8
723 and PBX platforms.
724
725 config DEBUG_REALVIEW_PB1176_PORT
726 bool "RealView PB1176 UART"
727 depends on MACH_REALVIEW_PB1176
Russell King5c972af2013-07-07 12:32:16 +0100728 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000729 help
730 Say Y here if you want the debug print routines to direct
731 their output to the standard serial port on the RealView
732 PB1176 platform.
733
Russell Kingcce278d2013-07-06 14:23:30 +0100734 config DEBUG_RK29_UART0
735 bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200736 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100737 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100738 help
739 Say Y here if you want kernel low-level debugging support
740 on Rockchip based platforms.
741
742 config DEBUG_RK29_UART1
743 bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
744 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100745 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100746 help
747 Say Y here if you want kernel low-level debugging support
748 on Rockchip based platforms.
749
750 config DEBUG_RK29_UART2
751 bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
752 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100753 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100754 help
755 Say Y here if you want kernel low-level debugging support
756 on Rockchip based platforms.
757
758 config DEBUG_RK3X_UART0
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200759 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
Russell Kingcce278d2013-07-06 14:23:30 +0100760 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100761 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100762 help
763 Say Y here if you want kernel low-level debugging support
764 on Rockchip based platforms.
765
766 config DEBUG_RK3X_UART1
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200767 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
Russell Kingcce278d2013-07-06 14:23:30 +0100768 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100769 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100770 help
771 Say Y here if you want kernel low-level debugging support
772 on Rockchip based platforms.
773
774 config DEBUG_RK3X_UART2
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200775 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
Russell Kingcce278d2013-07-06 14:23:30 +0100776 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100777 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100778 help
779 Say Y here if you want kernel low-level debugging support
780 on Rockchip based platforms.
781
782 config DEBUG_RK3X_UART3
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200783 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
Russell Kingcce278d2013-07-06 14:23:30 +0100784 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100785 select DEBUG_UART_8250
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200786 help
787 Say Y here if you want kernel low-level debugging support
788 on Rockchip based platforms.
789
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +0200790 config DEBUG_RK32_UART2
791 bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
792 depends on ARCH_ROCKCHIP
793 select DEBUG_UART_8250
794 help
795 Say Y here if you want kernel low-level debugging support
796 on Rockchip RK32xx based platforms.
797
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100798 config DEBUG_R7S72100_SCIF2
799 bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
800 depends on ARCH_R7S72100
801 help
802 Say Y here if you want kernel low-level debugging support
803 via SCIF2 on Renesas RZ/A1H (R7S72100).
804
805 config DEBUG_RCAR_GEN1_SCIF0
806 bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
807 depends on ARCH_R8A7778
808 help
809 Say Y here if you want kernel low-level debugging support
810 via SCIF0 on Renesas R-Car M1A (R8A7778).
811
812 config DEBUG_RCAR_GEN1_SCIF2
813 bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
814 depends on ARCH_R8A7779
815 help
816 Say Y here if you want kernel low-level debugging support
817 via SCIF2 on Renesas R-Car H1 (R8A7779).
818
819 config DEBUG_RCAR_GEN2_SCIF0
Geert Uytterhoevene2fd51b2015-02-26 11:29:35 +0100820 bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793"
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100821 depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
822 help
823 Say Y here if you want kernel low-level debugging support
824 via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), or
825 M2-N (R8A7793).
826
827 config DEBUG_RCAR_GEN2_SCIF2
828 bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
829 depends on ARCH_R8A7794
830 help
831 Say Y here if you want kernel low-level debugging support
832 via SCIF2 on Renesas R-Car E2 (R8A7794).
833
834 config DEBUG_RMOBILE_SCIFA0
Magnus Damm59b89af2015-01-26 15:19:20 +0900835 bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
836 depends on ARCH_R8A73A4
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100837 help
838 Say Y here if you want kernel low-level debugging support
Magnus Damm59b89af2015-01-26 15:19:20 +0900839 via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100840
841 config DEBUG_RMOBILE_SCIFA1
842 bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
843 depends on ARCH_R8A7740
844 help
845 Say Y here if you want kernel low-level debugging support
846 via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
847
848 config DEBUG_RMOBILE_SCIFA4
849 bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
850 depends on ARCH_SH73A0
851 help
852 Say Y here if you want kernel low-level debugging support
853 via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
854
Russell Kinge76f4752011-11-23 17:44:05 +0000855 config DEBUG_S3C_UART0
856 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100857 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900858 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200859 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900860 bool "Use Samsung S3C UART 0 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000861 help
862 Say Y here if you want the debug print routines to direct
863 their output to UART 0. The port must have been initialised
864 by the boot-loader before use.
865
Russell Kinge76f4752011-11-23 17:44:05 +0000866 config DEBUG_S3C_UART1
867 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100868 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900869 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200870 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900871 bool "Use Samsung S3C UART 1 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000872 help
873 Say Y here if you want the debug print routines to direct
874 their output to UART 1. The port must have been initialised
875 by the boot-loader before use.
876
Russell Kinge76f4752011-11-23 17:44:05 +0000877 config DEBUG_S3C_UART2
878 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100879 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900880 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200881 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900882 bool "Use Samsung S3C UART 2 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000883 help
884 Say Y here if you want the debug print routines to direct
885 their output to UART 2. The port must have been initialised
886 by the boot-loader before use.
887
Olof Johansson5fa23dd2012-11-22 14:24:04 +0900888 config DEBUG_S3C_UART3
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200889 depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210)
890 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
891 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900892 bool "Use Samsung S3C UART 3 for low-level debug"
Olof Johansson5fa23dd2012-11-22 14:24:04 +0900893 help
894 Say Y here if you want the debug print routines to direct
895 their output to UART 3. The port must have been initialised
896 by the boot-loader before use.
897
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +0900898 config DEBUG_S3C2410_UART0
899 depends on ARCH_S3C24XX
900 select DEBUG_S3C2410_UART
901 bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
902 help
903 Say Y here if you want the debug print routines to direct
904 their output to UART 0. The port must have been initialised
905 by the boot-loader before use.
906
907 config DEBUG_S3C2410_UART1
908 depends on ARCH_S3C24XX
909 select DEBUG_S3C2410_UART
910 bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
911 help
912 Say Y here if you want the debug print routines to direct
913 their output to UART 1. The port must have been initialised
914 by the boot-loader before use.
915
916 config DEBUG_S3C2410_UART2
917 depends on ARCH_S3C24XX
918 select DEBUG_S3C2410_UART
919 bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
920 help
921 Say Y here if you want the debug print routines to direct
922 their output to UART 2. The port must have been initialised
923 by the boot-loader before use.
924
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +0300925 config DEBUG_SA1100
926 depends on ARCH_SA1100
927 bool "Use SA1100 UARTs for low-level debug"
928 help
929 Say Y here if you want kernel low-level debugging support
930 on SA-11x0 UART ports. The kernel will check for the first
931 enabled UART in a sequence 3-1-2.
932
Dinh Nguyende73c162015-03-09 15:48:31 -0500933 config DEBUG_SOCFPGA_UART0
Rob Herring6111bf72012-09-06 14:11:28 -0500934 depends on ARCH_SOCFPGA
Dinh Nguyende73c162015-03-09 15:48:31 -0500935 bool "Use SOCFPGA UART0 for low-level debug"
Russell King0b4cccb2013-07-07 11:42:46 +0100936 select DEBUG_UART_8250
Rob Herring6111bf72012-09-06 14:11:28 -0500937 help
938 Say Y here if you want kernel low-level debugging support
Dinh Nguyende73c162015-03-09 15:48:31 -0500939 on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
940
941 config DEBUG_SOCFPGA_UART1
942 depends on ARCH_SOCFPGA
943 bool "Use SOCFPGA UART1 for low-level debug"
944 select DEBUG_UART_8250
945 help
946 Say Y here if you want kernel low-level debugging support
947 on SOCFPGA(Arria 10) based platforms.
948
Rob Herring6111bf72012-09-06 14:11:28 -0500949
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +0800950 config DEBUG_SUN9I_UART0
951 bool "Kernel low-level debugging messages via sun9i UART0"
952 depends on MACH_SUN9I
953 select DEBUG_UART_8250
954 help
955 Say Y here if you want kernel low-level debugging support
956 on Allwinner A80 based platforms on the UART0.
957
Stefan Roeseaa251152012-11-19 12:09:41 +0100958 config DEBUG_SUNXI_UART0
959 bool "Kernel low-level debugging messages via sunXi UART0"
960 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +0100961 select DEBUG_UART_8250
Stefan Roeseaa251152012-11-19 12:09:41 +0100962 help
963 Say Y here if you want kernel low-level debugging support
964 on Allwinner A1X based platforms on the UART0.
965
Maxime Ripardcb84fa12012-11-08 12:40:49 +0100966 config DEBUG_SUNXI_UART1
967 bool "Kernel low-level debugging messages via sunXi UART1"
968 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +0100969 select DEBUG_UART_8250
Maxime Ripardcb84fa12012-11-08 12:40:49 +0100970 help
971 Say Y here if you want kernel low-level debugging support
972 on Allwinner A1X based platforms on the UART1.
973
Chen-Yu Tsaic4718542014-06-20 22:52:51 +0800974 config DEBUG_SUNXI_R_UART
975 bool "Kernel low-level debugging messages via sunXi R_UART"
976 depends on MACH_SUN6I || MACH_SUN8I
977 select DEBUG_UART_8250
978 help
979 Say Y here if you want kernel low-level debugging support
980 on Allwinner A31/A23 based platforms on the R_UART.
981
Russell Kingcce278d2013-07-06 14:23:30 +0100982 config TEGRA_DEBUG_UART_AUTO_ODMDATA
983 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
Stephen Warren46067802012-09-25 15:54:56 -0600984 depends on ARCH_TEGRA
Russell Kingcce278d2013-07-06 14:23:30 +0100985 select DEBUG_TEGRA_UART
986 help
987 Automatically determines which UART to use for low-level
988 debug based on the ODMDATA value. This value is part of
989 the BCT, and is written to the boot memory device using
990 nvflash, or other flashing tool. When bits 19:18 are 3,
991 then bits 17:15 indicate which UART to use; 0/1/2/3/4
992 are UART A/B/C/D/E.
993
994 config TEGRA_DEBUG_UARTA
995 bool "Kernel low-level debugging messages via Tegra UART A"
996 depends on ARCH_TEGRA
997 select DEBUG_TEGRA_UART
998 help
999 Say Y here if you want kernel low-level debugging support
1000 on Tegra based platforms.
1001
1002 config TEGRA_DEBUG_UARTB
1003 bool "Kernel low-level debugging messages via Tegra UART B"
1004 depends on ARCH_TEGRA
1005 select DEBUG_TEGRA_UART
1006 help
1007 Say Y here if you want kernel low-level debugging support
1008 on Tegra based platforms.
1009
1010 config TEGRA_DEBUG_UARTC
1011 bool "Kernel low-level debugging messages via Tegra UART C"
1012 depends on ARCH_TEGRA
1013 select DEBUG_TEGRA_UART
1014 help
1015 Say Y here if you want kernel low-level debugging support
1016 on Tegra based platforms.
1017
1018 config TEGRA_DEBUG_UARTD
1019 bool "Kernel low-level debugging messages via Tegra UART D"
1020 depends on ARCH_TEGRA
1021 select DEBUG_TEGRA_UART
1022 help
1023 Say Y here if you want kernel low-level debugging support
1024 on Tegra based platforms.
1025
1026 config TEGRA_DEBUG_UARTE
1027 bool "Kernel low-level debugging messages via Tegra UART E"
1028 depends on ARCH_TEGRA
1029 select DEBUG_TEGRA_UART
Stephen Warren46067802012-09-25 15:54:56 -06001030 help
1031 Say Y here if you want kernel low-level debugging support
1032 on Tegra based platforms.
1033
Barry Song7f46a102012-12-20 19:45:25 +08001034 config DEBUG_SIRFPRIMA2_UART1
1035 bool "Kernel low-level debugging messages via SiRFprimaII UART1"
1036 depends on ARCH_PRIMA2
Guo Zeng01ea63d2015-01-04 17:40:54 +08001037 select DEBUG_SIRFSOC_UART
Barry Song7f46a102012-12-20 19:45:25 +08001038 help
1039 Say Y here if you want the debug print routines to direct
1040 their output to the uart1 port on SiRFprimaII devices.
1041
Guo Zeng01ea63d2015-01-04 17:40:54 +08001042 config DEBUG_SIRFATLAS7_UART0
1043 bool "Kernel low-level debugging messages via SiRFatlas7 UART0"
1044 depends on ARCH_ATLAS7
1045 select DEBUG_SIRFSOC_UART
Barry Song7f46a102012-12-20 19:45:25 +08001046 help
1047 Say Y here if you want the debug print routines to direct
Guo Zeng01ea63d2015-01-04 17:40:54 +08001048 their output to the uart0 port on SiRFATLAS7 devices.The uart0
1049 is used on SiRFATLAS7 as a extra debug port.sometimes an extra
1050 debug port can be very useful.
1051
1052 config DEBUG_SIRFATLAS7_UART1
1053 bool "Kernel low-level debugging messages via SiRFatlas7 UART1"
1054 depends on ARCH_ATLAS7
1055 select DEBUG_SIRFSOC_UART
1056 help
1057 Say Y here if you want the debug print routines to direct
1058 their output to the uart1 port on SiRFATLAS7 devices.
Barry Song7f46a102012-12-20 19:45:25 +08001059
Russell Kingcce278d2013-07-06 14:23:30 +01001060 config STIH41X_DEBUG_ASC2
1061 bool "Use StiH415/416 ASC2 UART for low-level debug"
Arnd Bergmann5562b802013-07-05 16:08:44 +02001062 depends on ARCH_STI
Russell Kingcce278d2013-07-06 14:23:30 +01001063 select DEBUG_STI_UART
Arnd Bergmann5562b802013-07-05 16:08:44 +02001064 help
1065 Say Y here if you want kernel low-level debugging support
Russell Kingcce278d2013-07-06 14:23:30 +01001066 on STiH415/416 based platforms like b2000, which has
1067 default UART wired up to ASC2.
1068
1069 If unsure, say N.
1070
1071 config STIH41X_DEBUG_SBC_ASC1
1072 bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
1073 depends on ARCH_STI
1074 select DEBUG_STI_UART
1075 help
1076 Say Y here if you want kernel low-level debugging support
1077 on STiH415/416 based platforms like b2020. which has
1078 default UART wired up to SBC ASC1.
Arnd Bergmann5562b802013-07-05 16:08:44 +02001079
1080 If unsure, say N.
1081
Linus Walleijdd324da2013-05-02 16:34:19 +02001082 config DEBUG_U300_UART
1083 bool "Kernel low-level debugging messages via U300 UART0"
1084 depends on ARCH_U300
Russell King5c972af2013-07-07 12:32:16 +01001085 select DEBUG_UART_PL01X
Linus Walleijdd324da2013-05-02 16:34:19 +02001086 help
1087 Say Y here if you want the debug print routines to direct
1088 their output to the uart port on U300 devices.
1089
Linus Walleijf87b95d2013-03-19 11:01:36 +01001090 config DEBUG_UX500_UART
1091 depends on ARCH_U8500
1092 bool "Use Ux500 UART for low-level debug"
1093 help
1094 Say Y here if you want kernel low-level debugging support
1095 on Ux500 based platforms.
1096
Matthias Bruggerd6682082014-08-18 16:58:00 +02001097 config DEBUG_MT6589_UART0
1098 bool "Mediatek mt6589 UART0"
1099 depends on ARCH_MEDIATEK
1100 select DEBUG_UART_8250
1101 help
1102 Say Y here if you want kernel low-level debugging support
1103 for Mediatek mt6589 based platforms on UART0.
1104
Joe.C65ec48c2014-11-04 15:30:54 +08001105 config DEBUG_MT8127_UART0
Matthias Brugger60851d72015-01-14 09:42:02 +01001106 bool "Mediatek mt8127/mt6592 UART0"
Joe.C65ec48c2014-11-04 15:30:54 +08001107 depends on ARCH_MEDIATEK
1108 select DEBUG_UART_8250
1109 help
1110 Say Y here if you want kernel low-level debugging support
1111 for Mediatek mt8127 based platforms on UART0.
1112
1113 config DEBUG_MT8135_UART3
1114 bool "Mediatek mt8135 UART3"
1115 depends on ARCH_MEDIATEK
1116 select DEBUG_UART_8250
1117 help
1118 Say Y here if you want kernel low-level debugging support
1119 for Mediatek mt8135 based platforms on UART3.
1120
Pawel Moll1b820ea2012-07-11 17:07:25 +01001121 config DEBUG_VEXPRESS_UART0_DETECT
1122 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
1123 depends on ARCH_VEXPRESS && CPU_CP15_MMU
1124 help
1125 This option enables a simple heuristic which tries to determine
1126 the motherboard's memory map variant (original or RS1) and then
1127 choose the relevant UART0 base address.
1128
1129 Note that this will only work with standard A-class core tiles,
1130 and may fail with non-standard SMM or custom software models.
1131
1132 config DEBUG_VEXPRESS_UART0_CA9
1133 bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
1134 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001135 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001136 help
1137 This option selects UART0 at 0x10009000. Except for custom models,
1138 this applies only to the V2P-CA9 tile.
1139
1140 config DEBUG_VEXPRESS_UART0_RS1
1141 bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
1142 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001143 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001144 help
1145 This option selects UART0 at 0x1c090000. This applies to most
1146 of the tiles using the RS1 memory map, including all new A-class
1147 core tiles, FPGA-based SMMs and software models.
1148
Jonathan Austined18bdc2012-08-30 13:46:44 +01001149 config DEBUG_VEXPRESS_UART0_CRX
1150 bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
1151 depends on ARCH_VEXPRESS && !MMU
Russell King5c972af2013-07-07 12:32:16 +01001152 select DEBUG_UART_PL01X
Jonathan Austined18bdc2012-08-30 13:46:44 +01001153 help
1154 This option selects UART0 at 0xb0090000. This is appropriate for
1155 Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
1156
Tony Priskb61a2722012-12-28 12:09:18 +13001157 config DEBUG_VT8500_UART0
1158 bool "Use UART0 on VIA/Wondermedia SoCs"
1159 depends on ARCH_VT8500
1160 help
1161 This option selects UART0 on VIA/Wondermedia System-on-a-chip
1162 devices, including VT8500, WM8505, WM8650 and WM8850.
1163
Russell Kinge76f4752011-11-23 17:44:05 +00001164 config DEBUG_ICEDCC
1165 bool "Kernel low-level debugging via EmbeddedICE DCC channel"
1166 help
1167 Say Y here if you want the debug print routines to direct
1168 their output to the EmbeddedICE macrocell's DCC channel using
1169 co-processor 14. This is known to work on the ARM9 style ICE
1170 channel and on the XScale with the PEEDI.
1171
1172 Note that the system will appear to hang during boot if there
1173 is nothing connected to read from the DCC.
1174
Russell Kingb0df8982012-03-27 11:30:31 +01001175 config DEBUG_SEMIHOSTING
Stephen Boyd62194bd2012-09-06 21:24:32 +01001176 bool "Kernel low-level debug output via semihosting I/O"
Russell Kingb0df8982012-03-27 11:30:31 +01001177 help
1178 Semihosting enables code running on an ARM target to use
1179 the I/O facilities on a host debugger/emulator through a
Stephen Boyd62194bd2012-09-06 21:24:32 +01001180 simple SVC call. The host debugger or emulator must have
Russell Kingb0df8982012-03-27 11:30:31 +01001181 semihosting enabled for the special svc call to be trapped
1182 otherwise the kernel will crash.
1183
Stephen Boyd62194bd2012-09-06 21:24:32 +01001184 This is known to work with OpenOCD, as well as
Russell Kingb0df8982012-03-27 11:30:31 +01001185 ARM's Fast Models, or any other controlling environment
1186 that implements semihosting.
1187
1188 For more details about semihosting, please see
1189 chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
1190
Jun Nie58d03982015-04-28 17:18:07 +08001191 config DEBUG_ZTE_ZX
1192 bool "Use ZTE ZX UART"
1193 select DEBUG_UART_PL01X
1194 depends on ARCH_ZX
1195 help
1196 Say Y here if you are enabling ZTE ZX296702 SOC and need
1197 debug uart support.
1198
1199 This option is preferred over the platform specific
1200 options; the platform specific options are deprecated
1201 and will be soon removed.
1202
Russell Kingf8f12792013-07-07 15:29:38 +01001203 config DEBUG_LL_UART_8250
1204 bool "Kernel low-level debugging via 8250 UART"
1205 help
1206 Say Y here if you wish the debug print routes to direct
1207 their output to an 8250 UART. You can use this option
1208 to provide the parameters for the 8250 UART rather than
1209 selecting one of the platform specific options above if
1210 you know the parameters for the port.
1211
1212 This option is preferred over the platform specific
1213 options; the platform specific options are deprecated
1214 and will be soon removed.
1215
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001216 config DEBUG_LL_UART_EFM32
1217 bool "Kernel low-level debugging via efm32 UART"
1218 depends on ARCH_EFM32
1219 help
1220 Say Y here if you want the debug print routines to direct
1221 their output to an UART or USART port on efm32 based
1222 machines. Use the following addresses for DEBUG_UART_PHYS:
1223
1224 0x4000c000 | USART0
1225 0x4000c400 | USART1
1226 0x4000c800 | USART2
1227 0x4000e000 | UART0
1228 0x4000e400 | UART1
1229
Russell Kingf8f12792013-07-07 15:29:38 +01001230 config DEBUG_LL_UART_PL01X
1231 bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
1232 help
1233 Say Y here if you wish the debug print routes to direct
1234 their output to a PL01x Primecell UART. You can use
1235 this option to provide the parameters for the UART
1236 rather than selecting one of the platform specific
1237 options above if you know the parameters for the port.
1238
1239 This option is preferred over the platform specific
1240 options; the platform specific options are deprecated
1241 and will be soon removed.
1242
Linus Torvalds1da177e2005-04-16 15:20:36 -07001243endchoice
1244
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +01001245config DEBUG_AT91_UART
1246 bool
1247 depends on ARCH_AT91
1248
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001249config DEBUG_EXYNOS_UART
1250 bool
1251
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001252config DEBUG_S3C2410_UART
1253 bool
Heiko Stuebner1899de22014-05-16 06:59:18 +09001254 select DEBUG_S3C24XX_UART
1255
1256config DEBUG_S3C24XX_UART
1257 bool
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001258
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001259config DEBUG_S5PV210_UART
1260 bool
1261
Russell Kingcce278d2013-07-06 14:23:30 +01001262config DEBUG_OMAP2PLUS_UART
1263 bool
1264 depends on ARCH_OMAP2PLUS
1265
Shawn Guof8c95fe2012-12-12 19:03:53 +08001266config DEBUG_IMX_UART_PORT
1267 int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
1268 DEBUG_IMX25_UART || \
1269 DEBUG_IMX21_IMX27_UART || \
1270 DEBUG_IMX31_UART || \
1271 DEBUG_IMX35_UART || \
Greg Ungererad364a72013-10-29 15:15:51 +10001272 DEBUG_IMX50_UART || \
Shawn Guof8c95fe2012-12-12 19:03:53 +08001273 DEBUG_IMX51_UART || \
Paul Bolle0c52db72013-03-11 14:16:00 +01001274 DEBUG_IMX53_UART || \
Shawn Guo34e8a162013-05-03 11:21:03 +08001275 DEBUG_IMX6Q_UART || \
Shawn Guo74368e82014-05-11 21:53:48 +08001276 DEBUG_IMX6SL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001277 DEBUG_IMX6SX_UART || \
1278 DEBUG_IMX7D_UART
Shawn Guo49c9e602012-10-08 13:44:29 +08001279 default 1
Shawn Guo287939a2013-03-13 10:52:49 +08001280 depends on ARCH_MXC
Shawn Guo49c9e602012-10-08 13:44:29 +08001281 help
1282 Choose UART port on which kernel low-level debug messages
1283 should be output.
1284
Stefan Agnercfdb7d52014-03-05 23:07:48 +01001285config DEBUG_VF_UART_PORT
1286 int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
1287 default 1
1288 range 0 3
1289 depends on SOC_VF610
1290 help
1291 Choose UART port on which kernel low-level debug messages
1292 should be output.
1293
Russell Kingcce278d2013-07-06 14:23:30 +01001294config DEBUG_TEGRA_UART
1295 bool
1296 depends on ARCH_TEGRA
Tony Lindgren808b7e02013-01-11 11:24:19 -08001297
Russell Kingcce278d2013-07-06 14:23:30 +01001298config DEBUG_STI_UART
1299 bool
1300 depends on ARCH_STI
Srinivas Kandagatla5026aec2013-06-25 12:15:32 +01001301
Guo Zeng01ea63d2015-01-04 17:40:54 +08001302config DEBUG_SIRFSOC_UART
1303 bool
1304 depends on ARCH_SIRF
1305
Rob Herring91a9fec2012-08-31 00:03:46 -05001306config DEBUG_LL_INCLUDE
1307 string
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +03001308 default "debug/sa1100.S" if DEBUG_SA1100
Russell Kingf8f12792013-07-07 15:29:38 +01001309 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +01001310 default "debug/at91.S" if DEBUG_AT91_UART
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001311 default "debug/asm9260.S" if DEBUG_ASM9260_UART
Alexander Shiyandd99eef2014-06-19 19:26:34 +04001312 default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
Carlo Caioned8a00912014-09-09 21:38:00 +02001313 default "debug/meson.S" if DEBUG_MESON_UARTAO
Russell Kingf8f12792013-07-07 15:29:38 +01001314 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001315 default "debug/exynos.S" if DEBUG_EXYNOS_UART
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001316 default "debug/efm32.S" if DEBUG_LL_UART_EFM32
Rob Herring91a9fec2012-08-31 00:03:46 -05001317 default "debug/icedcc.S" if DEBUG_ICEDCC
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001318 default "debug/imx.S" if DEBUG_IMX1_UART || \
1319 DEBUG_IMX25_UART || \
1320 DEBUG_IMX21_IMX27_UART || \
Shawn Guo4ad625d2012-12-12 18:54:01 +08001321 DEBUG_IMX31_UART || \
1322 DEBUG_IMX35_UART || \
Greg Ungererad364a72013-10-29 15:15:51 +10001323 DEBUG_IMX50_UART || \
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001324 DEBUG_IMX51_UART || \
Fabio Estevam7356420c2013-01-22 10:40:55 -02001325 DEBUG_IMX53_UART ||\
Shawn Guo34e8a162013-05-03 11:21:03 +08001326 DEBUG_IMX6Q_UART || \
Shawn Guo74368e82014-05-11 21:53:48 +08001327 DEBUG_IMX6SL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001328 DEBUG_IMX6SX_UART || \
1329 DEBUG_IMX7D_UART
Daniel Thompsonabbfb212015-01-09 18:33:36 +01001330 default "debug/ks8695.S" if DEBUG_KS8695_UART
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001331 default "debug/msm.S" if DEBUG_QCOM_UARTDM
Daniel Thompson4d31e662015-01-09 18:34:03 +01001332 default "debug/netx.S" if DEBUG_NETX_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -08001333 default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001334 default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
1335 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
1336 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
1337 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
1338 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
1339 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
1340 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
1341 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
Heiko Stuebner2cd62bd2014-05-16 06:59:18 +09001342 default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001343 default "debug/s5pv210.S" if DEBUG_S5PV210_UART
Guo Zeng01ea63d2015-01-04 17:40:54 +08001344 default "debug/sirf.S" if DEBUG_SIRFSOC_UART
Srinivas Kandagatla5026aec2013-06-25 12:15:32 +01001345 default "debug/sti.S" if DEBUG_STI_UART
Linus Torvalds150a8dc2013-05-04 12:34:30 -07001346 default "debug/tegra.S" if DEBUG_TEGRA_UART
1347 default "debug/ux500.S" if DEBUG_UX500_UART
Russell King4e218b92013-07-07 12:36:46 +01001348 default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
Shawn Guoc7c3eac2013-05-12 17:22:17 +08001349 default "debug/vf.S" if DEBUG_VF_UART
Tony Priskb61a2722012-12-28 12:09:18 +13001350 default "debug/vt8500.S" if DEBUG_VT8500_UART0
Josh Cartwright385f02b2012-11-19 10:16:01 -06001351 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
Florian Fainellib51312b2014-01-08 09:19:50 -08001352 default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX
Baruch Siache23814d2015-01-14 10:40:31 +02001353 default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
Rob Herring91a9fec2012-08-31 00:03:46 -05001354 default "mach/debug-macro.S"
1355
Russell Kingf8f12792013-07-07 15:29:38 +01001356# Compatibility options for PL01x
Russell King5c972af2013-07-07 12:32:16 +01001357config DEBUG_UART_PL01X
Daniel Thompsona61cbf52015-01-09 18:34:22 +01001358 bool
Russell King5c972af2013-07-07 12:32:16 +01001359
Russell Kingf8f12792013-07-07 15:29:38 +01001360# Compatibility options for 8250
Russell King7610b602013-07-06 22:59:10 +01001361config DEBUG_UART_8250
Russell King4a0036472013-07-06 23:13:15 +01001362 def_bool ARCH_DOVE || ARCH_EBSA110 || \
1363 (FOOTBRIDGE && !DEBUG_DC21285_PORT) || \
1364 ARCH_GEMINI || ARCH_IOP13XX || ARCH_IOP32X || \
Andrew Lunnba364fc2014-07-10 23:36:21 +02001365 ARCH_IOP33X || ARCH_IXP4XX || \
Russell King4a0036472013-07-06 23:13:15 +01001366 ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
1367
Florian Fainellib51312b2014-01-08 09:19:50 -08001368# Compatibility options for BCM63xx
1369config DEBUG_UART_BCM63XX
1370 def_bool ARCH_BCM_63XX
1371
Russell Kingc3faa9b2013-07-07 00:01:39 +01001372config DEBUG_UART_PHYS
1373 hex "Physical base address of debug UART"
Daniel Thompson4d31e662015-01-09 18:34:03 +01001374 default 0x00100a00 if DEBUG_NETX_UART
Russell King97bd1a42013-07-07 16:18:34 +01001375 default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001376 default 0x01c28000 if DEBUG_SUNXI_UART0
1377 default 0x01c28400 if DEBUG_SUNXI_UART1
Russell King97bd1a42013-07-07 16:18:34 +01001378 default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
1379 default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001380 default 0x01f02800 if DEBUG_SUNXI_R_UART
Russell Kingf2acf002013-07-07 16:05:49 +01001381 default 0x02530c00 if DEBUG_KEYSTONE_UART0
1382 default 0x02531000 if DEBUG_KEYSTONE_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001383 default 0x03010fe0 if ARCH_RPC
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001384 default 0x07000000 if DEBUG_SUN9I_UART0
Jun Nie58d03982015-04-28 17:18:07 +08001385 default 0x09405000 if DEBUG_ZTE_ZX
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001386 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
Russell King5c972af2013-07-07 12:32:16 +01001387 DEBUG_VEXPRESS_UART0_CA9
1388 default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
Russell Kingc3faa9b2013-07-07 00:01:39 +01001389 default 0x10124000 if DEBUG_RK3X_UART0
1390 default 0x10126000 if DEBUG_RK3X_UART1
Russell King5c972af2013-07-07 12:32:16 +01001391 default 0x101f1000 if ARCH_VERSATILE
1392 default 0x101fb000 if DEBUG_NOMADIK_UART
Joe.C65ec48c2014-11-04 15:30:54 +08001393 default 0x11002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001394 default 0x11006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001395 default 0x11009000 if DEBUG_MT8135_UART3
Russell King5c972af2013-07-07 12:32:16 +01001396 default 0x16000000 if ARCH_INTEGRATOR
Hauke Mehrtens06580272014-02-04 00:01:44 +01001397 default 0x18000300 if DEBUG_BCM_5301X
Guo Zeng01ea63d2015-01-04 17:40:54 +08001398 default 0x18010000 if DEBUG_SIRFATLAS7_UART0
1399 default 0x18020000 if DEBUG_SIRFATLAS7_UART1
Russell King5c972af2013-07-07 12:32:16 +01001400 default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
Wang Long27dafaa2014-12-24 03:09:56 +00001401 default 0x20001000 if DEBUG_HIP01_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001402 default 0x20060000 if DEBUG_RK29_UART0
1403 default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1404 default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Russell King5c972af2013-07-07 12:32:16 +01001405 default 0x20201000 if DEBUG_BCM2835
Christian Daudt753d1242013-12-23 09:00:01 +01001406 default 0x3e000000 if DEBUG_BCM_KONA_UART
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001407 default 0x4000e400 if DEBUG_LL_UART_EFM32
Joachim Eastwood0aed6a32015-05-19 20:55:03 +02001408 default 0x40081000 if DEBUG_LPC18XX_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001409 default 0x40090000 if ARCH_LPC32XX
1410 default 0x40100000 if DEBUG_PXA_UART1
1411 default 0x42000000 if ARCH_GEMINI
Heiko Stuebner1899de22014-05-16 06:59:18 +09001412 default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1413 DEBUG_S3C2410_UART0)
1414 default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1415 DEBUG_S3C2410_UART1)
1416 default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1417 DEBUG_S3C2410_UART2)
Krzysztof Hałasac3ca2132014-09-29 08:32:08 +02001418 default 0x78000000 if DEBUG_CNS3XXX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001419 default 0x7c0003f8 if FOOTBRIDGE
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001420 default 0x80010000 if DEBUG_ASM9260_UART
Russell King5c972af2013-07-07 12:32:16 +01001421 default 0x80070000 if DEBUG_IMX23_UART
1422 default 0x80074000 if DEBUG_IMX28_UART
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001423 default 0x80230000 if DEBUG_PICOXCELL_UART
Russell King5c972af2013-07-07 12:32:16 +01001424 default 0x808c0000 if ARCH_EP93XX
1425 default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
Guo Zeng01ea63d2015-01-04 17:40:54 +08001426 default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1
Russell King5c972af2013-07-07 12:32:16 +01001427 default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
1428 default 0xc0013000 if DEBUG_U300_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001429 default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1430 default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Russell King0dc0e472013-07-07 16:38:18 +01001431 default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
Maxime Ripardd91125d2015-01-08 18:38:03 +01001432 default 0xd0012000 if DEBUG_MVEBU_UART0
Carlo Caioned8a00912014-09-09 21:38:00 +02001433 default 0xc81004c0 if DEBUG_MESON_UARTAO
Russell Kingc3faa9b2013-07-07 00:01:39 +01001434 default 0xd4017000 if DEBUG_MMP_UART2
1435 default 0xd4018000 if DEBUG_MMP_UART3
Russell King0dc0e472013-07-07 16:38:18 +01001436 default 0xe0000000 if ARCH_SPEAR13XX
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001437 default 0xe4007000 if DEBUG_HIP04_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001438 default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
1439 default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
1440 default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
1441 default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
1442 default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
1443 default 0xe8008000 if DEBUG_R7S72100_SCIF2
Russell Kingc3faa9b2013-07-07 00:01:39 +01001444 default 0xf0000be0 if ARCH_EBSA110
Marc Carino81b43a62014-08-13 15:50:02 -07001445 default 0xf040ab00 if DEBUG_BRCMSTB_UART
Maxime Ripardd91125d2015-01-08 18:38:03 +01001446 default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001447 default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
Andrew Lunnba364fc2014-07-10 23:36:21 +02001448 default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \
Russell Kingc3faa9b2013-07-07 00:01:39 +01001449 ARCH_ORION5X
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001450 default 0xf7fc9000 if DEBUG_BERLIN_UART
Haifeng Yan12aae302014-04-11 11:40:58 +08001451 default 0xf8b00000 if DEBUG_HIX5HD2_UART
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001452 default 0xf991e000 if DEBUG_QCOM_UARTDM
Haojian Zhuang8d258be2013-08-24 06:58:39 +01001453 default 0xfcb00000 if DEBUG_HI3620_UART
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001454 default 0xfd883000 if DEBUG_ALPINE_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001455 default 0xfe800000 if ARCH_IOP32X
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001456 default 0xff690000 if DEBUG_RK32_UART2
Dinh Nguyende73c162015-03-09 15:48:31 -05001457 default 0xffc02000 if DEBUG_SOCFPGA_UART0
1458 default 0xffc02100 if DEBUG_SOCFPGA_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001459 default 0xffd82340 if ARCH_IOP13XX
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001460 default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
1461 default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
Russell King5c972af2013-07-07 12:32:16 +01001462 default 0xfff36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001463 default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1464 default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1465 default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Florian Fainellib51312b2014-01-08 09:19:50 -08001466 default 0xfffe8600 if DEBUG_UART_BCM63XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001467 default 0xfffff700 if ARCH_IOP33X
Daniel Thompsond02fde72015-01-09 18:34:12 +01001468 depends on ARCH_EP93XX || \
1469 DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001470 DEBUG_LL_UART_EFM32 || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001471 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001472 DEBUG_NETX_UART || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001473 DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001474 DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
1475 DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \
1476 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
1477 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
Guo Zeng01ea63d2015-01-04 17:40:54 +08001478 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \
Baruch Siache23814d2015-01-14 10:40:31 +02001479 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001480
1481config DEBUG_UART_VIRT
1482 hex "Virtual base address of debug UART"
Daniel Thompson4d31e662015-01-09 18:34:03 +01001483 default 0xe0000a00 if DEBUG_NETX_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001484 default 0xe0010fe0 if ARCH_RPC
1485 default 0xf0000be0 if ARCH_EBSA110
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001486 default 0xf0010000 if DEBUG_ASM9260_UART
Russell King5c972af2013-07-07 12:32:16 +01001487 default 0xf01fb000 if DEBUG_NOMADIK_UART
1488 default 0xf0201000 if DEBUG_BCM2835
Hauke Mehrtens06580272014-02-04 00:01:44 +01001489 default 0xf1000300 if DEBUG_BCM_5301X
Joe.C65ec48c2014-11-04 15:30:54 +08001490 default 0xf1002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001491 default 0xf1006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001492 default 0xf1009000 if DEBUG_MT8135_UART3
Russell King5c972af2013-07-07 12:32:16 +01001493 default 0xf11f1000 if ARCH_VERSATILE
1494 default 0xf1600000 if ARCH_INTEGRATOR
Russell Kingc3faa9b2013-07-07 00:01:39 +01001495 default 0xf1c28000 if DEBUG_SUNXI_UART0
1496 default 0xf1c28400 if DEBUG_SUNXI_UART1
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001497 default 0xf1f02800 if DEBUG_SUNXI_R_UART
Robert Jarzmikcde7fc82014-10-07 21:18:14 +02001498 default 0xf6200000 if DEBUG_PXA_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001499 default 0xf4090000 if ARCH_LPC32XX
1500 default 0xf4200000 if ARCH_GEMINI
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001501 default 0xf7000000 if DEBUG_SUN9I_UART0
Heiko Stuebner1899de22014-05-16 06:59:18 +09001502 default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1503 DEBUG_S3C2410_UART0)
1504 default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1505 DEBUG_S3C2410_UART1)
1506 default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1507 DEBUG_S3C2410_UART2)
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001508 default 0xf7fc9000 if DEBUG_BERLIN_UART
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001509 default 0xf8007000 if DEBUG_HIP04_UART
Russell King5c972af2013-07-07 12:32:16 +01001510 default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
1511 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001512 default 0xfa71e000 if DEBUG_QCOM_UARTDM
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001513 default 0xfb002000 if DEBUG_CNS3XXX
Russell King5c972af2013-07-07 12:32:16 +01001514 default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
1515 default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
Marc Carino81b43a62014-08-13 15:50:02 -07001516 default 0xfc40ab00 if DEBUG_BRCMSTB_UART
Jun Nie58d03982015-04-28 17:18:07 +08001517 default 0xfc705000 if DEBUG_ZTE_ZX
Florian Fainellib51312b2014-01-08 09:19:50 -08001518 default 0xfcfe8600 if DEBUG_UART_BCM63XX
Russell King0dc0e472013-07-07 16:38:18 +01001519 default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
1520 default 0xfd000000 if ARCH_SPEAR13XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001521 default 0xfd012000 if ARCH_MV78XX0
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001522 default 0xfd883000 if DEBUG_ALPINE_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001523 default 0xfde12000 if ARCH_DOVE
1524 default 0xfe012000 if ARCH_ORION5X
Carlo Caioned8a00912014-09-09 21:38:00 +02001525 default 0xf31004c0 if DEBUG_MESON_UARTAO
Russell Kingc3faa9b2013-07-07 00:01:39 +01001526 default 0xfe017000 if DEBUG_MMP_UART2
1527 default 0xfe018000 if DEBUG_MMP_UART3
Russell King5c972af2013-07-07 12:32:16 +01001528 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
Russell King0b4cccb2013-07-07 11:42:46 +01001529 default 0xfe230000 if DEBUG_PICOXCELL_UART
Christian Daudt753d1242013-12-23 09:00:01 +01001530 default 0xfe300000 if DEBUG_BCM_KONA_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001531 default 0xfe800000 if ARCH_IOP32X
Haifeng Yan12aae302014-04-11 11:40:58 +08001532 default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001533 default 0xfeb24000 if DEBUG_RK3X_UART0
1534 default 0xfeb26000 if DEBUG_RK3X_UART1
Russell Kingf2acf002013-07-07 16:05:49 +01001535 default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1536 default 0xfeb31000 if DEBUG_KEYSTONE_UART1
Dinh Nguyende73c162015-03-09 15:48:31 -05001537 default 0xfec02000 if DEBUG_SOCFPGA_UART0
1538 default 0xfec02100 if DEBUG_SOCFPGA_UART1
Maxime Ripardd91125d2015-01-08 18:38:03 +01001539 default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001540 default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
Guo Zeng01ea63d2015-01-04 17:40:54 +08001541 default 0xfec10000 if DEBUG_SIRFATLAS7_UART0
Russell King97bd1a42013-07-07 16:18:34 +01001542 default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
Guo Zeng01ea63d2015-01-04 17:40:54 +08001543 default 0xfec20000 if DEBUG_SIRFATLAS7_UART1
1544 default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001545 default 0xfec90000 if DEBUG_RK32_UART2
Russell King97bd1a42013-07-07 16:18:34 +01001546 default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
1547 default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001548 default 0xfed60000 if DEBUG_RK29_UART0
1549 default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1550 default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Russell King5c972af2013-07-07 12:32:16 +01001551 default 0xfedc0000 if ARCH_EP93XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001552 default 0xfee003f8 if FOOTBRIDGE
Russell King5c972af2013-07-07 12:32:16 +01001553 default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001554 default 0xfee82340 if ARCH_IOP13XX
1555 default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1556 default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001557 default 0xfef36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001558 default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1559 default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1560 default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Russell Kingc3faa9b2013-07-07 00:01:39 +01001561 default 0xfefff700 if ARCH_IOP33X
Russell King5c972af2013-07-07 12:32:16 +01001562 default 0xff003000 if DEBUG_U300_UART
Wang Long27dafaa2014-12-24 03:09:56 +00001563 default 0xffd01000 if DEBUG_HIP01_UART
Russell King5c972af2013-07-07 12:32:16 +01001564 default DEBUG_UART_PHYS if !MMU
Russell Kingf8f12792013-07-07 15:29:38 +01001565 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001566 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001567 DEBUG_NETX_UART || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001568 DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
Baruch Siache23814d2015-01-14 10:40:31 +02001569 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \
1570 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001571
Russell King4a0036472013-07-06 23:13:15 +01001572config DEBUG_UART_8250_SHIFT
1573 int "Register offset shift for the 8250 debug UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001574 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001575 default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X || \
1576 DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3
Russell King4a0036472013-07-06 23:13:15 +01001577 default 2
Russell King7610b602013-07-06 22:59:10 +01001578
Russell King0b4cccb2013-07-07 11:42:46 +01001579config DEBUG_UART_8250_WORD
1580 bool "Use 32-bit accesses for 8250 UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001581 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Russell King0b4cccb2013-07-07 11:42:46 +01001582 depends on DEBUG_UART_8250_SHIFT >= 2
Dinh Nguyende73c162015-03-09 15:48:31 -05001583 default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART0 || \
1584 DEBUG_SOCFPGA_UART1 || ARCH_KEYSTONE || \
1585 DEBUG_ALPINE_UART0 || \
Russell King97bd1a42013-07-07 16:18:34 +01001586 DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
Arnd Bergmann9d6eccb2014-02-12 22:22:00 +01001587 DEBUG_DAVINCI_DA8XX_UART2 || \
Marc Carino81b43a62014-08-13 15:50:02 -07001588 DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
1589 DEBUG_BRCMSTB_UART
Russell King0b4cccb2013-07-07 11:42:46 +01001590
Russell King7610b602013-07-06 22:59:10 +01001591config DEBUG_UART_8250_FLOW_CONTROL
1592 bool "Enable flow control for 8250 UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001593 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Russell King7610b602013-07-06 22:59:10 +01001594 default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_GEMINI || ARCH_RPC
1595
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001596config DEBUG_UNCOMPRESS
1597 bool
Stefan Agner9c77bc42015-05-20 00:03:51 +02001598 depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
Russell Kingb6992fa2013-07-17 17:54:27 +01001599 default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
Stephen Warrenae3c99a2013-08-02 20:53:37 +01001600 (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
Russell Kingb6992fa2013-07-17 17:54:27 +01001601 help
1602 This option influences the normal decompressor output for
1603 multiplatform kernels. Normally, multiplatform kernels disable
1604 decompressor output because it is not possible to know where to
1605 send the decompressor output.
1606
1607 When this option is set, the selected DEBUG_LL output method
1608 will be re-used for normal decompressor output on multiplatform
1609 kernels.
1610
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001611
Shawn Guo615967b2013-03-14 08:47:27 +01001612config UNCOMPRESS_INCLUDE
1613 string
Sachin Kamatffd80ec2014-02-24 09:38:12 +09001614 default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
Stefan Agner499f1642015-05-21 00:35:44 +02001615 PLAT_SAMSUNG || ARM_SINGLE_ARMV7M || \
Magnus Dammbb048832015-01-20 20:58:20 +09001616 ARCH_SHMOBILE_LEGACY
Shawn Guo615967b2013-03-14 08:47:27 +01001617 default "mach/uncompress.h"
1618
Linus Torvalds1da177e2005-04-16 15:20:36 -07001619config EARLY_PRINTK
1620 bool "Early printk"
1621 depends on DEBUG_LL
1622 help
1623 Say Y here if you want to have an early console using the
1624 kernel low-level debugging functions. Add earlyprintk to your
1625 kernel parameters to enable this console.
1626
Linus Torvalds1da177e2005-04-16 15:20:36 -07001627config ARM_KPROBES_TEST
1628 tristate "Kprobes test module"
1629 depends on KPROBES && MODULES
1630 help
1631 Perform tests of kprobes API and instruction set simulation.
1632
Will Deacon575320d2012-07-06 15:43:03 +01001633config PID_IN_CONTEXTIDR
1634 bool "Write the current PID to the CONTEXTIDR register"
1635 depends on CPU_COPY_V6
1636 help
1637 Enabling this option causes the kernel to write the current PID to
1638 the PROCID field of the CONTEXTIDR register, at the expense of some
1639 additional instructions during context switch. Say Y here only if you
1640 are planning to use hardware trace tools with this kernel.
1641
Laura Abbottdca9aa92013-06-17 10:29:14 -07001642config DEBUG_SET_MODULE_RONX
1643 bool "Set loadable kernel module data as NX and text as RO"
Russell Kinge6ae32c2015-06-25 10:34:38 +01001644 depends on MODULES && MMU
Laura Abbottdca9aa92013-06-17 10:29:14 -07001645 ---help---
1646 This option helps catch unintended modifications to loadable
1647 kernel module's text and read-only data. It also prevents execution
1648 of module data. Such protection may interfere with run-time code
1649 patching and dynamic kernel tracing - and they might also protect
1650 against certain classes of kernel exploits.
1651 If in doubt, say "N".
1652
Mathieu Poirier01081f52015-03-30 14:13:41 -06001653source "drivers/hwtracing/coresight/Kconfig"
Pratik Patelbc4bf7f2014-11-03 11:07:36 -07001654
Linus Torvalds1da177e2005-04-16 15:20:36 -07001655endmenu